Correction d'une erreur dans mon code QEEL
4 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 2 • Partagez
Page 1 sur 2 • 1, 2
Correction d'une erreur dans mon code QEEL
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 :
Merci !
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 -->
Merci !
Re: Correction d'une erreur dans mon code QEEL
Un petit UP ^^
Re: Correction d'une erreur dans mon code QEEL
Un autre petit UP ^^
Re: Correction d'une erreur dans mon code QEEL
Un p'tit troisième pour la route : UP =D
Re: Correction d'une erreur dans mon code QEEL
Tu veux dire que la police de caractère en pied de page ( Si ce se dit comme sa ) Change ?
Genre sa passe de Time News Roman à Comic Sans Ms ?
Genre sa passe de Time News Roman à Comic Sans Ms ?
Re: Correction d'une erreur dans mon code QEEL
Je suis pas très calé, en codage :$,
Mais le problème est uniquement sur la page ' d’accueil ' ?
Mais le problème est uniquement sur la page ' d’accueil ' ?
Re: Correction d'une erreur dans mon code QEEL
Bonsoir
Voilà ce à quoi je suis arrivé, la taille de la police d'écriture des liens en bas de page est revenue à la normale :
Voilà ce à quoi je suis arrivé, la taille de la police d'écriture des liens en bas de page est revenue à la normale :
- 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 -->
<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%"></td></tr></table>
<center><table><div style="background;>{L_CONNECTED_MEMBERS}</div></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 -->
Re: Correction d'une erreur dans mon code QEEL
Bonsoir,
Avant tout merci pour vos réponses. Effectivement c'est que sur la page d'accueil AvengerBlack. Scipion j'ai testé votre code, merci les liens sont redevenus normal, cependant j'ai trois autres problèmes qui sont apparus. Le premier est que dans le template il y a visiblement une erreur (vu que quand je colle dans forumactif, tout le reste de mon template devient rouge). Ensuite "les membres connectés au cours des X dernières heures" s'affiche, mais hors de mon div. Et enfin le QEEL s'est décaler de quelques millimètres vers la gauche (vous pouvez le voir, j'ai enregistré le template).
Merci d'avance
Avant tout merci pour vos réponses. Effectivement c'est que sur la page d'accueil AvengerBlack. Scipion j'ai testé votre code, merci les liens sont redevenus normal, cependant j'ai trois autres problèmes qui sont apparus. Le premier est que dans le template il y a visiblement une erreur (vu que quand je colle dans forumactif, tout le reste de mon template devient rouge). Ensuite "les membres connectés au cours des X dernières heures" s'affiche, mais hors de mon div. Et enfin le QEEL s'est décaler de quelques millimètres vers la gauche (vous pouvez le voir, j'ai enregistré le template).
Merci d'avance
Re: Correction d'une erreur dans mon code QEEL
Des nouvelles ?
Re: Correction d'une erreur dans mon code QEEL
Bonjour
J'ai essayé mais sans résultat car votre 'Qui est en ligne' a une partie en CSS.
Cordialement
J'ai essayé mais sans résultat car votre 'Qui est en ligne' a une partie en CSS.
Cordialement
Re: Correction d'une erreur dans mon code QEEL
D'accord, voici ce fameux CSS :
Merci
Merci
Re: Correction d'une erreur dans mon code QEEL
Bonsoir
Faites un test :
Faites un test :
- Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" 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 class="row1" 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}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_delete_cookies -->
<br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
<!-- END switch_delete_cookies -->
</td>
<td width="50%" align="right">
<span class="gensmall">
<a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
<a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
<a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
<!-- BEGIN switch_on_index -->
<!-- BEGIN switch_delete_cookies -->
<br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
<!-- END switch_delete_cookies -->
<!-- END switch_on_index -->
</span>
</td>
</tr>
</table>
<!-- 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 -->
<table cellspacing="2" cellpadding="2" width="900px" 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="900px" 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>
<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(/Michel(s?)/,'Inconnu$1');
document.getElementById('loggedinuserlist').innerHTML=document.getElementById('loggedinuserlist').innerHTML.replace(/Utilisateur(s?) enregistré(s?) :/,'Shinobi$1 identifié$1:');
</script>
<table cellspacing="2" cellpadding="2" width="900px" class="connectes">
<tr>
<td width="100%">
<span class="gensmall">
<center>
<table>
<div style="background;>
{L_CONNECTED_MEMBERS}
</div>
</table>
</center>
</span>
</td>
</tr>
</table>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- 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 -->
Re: Correction d'une erreur dans mon code QEEL
J'ai essayé, malheureusement ça ne fonctionne pas... Voyez par vous-même sur mon forum : " http://naruto-the-destiny.forumactif.com/ ".
Cordialement.
Cordialement.
Page 1 sur 2 • 1, 2
Sujets similaires
» Où est l'érreur dans mon code de mon QEEL ?
» Erreur dans le code d'un formulaire
» Erreur de code dans un des tutoriels ?
» Erreur dans le code du forum
» Problème de code dans QEEL
» Erreur dans le code d'un formulaire
» Erreur de code dans un des tutoriels ?
» Erreur dans le code du forum
» Problème de code dans QEEL
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 2
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum