template index-body (le QEEL)

2 participants

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

Résolu template index-body (le QEEL)

Message par Valiane Mar 26 Juin 2012 - 22:18

Bonsoir =)

J'ai un soucis avec le template "indox-body". J'ai beau m'acharner dessus, je n'en peux plus, je rends les armes, je hisse le drapeau blanc et je vous demande pitié x).

Le forum : http://forumtestdevaliane.forumactif.org
Le template concerné :
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>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
         <!-- END switch_delete_cookies -->
         </span>
      </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" width="900" border="0" class="statistiques">
  <tr>
<td>
<center><br><br><br>
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g1-les-guides-d-akklhadians"><font color="#CD0101" size="3"><b>Les Guides d'Akklhadians
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"><a href="http://akklhadianempire.forumgratuit.fr/g3-asvars"><font color="#FE6F01" size="3"><b>Asvars
</b></font></a> </span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g4-humains"><font color="#4D01FE" size="3"><b>Humains
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g5-maitres-de-jeu"><font color="#804900" size="3"><b>Maîtres de jeu
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg">
<br>
<span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}<br>
{NEWEST_USER}<br><br>
{TOTAL_USERS_ONLINE}<br>
{RECORD_USERS}<br>
{LOGGED_IN_USER_LIST}<br>
{L_CONNECTED_MEMBERS}<br>


<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<!-- 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 -->

La zone du code concernée:
Code:
<!-- BEGIN disable_viewonline -->
<table cellspacing="2" width="900" border="0" class="statistiques">
  <tr>
<td>
<center><br><br><br>
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g1-les-guides-d-akklhadians"><font color="#CD0101" size="3"><b>Les Guides d'Akklhadians
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"><a href="http://akklhadianempire.forumgratuit.fr/g3-asvars"><font color="#FE6F01" size="3"><b>Asvars
</b></font></a> </span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g4-humains"><font color="#4D01FE" size="3"><b>Humains
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg"> .•.
<span
class="groupes"> <a href="http://akklhadianempire.forumgratuit.fr/g5-maitres-de-jeu"><font color="#804900" size="3"><b>Maîtres de jeu
</b></font></a></span> <img
src="http://i31.tinypic.com/mugck1.jpg">
<br>
<span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}<br>
{NEWEST_USER}<br><br>
{TOTAL_USERS_ONLINE}<br>
{RECORD_USERS}<br>
{LOGGED_IN_USER_LIST}<br>
{L_CONNECTED_MEMBERS}<br>


<!-- END disable_viewonline -->

Et le screen du qeel :
Spoiler:

Ceci est le forum que j'utilise pour tester mes codes et graphismes, pardonnez-donc le chantier ^^'

Ma question est simple : par-rapport au screen, pourquoi est-ce que ce qui est encadré en rouge ne veut pas sagement suivre la flèche et remonter vers le haut, en s'alignant avec le reste? Je n'ai pourtant rien demandé de particulier entre le {LOGGED_IN_USER_LIST} et le {L_CONNECTED_MEMBERS}.

Merci d'avance de votre réponse!
Je vous souhaite une excellente soirée,

Valiane


Dernière édition par Valiane le Jeu 28 Juin 2012 - 20:13, édité 1 fois
Valiane

Valiane
**

Féminin
Messages : 62
Inscrit(e) le : 09/01/2010

http://sytrys.forumactif.org/index.htm
Valiane a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par NatureSauvage Mer 27 Juin 2012 - 9:04

Bonjour =)

Ligne 28, remplace :
Code:
{L_CONNECTED_MEMBERS}

Par :
Code:
<table>{L_CONNECTED_MEMBERS}</table>

Ça devrait aller. ^^
avatar

NatureSauvage
***

Messages : 164
Inscrit(e) le : 08/04/2012

http://naturesauvage.forumactif.com/
NatureSauvage a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par Invité Mer 27 Juin 2012 - 9:11

Salut Valiane et NatureSauvage,
oui comme le souligne NatureSauvage il faut insérer la variable dans un tableau.

Bref, après cette variable
Code:
{ LOGGED_IN_USER_LIST }

Pas besoin de retour à la ligne Wink

Ensuite ton span n'était pas fermé
Code:
<span class="gensmall">

Ta template modifiée Wink :


Spoiler:

a++
Anonymous

Invité
Invité


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

Résolu Re: template index-body (le QEEL)

Message par Valiane Mer 27 Juin 2012 - 13:15

Hey Very Happy

Alors là O.O Merci beaucoup! j'avoue ne pas comprendre pourquoi il faut insérer un nouveau tableau, et laisser le premier ouvert mais bref, ça marche oO.
Quant au span, J'ai volontairement enlevé la balise de fermeture, car elle se mettait en rouge et j'essayais de comprendre pourquoi x). Donc je l'ai remise, mais elle est rouge vif, je suppose que quelque chose doit coincer quelque part (un jour, je mangerai mes codes ><).

Une dernière question qui va vous paraître bien bête mais... comment enlever la couleur de fond deriière les membres connecté au court des 24h?

Encore merci de votre aide!
Valiane

Valiane
**

Féminin
Messages : 62
Inscrit(e) le : 09/01/2010

http://sytrys.forumactif.org/index.htm
Valiane a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par NatureSauvage Mer 27 Juin 2012 - 14:15

Là, malheureusement, il me semble que tu ne peux pas.
C'est la couleur de ton fond des tables. Wink
avatar

NatureSauvage
***

Messages : 164
Inscrit(e) le : 08/04/2012

http://naturesauvage.forumactif.com/
NatureSauvage a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par Valiane Mer 27 Juin 2012 - 14:24

*décide de bouder* ^^

Mais pourquoi est-ce possible pour tout le reste du qeel sauf ça? (question de pure curiosité)

Merci de ta réponse =)
Valiane

Valiane
**

Féminin
Messages : 62
Inscrit(e) le : 09/01/2010

http://sytrys.forumactif.org/index.htm
Valiane a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par NatureSauvage Mer 27 Juin 2012 - 15:16

Parce que "ça" il est entre <table>. ^^
avatar

NatureSauvage
***

Messages : 164
Inscrit(e) le : 08/04/2012

http://naturesauvage.forumactif.com/
NatureSauvage a été remercié(e) par l'auteur de ce sujet.

Résolu Re: template index-body (le QEEL)

Message par Valiane Jeu 28 Juin 2012 - 20:13

erf :/ tant pis! enfin merci!

Problème résolu donc =)
Valiane

Valiane
**

Féminin
Messages : 62
Inscrit(e) le : 09/01/2010

http://sytrys.forumactif.org/index.htm
Valiane a été remercié(e) par l'auteur de ce sujet.

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


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