Correction d'une erreur dans mon code QEEL

4 participants

Page 2 sur 2 Précédent  1, 2

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

Résolu Correction d'une erreur dans mon code QEEL

Message par Naruhiko Mer 3 Avr 2013 - 16:07

Rappel du premier message :

Bonjour à tous ! Après plusieurs heures perdue à essayer de régler mon petit problème, je décide enfin de demander de l'aide sur le support, je suis quelque peut désespéré... Avant tout un grand merci à la personne qui s'occupera de mon problème !

J'ai récemment eu l'idée de créer mon "Qui est en Ligne", tout c'est très bien passé, le CSS/HTML pas de problème. A peine fini, quand je veux retourner dans mon panneau d'administration, je vois que les liens ont changés de police. J'ai la "preuve" que ça vient du QEEL, quand je vais sur une autre page du forum (sous-forum, messages, ...) les liens redeviennent comme avant. Voici deux screens qui montre d'abord avec le QEEL et après sur une autre page (cliquez sur les liens pour voir les images). Je vois vraiment pas d'où cela peut provenir... en plus dans mon template rien n'est rouge, enfin... rien ne montre qu'il y a d'erreur dans le code.

C'est pas un très gros problème, mais je suis très pointilleux, j'aime que tout soit parfait (même si rien n'est jamais parfait :p). Je suis bien sûr en PHPBB2, j'ai quelques templates modifiés (index_body, index_box et overall_header qui n'est pas encore en ligne) et le lien de mon forum est http://naruto-the-destiny.forumactif.com .

Vous aurez probablement besoin de mon template index_body que voici :
Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table width="100%" border="0" border-color="#CADBE3" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%" class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

<!-- BEGIN disable_viewonline -->
<center><table><tr>

<table cellspacing="2" cellpadding="2" width="980px" class="villages"><tr><td width="100%"><center>
  <img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}"/><br /><br />
      <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g2-konoha" title="Shinobis de Konoha"><font color="#57B509" size="2">木の葉 Konoha 木の葉</font></a></span>
     <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g3-suna" title="Shinobis de Suna"><font color="#E0B300" size="2">砂 Suna 砂</font></a></span>
     <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g4-kiri" title="Shinobis de Kiri"><font color="#0AA5CC" size="2">桐 Kiri 桐</font></a></span>
     <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g6-kumo" title="Shinobis de Kumo"><font color="#FFEE33" size="2">雲 Kumo 雲</font></a></span>
     <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g5-iwa" title="Shinobis d'Iwa"><font color="#8C6415" size="2">岩 Iwa 岩</font></a></span>
     <span class="groupes"><a href="http://naruto-the-destiny.forumactif.com/g7-akatsuki" title="Membre de l'Akatsuki"><font color="#E01212" size="2">暁 Akatsuki 暁</font></a></span>
</center></td></tr></table>

<table cellspacing="2" cellpadding="2" width="980px" class="statistiques"><tr><td width="100%"><span class="gensmall"><center>
   <br /><span id="totalposts">{TOTAL_POSTS}</span>
   <br /><span id="totalusers">{TOTAL_USERS}</span>
   <br /><br /><span id="newestuser">{NEWEST_USER}</span>
   <br /><span id="totaluseronline">{TOTAL_USERS_ONLINE}</span>
   <br /><span id="loggedinuserlist">{LOGGED_IN_USER_LIST}</span>
</center></span></td></tr></table>
 
<table cellspacing="2" cellpadding="2" width="980px" class="connectes"><tr><td width="100%">
   {L_CONNECTED_MEMBERS}
</td></tr></table>

</tr></table></center>
<script type="text/javascript">
document.getElementById('totalposts').innerHTML=document.getElementById('totalposts').innerHTML.replace(/Nos membres ont posté un total de (.+) message(s?)/,'Les shinobis ont écrit un total de $1 parchemins.');
document.getElementById('totalusers').innerHTML=document.getElementById('totalusers').innerHTML.replace(/Nous avons (.+) membre(s?) enregistré(s?)/,'Il y a $1 shinobi$2 identifié$2.');
document.getElementById('newestuser').innerHTML=document.getElementById('newestuser').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,'Le dernier ninja à nous avoir rejoint est');
document.getElementById('totaluseronline').innerHTML= document.getElementById('totaluseronline').innerHTML.replace(/Il y a en tout (.+) utilisateur(s?) en ligne :/,'Il y a $1 shinobi$2').replace(/Enregistré(s?)/,'Identifié$1').replace(/Invisible(s?)/,'Camouflé$1').replace(/Invité(s?)/,'Inconnu$1');
document.getElementById('loggedinuserlist').innerHTML=document.getElementById('loggedinuserlist').innerHTML.replace(/Utilisateur(s?) enregistré(s?) :/,'Shinobi$1 identifié$1:');
</script>
<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>  </td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
    status: true,
    cookie: true,
    xfbml: true,
   oauth: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->
Je doute que vous ayez besoin du CSS, mais si besoin, n'hésitez pas à demander.

Merci !
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Dim 5 Mai 2013 - 14:46

Up
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Ven 10 Mai 2013 - 20:54

Up
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Dim 12 Mai 2013 - 20:08

Up
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Mar 14 Mai 2013 - 16:23

Up
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Mer 15 Mai 2013 - 15:00

UP
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Naruhiko Mar 21 Mai 2013 - 23:44

up
Naruhiko

Naruhiko
****

Masculin
Messages : 201
Inscrit(e) le : 21/06/2012

http://naruto-the-destiny.forumactif.com
Naruhiko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Anzu Mar 28 Mai 2013 - 17:16

Bonsoir,

Le problème vient d'une erreur au niveau d'une ou plusieurs balise(s). (je vote pour table).
Quand je regarde votre code, il y a pleins de choses inutiles. Pas la peine de faire 50 tableaux pour votre qeel, un seul suffit.

Donc:

Code:
<table><tr><td>contenu groupes</td></tr>
<tr><td>stats</td></tr>
<tr><td>membres connectés dans les dernières 24h(ici il faudra cependant rajouter les balises table autour de la variable)</td></tr>
</table>

Les class vous les rajoutez directement dans les td Wink

Et un seul center suffira, mais autant passer par la css.

Cela devrait régler le problème, en tout cas c'est bon de mon côté.

Cordialement.
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Correction d'une erreur dans mon code QEEL

Message par Anzu Ven 31 Mai 2013 - 0:00

qeel - Correction d'une erreur dans mon code QEEL - Page 2 Ktip10Bonjour,

Où en-est votre problème ?

Deux solutions :
  • Votre problème est résolu, dans ce cas pensez à nous le signaler en cochant l'icône résolu en éditant votre premier message,
  • Votre problème est toujours d'actualité, et dans ce cas pensez à faire des UP régulièrement, afin de ne pas voir votre sujet délesté,


A bientôt sur ForumActif Smile
Anzu

Anzu
Membre actif

Féminin
Messages : 20685
Inscrit(e) le : 30/08/2007

https://forum.forumactif.com/
Anzu a été remercié(e) par l'auteur de ce sujet.

Page 2 sur 2 Précédent  1, 2

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

- Sujets similaires

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