1 sayfadan 1. sayfa

[FIX] FireFox/Netscape browserları için Kullanıcı Adı ve Şifre

İletiTarih: 23.05.2006, 09:57
Pluton
Kod: Tümünü seç
##############################################################
## MOD Title: Fix username and password for FireFox/Netscape browser
## MOD Author: RedFoxy < redfoxy@redfoxy.it > (Massimo Ciccio') http://www.redfoxy.it/
## MOD Description: That mod fix an annoy function of FireFox and NetScape compatible browser.
##          When you go to edit a user profile, the username and the password in the form are
##          changend on your username and password saved in browser cache.
##          with that mod you can fix that.
##
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 1 Minute
## Files To Edit:
##      templates/subSilver/admin/user_edit_body.tpl
##
## Included Files:
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## This MOD has been tested on phpBB 2.0.20, Categories Hierarchy v 2.1.4 and easyMod 0.3.0,
## but I think that is compatible with all phpBB 2.0.x version.
##
## Future versions can be found at http://www.redfoxy.it
## I've set up a support forum for my mods at http://www.forum.redfoxy.com (it's an italian
## forum but you can post in english without problems in Web & Co and in to Web & Co/phpBB forum.)
##
## DON'T REMOVE the comments that you found in that mod!
## That comments are essential for Foxy Fix (auto-Fix of mod installed) and Foxy Update (auto-update of mod).
##
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
## Copyright:      (C) 2005 Admin Control Pannel Foxy Menu 1.0.1 - RedFoxy
##
##############################################################
## MOD History:
##
##   2006-05-21
##      - First release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<h1>{L_USER_TITLE}</h1>
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
<SCRIPT language="JavaScript">
<!--
//-- mod : Fix username and password v1.0.0 - 05x100 ----------------------------------------------
//-- add
function fix_fields()
{
        var uid_fix;
        var pwd_fix;

        document.getElementById('user_form').username.value = "{USERNAME}";
        document.getElementById('user_form').password.value = "";

        uid_fix = document.getElementById('user_form').username_fix.value;
        pwd_fix = document.getElementById('user_form').password_fix.value;

        if(uid_fix != "{USERNAME}")
        {
                document.getElementById('user_form').username.value = uid_fix;
        }

        if(pwd_fix != '')
        {
                document.getElementById('user_form').password.value = pwd_fix;
        }
}
//-- fin mod : Fix username and password v1.0.0 - 05x100 ------------------------------------------
-->
</SCRIPT>
#
#-----[ FIND ]------------------------------------------------
#
<form
#
#-----[ IN-LINE FIND ]--------------------------------------------------
#
<form
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------------
#
id="user_form"
#
#-----[ FIND ]------------------------------------------------
#
type="text" name="username"
#
#-----[ IN-LINE FIND ]--------------------------------------------------
#
name="username
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------------
#
_fix
#
#-----[ FIND ]------------------------------------------------
#
type="password" name="password"
#
#-----[ IN-LINE FIND ]--------------------------------------------------
#
name="password
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------------
#
_fix
#
#-----[ FIND ]------------------------------------------------
#
{S_HIDDEN_FIELDS}
#
#-----[ AFTER, ADD ]-----------------------------------------
#
      <input type="hidden" name="username" value="{USERNAME}" />
      <input type="hidden" name="password" value="" />
#
#-----[ FIND ]------------------------------------------------
#
<input type="submit"
#
#-----[ IN-LINE FIND ]--------------------------------------------------
#
type="submit"
#
#-----[ IN-LINE AFTER, ADD ]--------------------------------------------
#
onclick="fix_fields();"
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------------------
#
# EoM

Cvp: [FIX] FireFox/Netscape browserları için Kullanıcı Adı ve Şifre

İletiTarih: 23.05.2006, 12:45
sabri ünal
JS ile ilgisi olmayan bir başka versiyonu da şöyledir.

Kod: Tümünü seç
##############################################################
## MOD Title: Fix For The Firefox "Remember Passwords" Problem
## MOD Author: T0ny < N/A > (Tony Smith) N/A
## MOD Description: Fix for firefox's Remember Passwords feature
## overwriting username and password on the
## 'User Administration' page
## MOD Version: 1.2.1
##
## Installation Level: Easy
## Installation Time: ~5 Minutes
## Files To Edit: 4
## admin/admin_ug_auth.php
## admin/admin_users.php
## templates/subSilver/admin/user_edit_body.tpl
## templates/subSilver/search_username.tpl
## Included Files: N/A
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Tested with phpbb v2.0.19 , Firefox 1.5.0.1 , IE 6.0SP2 / 2.0.20 üstünde test ettim.
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ AÇ ]------------------------------------------------
#

admin/admin_users.php

#
#-----[ BUL ]------------------------------------------------
#

require('./pagestart.' . $phpEx);

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

if ( ( isset($HTTP_POST_VARS['user_name']) ) & ( !isset($HTTP_POST_VARS['username']) ) )
{
   $HTTP_POST_VARS['username'] = $HTTP_POST_VARS['user_name'];
}

#
#-----[ AÇ ]------------------------------------------------
#

admin/admin_ug_auth.php

#
#-----[ BUL ]------------------------------------------------
#

require('./pagestart.' . $phpEx);

#
#-----[ SONRASINA EKLE ]------------------------------------------
#

if ( ( isset($HTTP_POST_VARS['user_name']) ) & ( !isset($HTTP_POST_VARS['username']) ) )
{
   $HTTP_POST_VARS['username'] = $HTTP_POST_VARS['user_name'];
}

#
#-----[ AÇ ]------------------------------------------------
#

templates/subSilver/admin/user_edit_body.tpl

#
#-----[ BUL ]------------------------------------------------
#

name="username"

#
#-----[ SATIR İÇİNDE BUL ]----------------------------------------
#

name="username"

#
#-----[ BUNUNLA DEĞİŞTİR]--------------------------------
#

name="user_name"

#
#-----[ AÇ ]------------------------------------------------
#

templates/subSilver/search_username.tpl

#
#-----[ BUL ]------------------------------------------------
#

   opener.document.forms['post'].username.value = selected_username;

#
#-----[ BUNUNLA DEĞİŞTİR ]----------------------------------------
#

   if (opener.document.forms['post'].user_name)
   {
      opener.document.forms['post'].user_name.value = selected_username;
   }
   else
   {
      opener.document.forms['post'].username.value = selected_username;
   }

#
#-----[ KAYDET - KAPAT ]--------------------------------
#
# EoM

İletiTarih: 23.05.2006, 13:13
yaso19
valla ben firefox kullanıyorum hiçbi sorunum olmuyor. galiba bunlar hatırlama konusuyla ilgili ing. fazla ii olmadığı için anlayamadım. ben şuan firefox ile hiçbi sorun yaşamıyorum, bunu yapmam gerekiyomu??

İletiTarih: 23.05.2006, 17:50
madozan
ne ki bu annayamadım ?

İletiTarih: 23.05.2006, 19:02
Pluton
admin panelden kullanıcı şifresini değiştirdiğinzde Değişmiyodu firefox ve betscape'de ben öyle anladım FIX oldugu için koydum zaten

İletiTarih: 23.05.2006, 21:37
ALEXIS
eğer giriş yaparken FF nin bhatırlama seçeneği onaylarsanız, yönetimdeki kullanıcı bilgileri değiştirme sayfasına sizin ad ve şifre otomatik yazılıyordu, name="" ile ilgili.

Cvp: [FIX] FireFox/Netscape browserları için Kullanıcı Adı ve Şifre

İletiTarih: 23.05.2006, 21:40
sabri ünal
ikinci verilen mod da yine FF için beni hatırla özelliğiyle ilgili bir fix.

İletiTarih: 29.05.2006, 17:43
HiLmi
Önemli bir Fix

-Add my Bookmark-

İletiTarih: 29.05.2006, 20:42
RaMSeN
Teşekkürler...

İletiTarih: 08.06.2006, 01:14
ALEXIS
hızlı bir çözüm olarak:

user_edit_body.tpl 'de değişiklik yapın

Kod: Tümünü seç
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" autocomplete="off">

İletiTarih: 08.06.2006, 18:47
Napster
Sorun vardı valla yaptım sorun kalmadı.Teşekkürler.