Mot de passe impossible à changer

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Mot de passe impossible à changer

Message par -Méphisto- le Mar 30 Oct 2012 - 15:27

Je reçois sans arrêt des mp de membres me demandant de changer leur mot de passe car ils n'y parviennent plus.

Un message leur dit :



Le mot de passe que vous avez fourni est différent de celui stocké sur la base de données.

En faisant des recherches, j'ai vu de vérifier si le template profile_add_body l'est a été modifié.

Je le confirme, mais il devait y avoir une raison à cela (des ajourts sans doute) Je n'ai pas le code d'origine, mais j'imagine que s'il a été modifié et que je trouve le moyen de retrouver celui initial, les effets ajoutés disparaitraient compress

Y a-t-il moyen de savoir ce qu'il faut modifier dans le code sans pour autant supprimer les modifications apportées au script ?


Dernière édition par -Méphisto- le Sam 3 Nov 2012 - 23:39, édité 1 fois

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Mer 31 Oct 2012 - 13:22

Bonjour,

Quelle est le lien de votre forum ?

De plus, pouvez vous me copier/coller le template en question ?


Cordialement,
Smile

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Mer 31 Oct 2012 - 19:07

Merci ! Very Happy


Voici le lien du forum :

http://cafet.1fr1.net/

Et voici la template :

Code:
<script type="text/javascript" src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
   <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
   </tr>
   <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
   </tr>

   <!-- BEGIN switch_namechange_disallowed -->
   <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
   </tr>
   <!-- END switch_namechange_disallowed -->
   <!-- BEGIN switch_namechange_allowed -->
   <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="{USER&amp;#8288;NAME}" size="25" maxlength="25" /></td>
   </tr>
   <!-- END switch_namechange_allowed -->

   <!-- BEGIN switch_emailchange_disallowed -->
   <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
   </tr>
   <!-- END switch_emailchange_disallowed -->
   <!-- BEGIN switch_emailchange_allowed -->
   <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
   </tr>
   <!-- END switch_emailchange_allowed -->

   <!-- BEGIN switch_edit_profile -->
   <tr>
      <td class="row1">
         <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
          <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
       </td>
      <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
   </tr>
   <!-- END switch_edit_profile -->

   <tr>
      <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
      <td class="row2">
         <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
         <div id="cont_pwd">
            <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
            <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
            <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
         </div>
      </td>
   </tr>

   <!-- BEGIN switch_confirm_password -->
   <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
      <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" /></td>
   </tr>
   <!-- END switch_confirm_password -->

   <!-- BEGIN switch_profile_fields -->
      <tr>
         <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
         <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
         </td>
         <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
         </td>
      </tr>
      <!-- END field -->
   <!-- END switch_profile_fields -->

   <!-- BEGIN switch_confirm -->
   <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
   </tr>
   <!-- END switch_confirm -->

   <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
         <td class="row1"><span class="gen">{L_DELETE}</span></td>
         <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
   <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_preferences_menu -->
   <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="viewemail" value="2" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label>  
         <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label>  
         <label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_view_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label>  
      </td>
   </tr>
   <!-- END switch_view_pm -->
   <!-- BEGIN switch_profile_advanced -->
   <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
   </tr>
   <!-- END switch_profile_advanced -->
   <!-- BEGIN switch_fb_connect -->
   <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
         <!-- BEGIN switch_fb_account_linked -->
         <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
         <!-- END switch_fb_account_linked -->
         <!-- BEGIN switch_fb_account_not_linked -->
         <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
         <!-- END switch_fb_account_not_linked -->
      </td>
   </tr>
   <!-- END switch_fb_connect -->
   <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label>  
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
         
         <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_can_disable_mass_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label>  
         <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
   </tr>
   <!-- END switch_can_disable_mass_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1">
         <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
         <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
         <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_report -->
   <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
       <td class="row2">
         <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
       <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
       <td class="row2">
         <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- END switch_report -->
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}</td>
   </tr>
   <!-- BEGIN switch_number_format -->
   <tr>
      <td class="row1"><span class="gen">{L_NUMBER_FORMAT} :</span></td>
      <td class="row2">{NUMBER_FORMAT}</td>
   </tr>
   <!-- END switch_number_format -->
   <tr>
      <td class="row1"><span class="gen">{L_AUTO_CORRECT_DST} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="auto_dst" value="1"{AUTO_CORRECT_DST_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="auto_dst" value="0"{AUTO_CORRECT_DST_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1">
         <span class="gen">{L_DAYLIGHT_SAVING_TIME} :</span><br />
         <span class="gensmall">{CURRENT_TIME}</span>
      </td>
      <td class="row2">
         <label class="gen"><input type="radio" name="summer_time" value="0"{WINTER_TIME_CHECKED} />{L_WINTER_TIME}</label>  
         <label class="gen"><input type="radio" name="summer_time" value="1"{SUMMER_TIME_CHECKED} />{L_SUMMER_TIME}</label>
      </td>
   </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
   <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
   </tr>
   <tr>
      <td class="row1" colspan="2">
         <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
               <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
               <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
               </td>
            </tr>
         </table>
      </td>
   </tr>

   <!-- BEGIN switch_avatar_local_upload -->
   <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
   </tr>
   <!-- END switch_avatar_local_upload -->
   <!-- BEGIN switch_avatar_remote_upload -->
   <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
   </tr>
   <!-- END switch_avatar_remote_upload -->
   <!-- BEGIN switch_avatar_remote_link -->
   <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
   </tr>
   <!-- END switch_avatar_remote_link -->
   <!-- BEGIN switch_avatar_local_gallery -->
   <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
   </tr>
   <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

   <tr>
      <td class="catBottom" colspan="3" align="center" height="28">{HIDDEN_FIELDS}{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
   </tr>
</table>
</form>
<script type="text/javascript">
$('input[name=reset]').click(function(){
   $("#pwd_good,#pwd_middle,#pwd_bad").hide();

});

$('input[name=new_password],input[name=username]').keyup(function() {

   if ( $('input[name=new_password]').val() != "" )
   {
      var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());

      switch(level)
      {
         case 'bad' :
         $("#pwd_middle,#pwd_good").hide();
         $("#pwd_bad").show();
         break;

         case 'good' :
         $("#pwd_good,#pwd_bad").hide();
         $("#pwd_middle").show();
         break;

         case 'strong' :
         $("#pwd_middle,#pwd_bad").hide();
         $("#pwd_good").show();
         break;
      }
   }
   else
   {
      $("#pwd_middle,#pwd_good,#pwd_bad").hide();
   }
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
   status: true,
   cookie: true,
   xfbml: true,
    oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->


-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Ven 2 Nov 2012 - 2:46

Bonjour,

et si tu change tout ton template par celui-ci, est-ce que cela fonctionne:
Code:
<script src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
   <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
   </tr>
   <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
   </tr>
   <!-- BEGIN switch_namechange_disallowed -->
   <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
   </tr>
   <!-- END switch_namechange_disallowed -->
   <!-- BEGIN switch_namechange_allowed -->
   <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="{USER&amp;#8288;NAME}" size="25" maxlength="25" /></td>
   </tr>
   <!-- END switch_namechange_allowed -->

   <!-- BEGIN switch_emailchange_disallowed -->
   <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
   </tr>
   <!-- END switch_emailchange_disallowed -->
   <!-- BEGIN switch_emailchange_allowed -->
   <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
   </tr>
   <!-- END switch_emailchange_allowed -->

   <!-- BEGIN switch_change_password -->
        <tr>
      <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
   </tr>
        <!-- END switch_change_password -->

   <!-- BEGIN switch_profile_fields -->
      <tr>
         <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
         <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
         </td>
         <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
         </td>
      </tr>
      <!-- END field -->
   <!-- END switch_profile_fields -->

   <!-- BEGIN switch_confirm -->
   <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
   </tr>
   <!-- END switch_confirm -->

   <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
         <td class="row1"><span class="gen">{L_DELETE}</span></td>
         <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
   <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->
<tr>
        <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
        <td class="row1">
                <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                        <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                </td>
        <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
</tr>
<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->
<tr>
        <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
        <td class="row2">
                <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                <div id="cont_pwd">
                        <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                </div>
        </td>
</tr>
<tr>
        <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
        <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
            <input type="hidden" name="change_password" value="change_password" /></td>
</tr>
<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
   <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label>  
         <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label>  
         <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label>  
         <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_view_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label>  
      </td>
   </tr>
   <!-- END switch_view_pm -->
   <!-- BEGIN switch_profile_advanced -->
   <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label>  
         <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
   </tr>
   <!-- END switch_profile_advanced -->
   <!-- BEGIN switch_fb_connect -->
   <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
         <!-- BEGIN switch_fb_account_linked -->
         <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
         <!-- END switch_fb_account_linked -->
         <!-- BEGIN switch_fb_account_not_linked -->
         <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
         <!-- END switch_fb_account_not_linked -->
      </td>
   </tr>
   <!-- BEGIN switch_fb_account_linked -->
   <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label>  
         <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label>  
      </td>
   </tr>
   <!-- END switch_fb_account_linked -->
   <!-- END switch_fb_connect -->
   <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
         <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label>  
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_can_disable_mass_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label>  
         <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
   </tr>
   <!-- END switch_can_disable_mass_pm -->
   <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1">
         <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
         <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
         <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- BEGIN switch_report -->
   <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
         <td class="row2">
         <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
         <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
         <td class="row2">
         <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
   </tr>
   <!-- END switch_report -->
   <!-- BEGIN switch_cke_editor -->
   <tr>
      <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
      </td>
   </tr>
        <!-- END switch_cke_editor -->
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
         <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label>  
         <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
   </tr>
   <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}<br />
         <span class="gensmall">{CURRENT_TIME}</span>
      </td>
   </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
   <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
   </tr>
   <tr>
      <td class="row1" colspan="2">
         <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
               <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
               <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
               </td>
            </tr>
         </table>
      </td>
   </tr>

   <!-- BEGIN switch_avatar_local_upload -->
   <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
   </tr>
   <!-- END switch_avatar_local_upload -->
   <!-- BEGIN switch_avatar_remote_upload -->
   <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
   </tr>
   <!-- END switch_avatar_remote_upload -->
   <!-- BEGIN switch_avatar_remote_link -->
   <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
   </tr>
   <!-- END switch_avatar_remote_link -->
   <!-- BEGIN switch_avatar_local_gallery -->
   <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
   </tr>
   <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

<tr>
    <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
</tr>

</table>
</form>
<script type="text/javascript">
$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
   status: true,
   cookie: true,
   xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Ven 2 Nov 2012 - 18:27

Merci beaucoup ! cheers

Oui, à présent, ils peuvent changer le mot de passe.

En revanche le nom d'utilisateur n'apparait plus dans le profil, il est remplacé par
Code:
{USER⁠NAME}
What a Face

J'espère que ça n'a rien supprimé des modifications autres qui avaient été apportées à la template en question.

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Ven 2 Nov 2012 - 22:10

Bonjour,

Cela fait plaisir Smile Pour réglé votre problème de username remplacer tout votre code par celui-ci:
Code:
<script src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
  <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
  </tr>
  <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
  </tr>
  <!-- BEGIN switch_namechange_disallowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
   </tr>
  <!-- END switch_namechange_disallowed -->
  <!-- BEGIN switch_namechange_allowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="{USER&amp;#8288;NAME}" size="25" maxlength="25" /></td>
   </tr>
  <!-- END switch_namechange_allowed -->

  <!-- BEGIN switch_emailchange_disallowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
  </tr>
  <!-- END switch_emailchange_disallowed -->
  <!-- BEGIN switch_emailchange_allowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
  </tr>
  <!-- END switch_emailchange_allowed -->

  <!-- BEGIN switch_change_password -->
        <tr>
      <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
  </tr>
        <!-- END switch_change_password -->

  <!-- BEGIN switch_profile_fields -->
      <tr>
        <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
        <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
        </td>
        <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
        </td>
      </tr>
      <!-- END field -->
  <!-- END switch_profile_fields -->

  <!-- BEGIN switch_confirm -->
  <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
  </tr>
  <!-- END switch_confirm -->

  <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
        <td class="row1"><span class="gen">{L_DELETE}</span></td>
        <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
  <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->
<tr>
        <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
        <td class="row1">
                <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                        <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                </td>
        <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
</tr>
<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->
<tr>
        <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
        <td class="row2">
                <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                <div id="cont_pwd">
                        <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                </div>
        </td>
</tr>
<tr>
        <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
        <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
            <input type="hidden" name="change_password" value="change_password" /></td>
</tr>
<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label> 
        <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label> 
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label> 
        <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_view_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_view_pm -->
  <!-- BEGIN switch_profile_advanced -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
  </tr>
  <!-- END switch_profile_advanced -->
  <!-- BEGIN switch_fb_connect -->
  <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
        <!-- BEGIN switch_fb_account_linked -->
        <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
        <!-- END switch_fb_account_linked -->
        <!-- BEGIN switch_fb_account_not_linked -->
        <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
        <!-- END switch_fb_account_not_linked -->
      </td>
  </tr>
  <!-- BEGIN switch_fb_account_linked -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label> 
        <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_fb_account_linked -->
  <!-- END switch_fb_connect -->
  <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label> 
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
  </tr>
  <!-- END switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1">
        <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
        <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
        <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_report -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
        <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- END switch_report -->
  <!-- BEGIN switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
      </td>
  </tr>
        <!-- END switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}<br />
        <span class="gensmall">{CURRENT_TIME}</span>
      </td>
  </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
  </tr>
  <tr>
      <td class="row1" colspan="2">
        <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
              <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
              <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
              </td>
            </tr>
        </table>
      </td>
  </tr>

  <!-- BEGIN switch_avatar_local_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
  </tr>
  <!-- END switch_avatar_local_upload -->
  <!-- BEGIN switch_avatar_remote_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_upload -->
  <!-- BEGIN switch_avatar_remote_link -->
  <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_link -->
  <!-- BEGIN switch_avatar_local_gallery -->
  <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
  </tr>
  <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

<tr>
    <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
</tr>

</table>
</form>
<script type="text/javascript">
$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
  status: true,
  cookie: true,
  xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->

Cordialement,
Smile

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Ven 2 Nov 2012 - 23:09

Aïe, le problème est identique.

Seuls les chiffres changent :

maintenant s'affiche à la place du pseudo :

{USER⁠NAME}

il y a le chiffre 8288 à la place du carré cette fois What a Face

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Ven 2 Nov 2012 - 23:50

Bonjour,

Je trouve cela bizarre Razz... Moi aussi la première fois que je t'ai donné le code, cela fonctionnait pas... Et il y avait ce USERNAME aussi... Mais la j'ai rien. Maintenant après quelques teste tous fonctionne de mon coté. Je comprend pas pourquoi toi ça ne fonctionne pas Sad... Essaie donc de vider le cache de ton navigateur et de voir si le problème persiste ?


Cordialement,
Smile

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 11:49

Malheureusement, le problème reste identique Embarassed


-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Invité le Sam 3 Nov 2012 - 11:59

Bonjour,
essayer celui là :
Code:
<script src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
  <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
  </tr>
  <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
  </tr>
  <!-- BEGIN switch_namechange_disallowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
  </tr>
  <!-- END switch_namechange_disallowed -->
  <!-- BEGIN switch_namechange_allowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="{USER&amp;#8288;NAME}" size="25" maxlength="25" /></td>
  </tr>
  <!-- END switch_namechange_allowed -->

  <!-- BEGIN switch_emailchange_disallowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
  </tr>
  <!-- END switch_emailchange_disallowed -->
  <!-- BEGIN switch_emailchange_allowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
  </tr>
  <!-- END switch_emailchange_allowed -->

  <!-- BEGIN switch_change_password -->
        <tr>
      <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
  </tr>
        <!-- END switch_change_password -->

  <!-- BEGIN switch_profile_fields -->
      <tr>
        <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
        <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
        </td>
        <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
        </td>
      </tr>
      <!-- END field -->
  <!-- END switch_profile_fields -->

  <!-- BEGIN switch_confirm -->
  <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
  </tr>
  <!-- END switch_confirm -->

  <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
        <td class="row1"><span class="gen">{L_DELETE}</span></td>
        <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
  <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->
<tr>
        <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
        <td class="row1">
                <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                        <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                </td>
        <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
</tr>
<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->
<tr>
        <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
        <td class="row2">
                <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                <div id="cont_pwd">
                        <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                </div>
        </td>
</tr>
<tr>
        <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
        <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
            <input type="hidden" name="change_password" value="change_password" /></td>
</tr>
<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label> 
        <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label> 
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label> 
        <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_view_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_view_pm -->
  <!-- BEGIN switch_profile_advanced -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
  </tr>
  <!-- END switch_profile_advanced -->
  <!-- BEGIN switch_fb_connect -->
  <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
        <!-- BEGIN switch_fb_account_linked -->
        <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
        <!-- END switch_fb_account_linked -->
        <!-- BEGIN switch_fb_account_not_linked -->
        <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
        <!-- END switch_fb_account_not_linked -->
      </td>
  </tr>
  <!-- BEGIN switch_fb_account_linked -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label> 
        <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_fb_account_linked -->
  <!-- END switch_fb_connect -->
  <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label> 
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
  </tr>
  <!-- END switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1">
        <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
        <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
        <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_report -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
        <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- END switch_report -->
  <!-- BEGIN switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
      </td>
  </tr>
        <!-- END switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}<br />
        <span class="gensmall">{CURRENT_TIME}</span>
      </td>
  </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
  </tr>
  <tr>
      <td class="row1" colspan="2">
        <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
              <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
              <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
              </td>
            </tr>
        </table>
      </td>
  </tr>

  <!-- BEGIN switch_avatar_local_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
  </tr>
  <!-- END switch_avatar_local_upload -->
  <!-- BEGIN switch_avatar_remote_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_upload -->
  <!-- BEGIN switch_avatar_remote_link -->
  <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_link -->
  <!-- BEGIN switch_avatar_local_gallery -->
  <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
  </tr>
  <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

<tr>
    <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
</tr>

</table>
</form>
<script type="text/javascript">
$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
  status: true,
  cookie: true,
  xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 12:36

Merci, mais les pseudos se présentent touhjours sous la forme username coupé par les même chiffres Embarassed

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Invité le Sam 3 Nov 2012 - 14:51

Mince j'ai oublié essayer celui là
Code:
    <script src="{JSPWD}"></script>
    <!-- BEGIN switch_display_menu -->
    {UCP_TABS}
    <!-- END switch_display_menu -->
    {ERROR_BOX}
    <form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

    <!-- BEGIN switch_modif_08_07_2010 -->
    <input type="hidden" name="email" value="{EMAIL}" />
    <!-- END switch_modif_08_07_2010 -->

    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
    <!-- BEGIN switch_informations_menu -->
      <tr>
          <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
      </tr>
      <tr>
          <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
      </tr>
      <!-- BEGIN switch_namechange_disallowed -->
      <tr>
          <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
          <td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
      </tr>
      <!-- END switch_namechange_disallowed -->
      <!-- BEGIN switch_namechange_allowed -->
      <tr>
          <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
          <td class="row2"><input class="post" type="text" name="username" value="{USER&amp;#8288;NAME}" size="25" maxlength="25" /></td>
      </tr>
      <!-- END switch_namechange_allowed -->

      <!-- BEGIN switch_emailchange_disallowed -->
      <tr>
          <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
          <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
      </tr>
      <!-- END switch_emailchange_disallowed -->
      <!-- BEGIN switch_emailchange_allowed -->
      <tr>
          <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
          <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
      </tr>
      <!-- END switch_emailchange_allowed -->

      <!-- BEGIN switch_change_password -->
            <tr>
          <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                    <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
      </tr>
            <!-- END switch_change_password -->

      <!-- BEGIN switch_profile_fields -->
          <tr>
            <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
          </tr>
          <!-- BEGIN field -->
          <tr>
            <td class="gen row1" align="left">
                <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
            </td>
            <td class="gensmall row2">
                {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
                <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
            </td>
          </tr>
          <!-- END field -->
      <!-- END switch_profile_fields -->

      <!-- BEGIN switch_confirm -->
      <tr>
          <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
          <br />
          {CONFIRM_IMG}<br />
          <br />
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
          <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
      </tr>
      <!-- END switch_confirm -->

      <!-- BEGIN switch_register_not_display -->
          <!-- BEGIN switch_unsubscribe_allowed -->
          <tr>
            <td class="row1"><span class="gen">{L_DELETE}</span></td>
            <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
          </tr>
          <!-- END switch_unsubscribe_allowed -->
      <!-- END switch_register_not_display -->
    <!-- END switch_informations_menu -->

    <!-- BEGIN switch_confirm_password -->
    <tr>
            <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
    </tr>
    <tr>
            <td class="row1">
                    <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                            <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                    </td>
            <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
    </tr>
    <!-- END switch_confirm_password -->
    <!-- BEGIN switch_confirm_password_new -->
    <tr>
            <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
            <td class="row2">
                    <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                    <div id="cont_pwd">
                            <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                            <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                            <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                    </div>
            </td>
    </tr>
    <tr>
            <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
            <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
                <input type="hidden" name="change_password" value="change_password" /></td>
    </tr>
    <!-- END switch_confirm_password_new -->

    <!-- BEGIN switch_preferences_menu -->
      <tr>
          <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
          <td class="row2" width="400">
            <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label>
            <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label>
            <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label>
            <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
          </td>
      </tr>
      <!-- BEGIN switch_view_pm -->
      <tr>
          <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
          <td class="row2" width="400">
            <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label>
          </td>
      </tr>
      <!-- END switch_view_pm -->
      <!-- BEGIN switch_profile_advanced -->
      <tr>
          <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
          <td class="row2" width="400">
            <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label>
            <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label>
            <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label>
            <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
          </td>
      </tr>
      <!-- END switch_profile_advanced -->
      <!-- BEGIN switch_fb_connect -->
      <tr>
          <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
          <td class="row2 fb" width="400">
            <!-- BEGIN switch_fb_account_linked -->
            <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
            <!-- END switch_fb_account_linked -->
            <!-- BEGIN switch_fb_account_not_linked -->
            <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
            <!-- END switch_fb_account_not_linked -->
          </td>
      </tr>
      <!-- BEGIN switch_fb_account_linked -->
      <tr>
          <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
          <td class="row2" width="400">
            <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label>
            <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label>
          </td>
      </tr>
      <!-- END switch_fb_account_linked -->
      <!-- END switch_fb_connect -->
      <tr>
          <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
          <td class="row2" width="400">
            <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
          </td>
      </tr>
      <!-- BEGIN switch_can_disable_mass_pm -->
      <tr>
          <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label>
            <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label>
            <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
          </td>
      </tr>
      <!-- END switch_can_disable_mass_pm -->
      <tr>
          <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1">
            <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
            <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
          </td>
          <td class="row2">
            <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
          </td>
      </tr>
      <!-- BEGIN switch_report -->
      <tr>
          <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
            <td class="row2">
            <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
            <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
            <td class="row2">
            <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
          </td>
      </tr>
      <!-- END switch_report -->
      <!-- BEGIN switch_cke_editor -->
      <tr>
          <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
          </td>
      </tr>
            <!-- END switch_cke_editor -->
      <tr>
          <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
          <td class="row2">
            <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label>
            <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
          </td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
          <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
          <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
      </tr>
      <tr>
          <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
          <td class="row2">{DATE_FORMAT}<br />
            <span class="gensmall">{CURRENT_TIME}</span>
          </td>
      </tr>
    <!-- END switch_preferences_menu -->
    <!-- BEGIN switch_avatar_block -->
      <tr>
          <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
      </tr>
      <tr>
          <td class="row1" colspan="2">
            <table width="70%" border="0" cellspacing="2" cellpadding="0">
                <tr>
                  <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
                  <td align="center">
                      <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                      {AVATAR}<br />
                      <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
                  </td>
                </tr>
            </table>
          </td>
      </tr>

      <!-- BEGIN switch_avatar_local_upload -->
      <tr>
          <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
          <td class="row2"><input class="post" type="file" name="avatar"></td>
      </tr>
      <!-- END switch_avatar_local_upload -->
      <!-- BEGIN switch_avatar_remote_upload -->
      <tr>
          <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
          <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
      </tr>
      <!-- END switch_avatar_remote_upload -->
      <!-- BEGIN switch_avatar_remote_link -->
      <tr>
          <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
          <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
      </tr>
      <!-- END switch_avatar_remote_link -->
      <!-- BEGIN switch_avatar_local_gallery -->
      <tr>
          <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
          <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
      </tr>
      <!-- END switch_avatar_local_gallery -->
    <!-- END switch_avatar_block -->

    <tr>
        <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
    </tr>

    </table>
    </form>
    <script type="text/javascript">
    $(function(){

        $('#change_password').click(function(){
            try {
                // $('#register').submit();
            } catch (e) {
                console.log(e);
            }
        });

        $('input[name=reset]').click(function(){
            $("#pwd_good,#pwd_middle,#pwd_bad").hide();
        });
        $('input[name=new_password],input[name=username]').keyup(function() {
            if ( $('input[name=new_password]').val() != "" )
            {
                var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
            switch(level)
            {
                case 'bad' :
                    $("#pwd_middle,#pwd_good").hide();
                    $("#pwd_bad").show();
                    break;
                case 'good' :
                    $("#pwd_good,#pwd_bad").hide();
                    $("#pwd_middle").show();
                    break;
                case 'strong' :
                    $("#pwd_middle,#pwd_bad").hide();
                    $("#pwd_good").show();
                    break;
                }
            }
            else
            {
                $("#pwd_middle,#pwd_good,#pwd_bad").hide();
            }
        });
    });
    </script>
    <!-- BEGIN switch_preferences_menu -->
    <!-- BEGIN switch_fb_connect -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
      appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
      status: true,
      cookie: true,
      xfbml: true,
      oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_connect -->
    <!-- END switch_preferences_menu -->

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 15:27

Heu ... je ne vois aucune différence. Le pseudo reste sous la forme "username" avec des chiffres au milieu (les mêmes du reste) Embarassed

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Sam 3 Nov 2012 - 15:46

Bonjour,

Avec ce code tout est bon:
Code:
<script src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
  <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
  </tr>
  <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
  </tr>
  <!-- BEGIN switch_namechange_disallowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>
  </tr>
  <!-- END switch_namechange_disallowed -->
  <!-- BEGIN switch_namechange_allowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="" size="25" maxlength="25" /></td>
  </tr>
  <!-- END switch_namechange_allowed -->

  <!-- BEGIN switch_emailchange_disallowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
  </tr>
  <!-- END switch_emailchange_disallowed -->
  <!-- BEGIN switch_emailchange_allowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
  </tr>
  <!-- END switch_emailchange_allowed -->

  <!-- BEGIN switch_change_password -->
        <tr>
      <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
  </tr>
        <!-- END switch_change_password -->

  <!-- BEGIN switch_profile_fields -->
      <tr>
        <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
        <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
        </td>
        <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
        </td>
      </tr>
      <!-- END field -->
  <!-- END switch_profile_fields -->

  <!-- BEGIN switch_confirm -->
  <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
  </tr>
  <!-- END switch_confirm -->

  <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
        <td class="row1"><span class="gen">{L_DELETE}</span></td>
        <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
  <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->
<tr>
        <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
        <td class="row1">
                <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                        <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                </td>
        <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
</tr>
<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->
<tr>
        <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
        <td class="row2">
                <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                <div id="cont_pwd">
                        <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                </div>
        </td>
</tr>
<tr>
        <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
        <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
            <input type="hidden" name="change_password" value="change_password" /></td>
</tr>
<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label> 
        <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label> 
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label> 
        <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_view_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_view_pm -->
  <!-- BEGIN switch_profile_advanced -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
  </tr>
  <!-- END switch_profile_advanced -->
  <!-- BEGIN switch_fb_connect -->
  <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
        <!-- BEGIN switch_fb_account_linked -->
        <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
        <!-- END switch_fb_account_linked -->
        <!-- BEGIN switch_fb_account_not_linked -->
        <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
        <!-- END switch_fb_account_not_linked -->
      </td>
  </tr>
  <!-- BEGIN switch_fb_account_linked -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label> 
        <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_fb_account_linked -->
  <!-- END switch_fb_connect -->
  <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label> 
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
  </tr>
  <!-- END switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1">
        <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
        <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
        <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_report -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
        <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- END switch_report -->
  <!-- BEGIN switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
      </td>
  </tr>
        <!-- END switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}<br />
        <span class="gensmall">{CURRENT_TIME}</span>
      </td>
  </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
  </tr>
  <tr>
      <td class="row1" colspan="2">
        <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
              <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
              <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
              </td>
            </tr>
        </table>
      </td>
  </tr>

  <!-- BEGIN switch_avatar_local_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
  </tr>
  <!-- END switch_avatar_local_upload -->
  <!-- BEGIN switch_avatar_remote_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_upload -->
  <!-- BEGIN switch_avatar_remote_link -->
  <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_link -->
  <!-- BEGIN switch_avatar_local_gallery -->
  <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
  </tr>
  <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

<tr>
    <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
</tr>

</table>
</form>
<script type="text/javascript">
$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
  status: true,
  cookie: true,
  xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->

Cordialement,
Smile

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 15:50

Désolé, mais ça n'a vraiment rien changé Embarassed

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Dr. Sam le Sam 3 Nov 2012 - 15:52

Et comme cela:
Code:
<script src="{JSPWD}"></script>
<!-- BEGIN switch_display_menu -->
{UCP_TABS}
<!-- END switch_display_menu -->
{ERROR_BOX}
<form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">

<!-- BEGIN switch_modif_08_07_2010 -->
<input type="hidden" name="email" value="{EMAIL}" />
<!-- END switch_modif_08_07_2010 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<!-- BEGIN switch_informations_menu -->
  <tr>
      <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}{L_MY_PROFILE}</th>
  </tr>
  <tr>
      <td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>
  </tr>
  <!-- BEGIN switch_namechange_disallowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input type="hidden" name="username" value="" /><span class="gen"><b></b></span></td>
  </tr>
  <!-- END switch_namechange_disallowed -->
  <!-- BEGIN switch_namechange_allowed -->
  <tr>
      <td class="row1" width="38%"><span class="gen">{L_USERNAME} : *</span></td>
      <td class="row2"><input class="post" type="text" name="username" value="" size="25" maxlength="25" /></td>
  </tr>
  <!-- END switch_namechange_allowed -->

  <!-- BEGIN switch_emailchange_disallowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input type="hidden" name="email" value="{EMAIL}" /><span class="gen"><b>{EMAIL}</b></span></td>
  </tr>
  <!-- END switch_emailchange_disallowed -->
  <!-- BEGIN switch_emailchange_allowed -->
  <tr>
      <td class="row1"><span class="gen">{L_EMAIL_ADDRESS} : *</span></td>
      <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" size="25" maxlength="64" /></td>
  </tr>
  <!-- END switch_emailchange_allowed -->

  <!-- BEGIN switch_change_password -->
        <tr>
      <td class="row1"><span class="gen">{L_CHANGE_PASSWORD} :</span></td>
                <td class="row2"><input class="mainoption" type="submit" name="change_password" id="change_password" value="{L_MODIFY}"  /></td>
  </tr>
        <!-- END switch_change_password -->

  <!-- BEGIN switch_profile_fields -->
      <tr>
        <th class="thSides" colspan="2" valign="middle" height="25">{switch_informations_menu.switch_profile_fields.L_PROFILE_FIELDS}</th>
      </tr>
      <!-- BEGIN field -->
      <tr>
        <td class="gen row1" align="left">
            <span>{switch_informations_menu.switch_profile_fields.field.NAME}</span>
        </td>
        <td class="gensmall row2">
            {switch_informations_menu.switch_profile_fields.field.OBJECT}<br />
            <span class="gensmall">{switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</span>
        </td>
      </tr>
      <!-- END field -->
  <!-- END switch_profile_fields -->

  <!-- BEGIN switch_confirm -->
  <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br />
      <br />
      {CONFIRM_IMG}<br />
      <br />
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_CONFIRM_CODE} : *</span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="confirm_code" value="" size="6" maxlength="6" /></td>
  </tr>
  <!-- END switch_confirm -->

  <!-- BEGIN switch_register_not_display -->
      <!-- BEGIN switch_unsubscribe_allowed -->
      <tr>
        <td class="row1"><span class="gen">{L_DELETE}</span></td>
        <td class="row2"><input type="checkbox" name="delete_user"><span class="gensmall" />{L_DELETE_EXPLAIN}</span></td>
      </tr>
      <!-- END switch_unsubscribe_allowed -->
  <!-- END switch_register_not_display -->
<!-- END switch_informations_menu -->

<!-- BEGIN switch_confirm_password -->
<tr>
        <th class="thHead" colspan="3" valign="middle" height="25">{L_REGISTRATION_INFO}</th>
</tr>
<tr>
        <td class="row1">
                <span class="gen">{L_CURRENT_PASSWORD} : *</span><br />
                        <span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span>
                </td>
        <td class="row2"><input class="post" type="password" name="cur_password" value="{CUR_PASSWORD}" size="25" maxlength="25" /></td>
</tr>
<!-- END switch_confirm_password -->
<!-- BEGIN switch_confirm_password_new -->
<tr>
        <td class="row1"><span class="gen">{L_NEW_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_IF_CHANGED}</span></td>
        <td class="row2">
                <input class="post left" type="password" name="new_password" value="{NEW_PASSWORD}" size="25" maxlength="25" />
                <div id="cont_pwd">
                        <div class="pwd_img" id="pwd_bad" >{BAD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_middle" >{GOOD_LEVEL_PWD}</div>
                        <div class="pwd_img" id="pwd_good" >{STRONG_LEVEL_PWD}</div>
                </div>
        </td>
</tr>
<tr>
        <td class="row1"><span class="gen">{L_CONFIRM_PASSWORD} : *</span><br /><span class="gensmall">{L_PASSWORD_CONFIRM_IF_CHANGED}</span></td>
        <td class="row2"><input class="post" type="password" name="password_confirm" value="{PASSWORD_CONFIRM}" size="25" maxlength="25" />
            <input type="hidden" name="change_password" value="change_password" /></td>
</tr>
<!-- END switch_confirm_password_new -->

<!-- BEGIN switch_preferences_menu -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="25">{L_PREFERENCES}</th>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_EMAIL} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_YES}</span></label> 
        <!-- BEGIN switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_FORM} /><span class="gen">{L_FORM}</span></label> 
        <label class="gen"><input type="radio" name="viewemail" value="1" {VIEW_EMAIL_MAILTO} />{L_MAILTO}</label> 
        <!-- END switch_enable_mail_view --><label class="gen"><input type="radio" name="viewemail" value="0" {VIEW_EMAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_view_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_PUBLIC_VIEW_MP} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="view_pm" value="1" {VIEW_MP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="view_pm" value="0" {VIEW_MP_NO} />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_view_pm -->
  <!-- BEGIN switch_profile_advanced -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_profile_advanced.L_ALLOW_PROFILE_MSGS} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="profilemsgs" value="2" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_ALL} />{L_ALL_USERS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_FRIENDS} />{L_MY_FRIENDS}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="0" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_NONE} />{L_NO_ONE}</label> 
        <label class="gen"><input type="radio" name="profilemsgs" value="-1" {switch_preferences_menu.switch_profile_advanced.PROFILE_MSGS_HIDE} />{L_HIDE_TAB}</label>
      </td>
  </tr>
  <!-- END switch_profile_advanced -->
  <!-- BEGIN switch_fb_connect -->
  <tr>
      <td class="row1 fb"><span class="gen">{switch_preferences_menu.switch_fb_connect.L_FB_LINK_ACCOUNT} :</span></td>
      <td class="row2 fb" width="400">
        <!-- BEGIN switch_fb_account_linked -->
        <span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_FB_ACCOUNT_LINKED}</span>
        <!-- END switch_fb_account_linked -->
        <!-- BEGIN switch_fb_account_not_linked -->
        <fb:login-button size="medium" onlogin="facebook_link()" v="2">{switch_preferences_menu.switch_fb_connect.switch_fb_account_not_linked.L_FB_LOGIN_BUTTON}</fb:login-button>
        <!-- END switch_fb_account_not_linked -->
      </td>
  </tr>
  <!-- BEGIN switch_fb_account_linked -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_fb_connect.switch_fb_account_linked.L_UNLINK_FB_ACCOUNT_EXPLAIN} :</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="unlink_fb_account" value="1" />{L_YES}</label> 
        <label class="gen"><input type="radio" name="unlink_fb_account" value="0"  checked="checked" />{L_NO}</label> 
      </td>
  </tr>
  <!-- END switch_fb_account_linked -->
  <!-- END switch_fb_connect -->
  <tr>
      <td class="row1"><span class="gen">{L_NEWSLETTER_ACCEPT} :</span><br /><span class="gensmall">{L_NEWSLETTER_ACCEPT_EXPLAIN}</span></td>
      <td class="row2" width="400">
        <label class="gen"><input type="radio" name="newsletter" value="1" {NEWSLETTER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="newsletter" value="0" {NEWSLETTER_NO} />{L_NO}</label> 
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_HIDE_USER} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="hideonline" value="1" {HIDE_USER_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="hideonline" value="0" {HIDE_USER_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_REPLY} :</span><br /><span class="gensmall">{L_NOTIFY_ON_REPLY_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifyreply" value="1" {NOTIFY_REPLY_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifyreply" value="0" {NOTIFY_REPLY_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_NOTIFY_ON_PRIVMSG} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="notifypm" value="1" {NOTIFY_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="notifypm" value="0" {NOTIFY_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_ENABLE_MASS_PM} :</span><br /><span class="gensmall">{L_ENABLE_MASS_PM_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allow_mass_pm" value="4" {ALLOW_MASS_PM_NOTIFY_CHECKED} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="2" {ALLOW_MASS_PM_CHECKED} /><span class="gen">{L_NO}</span></label> 
        <label class="gen"><input type="radio" name="allow_mass_pm" value="0" {DISABLE_MASS_PM_CHECKED} /><span class="gen">{L_NO_MASS_PM}</span></label>
      </td>
  </tr>
  <!-- END switch_can_disable_mass_pm -->
  <tr>
      <td class="row1"><span class="gen">{L_POPUP_ON_PRIVMSG} :</span><br /><span class="gensmall">{L_POPUP_ON_PRIVMSG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="popup_pm" value="1" {POPUP_PM_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="popup_pm" value="0" {POPUP_PM_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1">
        <span class="gen">{L_NOTIFY_POST_PREVENT} :</span><br />
        <span class="gensmall">{L_NOTIFY_POST_PREVENT_EXPLAIN}</span>
      </td>
      <td class="row2">
        <label class="gen"><input type="radio" name="post_prevent" value="1" {POST_PREVENT_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="post_prevent" value="0" {POST_PREVENT_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- BEGIN switch_report -->
  <tr>
      <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
        <td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
        <td class="row2">
        <label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
      </td>
  </tr>
  <!-- END switch_report -->
  <!-- BEGIN switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
      </td>
  </tr>
        <!-- END switch_cke_editor -->
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ADD_SIGNATURE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="attachsig" value="1" {ALWAYS_ADD_SIGNATURE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="attachsig" value="0" {ALWAYS_ADD_SIGNATURE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_BBCODE} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowbbcode" value="1" {ALWAYS_ALLOW_BBCODE_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowbbcode" value="0" {ALWAYS_ALLOW_BBCODE_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_HTML} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowhtml" value="1" {ALWAYS_ALLOW_HTML_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowhtml" value="0" {ALWAYS_ALLOW_HTML_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES} :</span></td>
      <td class="row2">
        <label class="gen"><input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />{L_YES}</label> 
        <label class="gen"><input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />{L_NO}</label>
      </td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_BOARD_LANGUAGE} :</span></td>
      <td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_TIMEZONE} :</span></td>
      <td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gen">{L_DATE_FORMAT} :</span></td>
      <td class="row2">{DATE_FORMAT}<br />
        <span class="gensmall">{CURRENT_TIME}</span>
      </td>
  </tr>
<!-- END switch_preferences_menu -->
<!-- BEGIN switch_avatar_block -->
  <tr>
      <th class="thSides" colspan="2" valign="middle" height="12">{L_AVATAR_PANEL}</th>
  </tr>
  <tr>
      <td class="row1" colspan="2">
        <table width="70%" border="0" cellspacing="2" cellpadding="0">
            <tr>
              <td width="65%"><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td>
              <td align="center">
                  <span class="gensmall">{L_CURRENT_IMAGE}</span><br />
                  {AVATAR}<br />
                  <input type="checkbox" name="avatardel"> <span class="gensmall">{L_DELETE_AVATAR}</span>
              </td>
            </tr>
        </table>
      </td>
  </tr>

  <!-- BEGIN switch_avatar_local_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_FILE} :</span></td>
      <td class="row2"><input class="post" type="file" name="avatar"></td>
  </tr>
  <!-- END switch_avatar_local_upload -->
  <!-- BEGIN switch_avatar_remote_upload -->
  <tr>
      <td class="row1"><span class="gen">{L_UPLOAD_AVATAR_URL} :</span><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_upload -->
  <!-- BEGIN switch_avatar_remote_link -->
  <tr>
      <td class="row1"><span class="gen">{L_LINK_REMOTE_AVATAR} :</span><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td>
      <td class="row2"><input class="post" type="text" name="avatarremoteurl" size="40" maxlength="100" /></td>
  </tr>
  <!-- END switch_avatar_remote_link -->
  <!-- BEGIN switch_avatar_local_gallery -->
  <tr>
      <td class="row1"><span class="gen">{L_AVATAR_GALLERY} :</span></td>
      <td class="row2"><input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
  </tr>
  <!-- END switch_avatar_local_gallery -->
<!-- END switch_avatar_block -->

<tr>
    <td class="catBottom" colspan="3" align="center" height="28">{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="submit" value="{L_SUBMIT}"  /> <input class="liteoption" type="reset" name="reset" value="{L_RESET}" /></td>
</tr>

</table>
</form>
<script type="text/javascript">
$(function(){

    $('#change_password').click(function(){
        try {
            // $('#register').submit();
        } catch (e) {
            console.log(e);
        }
    });

    $('input[name=reset]').click(function(){
        $("#pwd_good,#pwd_middle,#pwd_bad").hide();
    });
    $('input[name=new_password],input[name=username]').keyup(function() {
        if ( $('input[name=new_password]').val() != "" )
        {
            var level = passwordStrength($('input[name=new_password]').val(),$('input[name=username]').val());
        switch(level)
        {
            case 'bad' :
                $("#pwd_middle,#pwd_good").hide();
                $("#pwd_bad").show();
                break;
            case 'good' :
                $("#pwd_good,#pwd_bad").hide();
                $("#pwd_middle").show();
                break;
            case 'strong' :
                $("#pwd_middle,#pwd_bad").hide();
                $("#pwd_good").show();
                break;
            }
        }
        else
        {
            $("#pwd_middle,#pwd_good,#pwd_bad").hide();
        }
    });
});
</script>
<!-- BEGIN switch_preferences_menu -->
<!-- BEGIN switch_fb_connect -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
  appId: '{switch_preferences_menu.switch_fb_connect.FACEBOOK_APP_ID}',
  status: true,
  cookie: true,
  xfbml: true,
  oauth: true
});
//]]>
</script>
<!-- END switch_fb_connect -->
<!-- END switch_preferences_menu -->

Dr. Sam
*****

Masculin
Messages : 894
Inscrit(e) le : 28/06/2012

http://www.fa-aide.com/
Dr. Sam a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par Invité le Sam 3 Nov 2012 - 15:53

Avez vous essayer de revenir à la normal en supprimant le template et le remettre à zero ?

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 17:15

Non, parce que la template avait déjà été personnalisée grâce à des ajouts, dont chacun a été pensé. Mais semble-t-il qu'une de ces modifications avait par erreur empêché les membres de modifier leur mot de passe (mais le pseudo s'affichait bien)

Maintenant, ils peuvent changer leur mot de passe mais leur pseudo apparait bizarrement. Je ne me vois pas annuler les améliorations apportées précédemment. Surtout que je ne saurais sans doute pas refaire les modifications ... pale

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par demeter1 le Sam 3 Nov 2012 - 19:19

@-Méphisto- a écrit:Merci beaucoup ! cheers

Oui, à présent, ils peuvent changer le mot de passe.

En revanche le nom d'utilisateur n'apparait plus dans le profil, il est remplacé par
Code:
{USER⁠NAME}
What a Face

J'espère que ça n'a rien supprimé des modifications autres qui avaient été apportées à la template en question.


Mephisto, n'oubliez pas que le système de code qui est sur fa présente un petit disfonctionnement avec la balise username.

Regardez le code fourni parMr Docteur et vous verrez

Code:
<td class="row2"><input type="hidden" name="username" value="{USER&amp;#8288;NAME}" /><span class="gen"><b>{USER&amp;#8288;NAME}</b></span></td>

Comme vous le voyez la balise est mal interprétée en rajoutant entre USER et NAME ceci
Code:
&amp;#8288;

demeter1
+ Hyperactif +

Masculin
Messages : 8105
Inscrit(e) le : 23/01/2009

http://altitudetropicale.forums-actifs.com/index.forum
demeter1 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Mot de passe impossible à changer

Message par -Méphisto- le Sam 3 Nov 2012 - 22:31

Yes ! C'est génial, tout est revenu à la normale !!

Un grand merci à vous trois cheers

-Méphisto-
# Tropactif #

Messages : 1654
Inscrit(e) le : 31/08/2007

http://cafet.1fr1.net/
-Méphisto- a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut


Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum