Astuces Forumactif
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Membres connectés récemment
Voir tous les membres

[PHPBB2] Correction et aide pour le template profile_add_body

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

Kaeyla
Kaeyla
https://sweethome.forumactif.com

MessageKaeyla Sam 7 Juil 2018 - 15:42

Hello,

J'ai pleins de petites choses à remédier dont je ne sais pas faire alors je commence d'abord par l'essentiel.

J'ai installé un petit codage dans le template Profil "profile_add_body". Sauf que lorsque je veux modifier par exemple mon profil, l'enregistrement ne fonctionne pas du tout.  Pourtant les permissions sont bien autorisées "Qui peut modifier la valeur de son contenu ? L'utilisateur lui même"

Aussi, j'essaye de redimensionner le bloc signature avec le sceditor 650 px mais impossible.

Il y aussi pleins de rouges dans le template

Voici le template :

Code:
       
        
        <form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">
        
        <!-- table to support left column nav -->
        <table cellpadding="1" cellspacing="2" border="0" width="100%" align="left">
        <tr valign="top">
        <td>
        
        <!-- usercp nav -->
        <table class="tborder" cellpadding="1" cellspacing="10" border="0">
        <tbody>
        <tr><td class="tcat" nowrap="nowrap"><a href="profile?mode=editprofile">Panneau de Contrôle</a></td></tr>
        
        <tr><td class="thead"><a href="">{L_MY_PROFILE}</a></td></tr>
           <tr><td class="alt1" nowrap="nowrap"><a class="smallfont" href="profile.profile.php?do=editprofile">Modifier mon profil</a></td></tr>
          
          
          
        <tr><td class="thead">Communication</td></tr>
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=friendsfoes">Contact et Amies</a></td></tr>
          
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="groups">Groupes sociaux</a></td></tr>
          
          
          
          <tr><td class="thead">Options / Paramètres</td></tr>
          
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=avatars">Modifier l'avatar</a></td></tr>
          
          
          <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile">Modifier mail/ Mot de passe</a></td></tr>
        
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=preferences">Modifier les options</a></td></tr>
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=signature">Modifier la signature</a></td></tr>
        
        <tr><td class="thead">Message Privé</td></tr>
        
           <tr><td class="alt1" nowrap="nowrap"><a class="smallfont" href="privmsg">Liste des messages</a></td></tr>
          
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="/privmsg?mode=post">Envoyer un MP</a></td></tr>
          
          
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="privmsg?folder=outbox">Suivre les messages</a></td></tr>
          
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="privmsg?folder=sentbox">Messages Sortants</a></td></tr>
        
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="msg.forum?folder=savebox">Archiver les messages</a></td></tr>
        
        
        <tr><td class="thead">Thèmes Communs</td></tr>
        
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="search?search_id=egosearch">Liste des abonnements</a></td></tr>
        
           <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=attachments">Pièces jointes</a></td></tr>
        </span></a></b></td></tr></tbody></table></td>
        
        <!-- / usercp nav -->
        
        
          
        </td>
        <td>  </td>
        <td width="100%">
        
        <!-- main page contents -->
        
        <table class="tborder" cellpadding="1" cellspacing="10" border="0" width="100%" align="center">
        
        
                        
        
        <!-- BEGIN switch_modif_08_07_2010 -->
        <input type="hidden" name="email" value="{EMAIL}" />
        <!-- END switch_modif_08_07_2010 -->
        
        <!-- BEGIN switch_informations_menu -->
        
        <tr>
           <td class="tcat">Modifier mon profil<span class="normal"> {USERNAME}</span></td>
        </tr>
        <tr>
           <td class="thead">Données supplémentaires</td>
        
        </tr>
                <tr>
           <td class="panelsurround" align="center">
           <div class="panel">
              <div style="width:550px" align="left">
                        
                 <fieldset class="fieldset">
                    <legend>Mail et Mot de passe</legend>
                    <table cellpadding="0" cellspacing="3" border="0" width="100%">
                    <tr>
        
                       <td>
                                               <!-- 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="{USERNAME}" /><span class="gen"><b>{USERNAME}</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="{USERNAME}" 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>
                                                                        </td>
                    </tr>
        
                    </table>
                 </fieldset>          
                <!-- END switch_change_password -->
              
        
        
        
              </div>
           </div>
           </td>
        </tr>
        </table>
        
        <br>
        <table class="tborder" cellpadding="1" cellspacing="10" border="0" width="100%" align="center">
        <tr>
        
           <td class="thead">Renseignements complémentaires</td>
        </tr>
        <tr>
           <td class="panelsurround" align="center">
           <div class="panel">
              <div style="width:550px" align="left">
        
           <!-- BEGIN switch_profile_fields -->
        
              <!-- BEGIN field -->
              <fieldset class="fieldset">
           <legend>{switch_informations_menu.switch_profile_fields.field.NAME}</legend>
        
           <table cellpadding="0" cellspacing="3" border="0" width="100%">
           <tr>
              <td>
        {switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</td>
           </tr>
           <tr>
           <td>
        {switch_informations_menu.switch_profile_fields.field.OBJECT}
        
           </td>
           </tr>
        </table>
        </fieldset>
              <!-- 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" ></span>{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="200">
                 <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="200">
        
                 <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="200">
                 <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="200">
                 <!-- 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="200">
                 <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="200">
                 <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 -->
        
        <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
        <tr>
           <td class="tcat">Modifier l'avatar</td>
        </tr>
        <tr>
           <td class="panelsurround" align="center">
        
           <div class="panel">
              <div style="width:550px" align="left">
        
                 <fieldset class="fieldset">
                    <legend>Votre avatar actuel
        
        </legend>
                    <table cellpadding="0" cellspacing="3" border="0">
                    <tr>
                       <td align="top">
                          <br />
        
                          {AVATAR}<br />
        
        </td>
                       <td class="smallfont">
                          <div style="margin-bottom:3px">Avatar: est une petite image qui apparaît sous le nom de l'auteur dans tous ses messages et messages privés.</div>
                          <div style="margin-bottom:3px"><label for="rb_avatarid_no"><input type="checkbox" name="avatardel">Voulez vous supprimer l'avatar actuel ?</label></div>
                          <div>Supprimer l'avatar actuel ?
                      Note : Une fois que vous aurez cliqué sur l'option ci-dessus, vous supprimerez votre avatar..</div>
                       </td>
                    </tr>
                    </table>
        
                 </fieldset>
        
                
                 <fieldset class="fieldset">
                    <legend>Avant de sélectionner des images de membres du public</legend>
                    <table cellpadding="0" cellspacing="3" border="0" width="100%">
                    <tr>
                       <td colspan="1">
                          
                       </td>
                    </tr>
        
                    <tr>
                       <td colspan="1">Vous pouvez choisir l'une des images prédéfinies et suivantes à utiliser comme une image symbolique de vous :</td>
                    </tr>
                    <tr align="center" valign="bottom">
        <input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}" /></td>
        
        
        
        </tr>
                    
                    </table>
                 </fieldset>
                
        
                
                 <fieldset class="fieldset">
                    <legend>Avatar privé</legend>
        
                    <div style="padding:3px">
        
                    <div class="fieldset">
        
                   Si vous utilisez un jeton spécial et que vous ne souhaitez pas le remplacer et conserver l'image actuelle, laissez les cases ci-dessous telles qu'elles sont.<br /><br />
        
                    <label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes"  />Avatar Privé</label><br /><br />
        
                  Vous pouvez télécharger une nouvelle image personnalisée en utilisant les options ci-dessous.<br /><br />
        
                    
                   Option 1 - Entrez le lien de l'image dans l'autre emplacement
        
        
                    <div style="padding:3px">
        
                       <input type="text" class="bginput" name="avatarurl" value="http://www." onchange="avatarremoteurl" size="45"maxlengthr="ltr" />
                       <input type="hidden" name="MAX_FILE_SIZE" value="52428800" />
                    </div>
                    
        
                    Option 2 - Soulevez l'image de votre appareil
                    <div style="padding:3px">
                             <input class="post" type="file" name="avatar">
                    </div>
        
                    
                    {L_AVATAR_EXPLAIN}
                    
        
                    </div>
        
                    </div>
                 </fieldset>
                
        
              </div>
           </div>
                  <!-- 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 -->
           </td>
        
        </tr>
        </table>
        
        </form>
        
        </td>
        </tr>
        </table>
      

Merci de m'aider



Bonne journée


Dernière édition par Kaeyla le Dim 8 Juil 2018 - 21:19, édité 1 fois
Milouze14
Milouze14
Fondateur

https://www.milouze14.net/

MessageMilouze14 Dim 8 Juil 2018 - 8:19

Hello Kaeyla,
avec le codage de ton template, tout fonctionne pour ma part, les changements se font correctement.
Ensuite pour redimensionner l'éditeur dans la signature.

Tu peux tester ce script:

Modules/HTML JAVASCRIPT/Gestion des codes JavascriptCréer un nouveau javascript


Mets un titre explicite.
Coches sur toutes les pages.


Déposez ceci:
Code:

if(document.title=="Editer mon profil"){
$(function(){
$('#parent_editor_simple').css('width','60%');
});
}



Penses a cliquer sur le bouton Valider

Pour ton template, c'est vrai que c'est vraiment le ... pasvuT Ha ha ha .

La balise de fermeture
Code:
</form>

en bas de page est toujours rouge, je n'arrive a trouver pourquoi!!!
Voilà ton template corrigé:
Code:
         
         
            <form action="{S_PROFILE_ACTION}" {S_FORM_ENCTYPE} method="post" id="register" name="register">
         
            <!-- table to support left column nav -->
            <table cellpadding="1" cellspacing="2" border="0" width="100%" align="left">
            <tr valign="top">
            <td>
         
            <!-- usercp nav -->
            <table class="tborder" cellpadding="1" cellspacing="10" border="0">
            <tbody>
            <tr><td class="tcat" nowrap="nowrap"><a href="profile?mode=editprofile">Panneau de Contrôle</a></td></tr>
         
            <tr><td class="thead"><a href="">{L_MY_PROFILE}</a></td></tr>
              <tr><td class="alt1" nowrap="nowrap"><a class="smallfont" href="profile.profile.php?do=editprofile">Modifier mon profil</a></td></tr>
           
           
           
            <tr><td class="thead">Communication</td></tr>
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=friendsfoes">Contact et Amies</a></td></tr>
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="groups">Groupes sociaux</a></td></tr>
           
           
           
              <tr><td class="thead">Options / Paramètres</td></tr>
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=avatars">Modifier l'avatar</a></td></tr>
           
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile">Modifier mail/ Mot de passe</a></td></tr>
         
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=preferences">Modifier les options</a></td></tr>
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile?mode=editprofile&page_profil=signature">Modifier la signature</a></td></tr>
         
            <tr><td class="thead">Message Privé</td></tr>
         
              <tr><td class="alt1" nowrap="nowrap"><a class="smallfont" href="privmsg">Liste des messages</a></td></tr>
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="/privmsg?mode=post">Envoyer un MP</a></td></tr>
           
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="privmsg?folder=outbox">Suivre les messages</a></td></tr>
           
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="privmsg?folder=sentbox">Messages Sortants</a></td></tr>
         
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="msg.forum?folder=savebox">Archiver les messages</a></td></tr>
         
         
            <tr><td class="thead">Thèmes Communs</td></tr>
         
              <tr><td class="alt2" nowrap="nowrap"><a class="smallfont" href="search?search_id=egosearch">Liste des abonnements</a></td></tr>
         
              <tr><td class="alt2" nowrap="nowrap">
                <a class="smallfont" href="profile?mode=editprofile&page_profil=attachments">Pièces jointes</a></td></tr>
          </tbody></table></td>
         
            <!-- / usercp nav -->
         
         
           
       
            <td width="100%">
         
            <!-- main page contents -->
         
            <table class="tborder" cellpadding="1" cellspacing="10" border="0" width="100%" align="center">
         
         
                         
         
            <!-- BEGIN switch_modif_08_07_2010 -->
            <input type="hidden" name="email" value="{EMAIL}" />
            <!-- END switch_modif_08_07_2010 -->
         
            <!-- BEGIN switch_informations_menu -->
         
            <tr>
              <td class="tcat">Modifier mon profil<span class="normal"> {USERNAME}</span></td>
            </tr>
            <tr>
              <td class="thead">Données supplémentaires</td>
         
            </tr>
                    <tr>
              <td class="panelsurround" align="center">
              <div class="panel">
                  <div style="width:550px" align="left">
                         
                    <fieldset class="fieldset">
                        <legend>Mail et Mot de passe</legend>
                        <table cellpadding="0" cellspacing="3" border="0" width="100%">
                        <tr>
         
                          <td>
                                                  <!-- 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="{USERNAME}" /><span class="gen"><b>{USERNAME}</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="{USERNAME}" 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>
                                                                            </td>
                        </tr>
         
                        </table>
                    </fieldset>       
                    <!-- END switch_change_password -->
               
         
         
         
                  </div>
              </div>
              </td>
            </tr>
            </table>
         
            <br>
            <table class="tborder" cellpadding="1" cellspacing="10" border="0" width="100%" align="center">
            <tr>
         
              <td class="thead">Renseignements complémentaires</td>
            </tr>
            <tr>
              <td class="panelsurround" align="center">
              <div class="panel">
                  <div style="width:550px" align="left">
         
              <!-- BEGIN switch_profile_fields -->
         
                  <!-- BEGIN field -->
                  <fieldset class="fieldset">
              <legend>{switch_informations_menu.switch_profile_fields.field.NAME}</legend>
         
              <table cellpadding="0" cellspacing="3" border="0" width="100%">
              <tr>
                  <td>
            {switch_informations_menu.switch_profile_fields.field.DESCRIPTION}</td>
              </tr>
              <tr>
              <td>
            {switch_informations_menu.switch_profile_fields.field.OBJECT}
         
              </td>
              </tr>
            </table>
            </fieldset>
                  <!-- 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" ></span>{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="200">
                    <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="200">
         
                    <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="200">
                    <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="200">
                    <!-- 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="200">
                    <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="200">
                    <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 -->
         
            <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
            <tr>
              <td class="tcat">Modifier l'avatar</td>
            </tr>
            <tr>
              <td class="panelsurround" align="center">
         
              <div class="panel">
                  <div style="width:550px" align="left">
         
                    <fieldset class="fieldset">
                        <legend>Votre avatar actuel
         
            </legend>
                        <table cellpadding="0" cellspacing="3" border="0">
                        <tr>
                          <td align="top">
                              <br />
         
                              {AVATAR}<br />
         
            </td>
<td class="smallfont">
<div style="margin-bottom:3px">Avatar: est une petite image qui apparaît sous le nom de l'auteur dans tous ses messages et messages privés.</div>
<div style="margin-bottom:3px">
<label for="rb_avatarid_no">
<input type="checkbox" name="avatardel"/>Voulez vous supprimer l'avatar actuel ?</label>
</div>
<div>Supprimer l'avatar actuel ?
Note : Une fois que vous aurez cliqué sur l'option ci-dessus, vous supprimerez votre avatar..</div>
</td>
                        </tr>
                        </table>
         
                    </fieldset>
         
                 
                    <fieldset class="fieldset">
                        <legend>Avant de sélectionner des images de membres du public</legend>
                        <table cellpadding="0" cellspacing="3" border="0" width="100%">
                        <tr>
                          <td colspan="1">
                           
                          </td>
                        </tr>
         
                        <tr>
                          <td colspan="1">Vous pouvez choisir l'une des images prédéfinies et suivantes à utiliser comme une image symbolique de vous :</td>
                        </tr>
                        <tr align="center" valign="bottom">
                          <td>
            <input class="liteoption" type="submit" name="avatargallery" value="{L_SHOW_GALLERY}"/></td>
         
         
         
            </tr>
                     
                        </table>
                    </fieldset>
                 
         
                 
                    <fieldset class="fieldset">
                        <legend>Avatar privé</legend>
         
                        <div style="padding:3px">
         
                        <div class="fieldset">
         
                      Si vous utilisez un jeton spécial et que vous ne souhaitez pas le remplacer et conserver l'image actuelle, laissez les cases ci-dessous telles qu'elles sont.<br /><br />
         
                        <label for="avatar_yes"><input type="radio" name="avatarid" value="0" id="avatar_yes"  />Avatar Privé</label><br /><br />
         
                      Vous pouvez télécharger une nouvelle image personnalisée en utilisant les options ci-dessous.<br /><br />
         
                     
                      Option 1 - Entrez le lien de l'image dans l'autre emplacement
         
         
                        <div style="padding:3px">
         
                          <input type="text" class="bginput" name="avatarurl" value="http://www." onchange="avatarremoteurl" size="45"maxlengthr="ltr" />
                          <input type="hidden" name="MAX_FILE_SIZE" value="52428800" />
                        </div>
                     
         
                        Option 2 - Soulevez l'image de votre appareil
                        <div style="padding:3px">
                          <input class="post" type="file" name="avatar"/>
                        </div>
         
                     
                        {L_AVATAR_EXPLAIN}
                     
         
                        </div>
         
                        </div>
                    </fieldset>
                 
         
                  </div>
              </div>
                      <!-- 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>
</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 -->

Il y a avait des balises input erronés (pas de fermeture)
Il faut la barre à la fin
Code:

<input type"truc"/>

Il y avait aussi des balises de fermetures table tr td de trop et d'autre qui étaient mal positionnées et d'autre manquante
Kaeyla
Kaeyla
https://sweethome.forumactif.com

MessageKaeyla Dim 8 Juil 2018 - 10:11

Hello Phil.,

C'est parfait pour la signature. J'ai remplacé tout le template comme convenu et plus de rouge. Mais les renseignements complémentaire sur la page d'enregistrement sont aussi dans le profil où je laisse le choix de modifier à la convenance du membre. Quand je veux modifier dans la partie renseignements complémentaires et que je clique sur enregistrement, l'information modifiée n'est pas pris en compte.

Ce sont les infos qu'on peut rajouter à l'inscription : j'ai mis des listes et choix multiples.

J'ai pourtant bien précisé dans "Profil" "Champs du profil" : Qui peut modifier la valeur de son contenu ? et coché L'utilisateur lui même

Essayes voir de ton côté.

Merci infiniment

Bonne journée
Milouze14
Milouze14
Fondateur

https://www.milouze14.net/

MessageMilouze14 Dim 8 Juil 2018 - 10:38

Re Kaeyla,
je peux tout modifier de mon côté chère amie,
tu dois avoir un soucis ailleurs clin oeil .

Kaeyla
Kaeyla
https://sweethome.forumactif.com

MessageKaeyla Dim 8 Juil 2018 - 11:23

Hello Phil.,

Je comprends pas même sur mon forum test, il me fait pareil. J'ai retiré tous les templates...forcer le css de base et désactivé les java. Rien y fait

@+
Milouze14
Milouze14
Fondateur

https://www.milouze14.net/

MessageMilouze14 Dim 8 Juil 2018 - 11:32

Hum,
peut être vider ton cache ?
Sinon, je ne sais quoi te répondre chère amie oups
Kaeyla
Kaeyla
https://sweethome.forumactif.com

MessageKaeyla Dim 8 Juil 2018 - 14:08

Hello,

Alors effectivement ça marche pour un nouveau profil... mais pas pour ceux qui sont déja inscrits.

Je ne vois pas où est vraiment le problème. Je t'ai envoyé un Mp si tu peux passer voir sur mon forum.

Bonne journée
Kaeyla
Kaeyla
https://sweethome.forumactif.com

MessageKaeyla Dim 8 Juil 2018 - 21:18

Hello,

Ça marche très bien c'est le phpbb2 qui fait des siennes et bug... Je passe mon forum en phpbb3

Merci infiniment cher ami

Bonne fin de soirée
Jackymi
Jackymi
MIlouzien regretté

http://www.skywebforum.com/

MessageJackymi Lun 9 Juil 2018 - 0:36

-Staff du Forum Milouze14-



  • Hello 
    Sujet résolu et déplacé dans le forum adéquat.

Pour toute information,merci de contacter un Membre du Staff

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

Créer un compte ou se connecter pour répondre

Vous devez être membre pour répondre.

S'enregistrer

Rejoignez notre communauté ! C'est facile !


S'enregistrer

Connexion

Vous êtes déjà membre ? Aucun soucis, cliquez ici pour vous connecter.


Connexion

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