AccueilAccueil  Dernières imagesDernières images  RechercherRechercher  S'enregistrerS'enregistrer  ConnexionConnexion  



 
Le deal à ne pas rater :
Nike : Jusqu’à 50% sur les articles de fin de saison
Voir le deal

Partagez
 

 Décalage QEEL

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

Argimpasa
Argimpasa
oh my fantastic
Messages : 349
Age : 32
Date d'inscription : 05/03/2016

Décalage QEEL Empty
MessageSujet: Décalage QEEL   Décalage QEEL EmptyMar 6 Déc - 8:56

Bonjour,

Oui c'est encore moi mais je continue d'apprendre le codage et parfois ça coince.
Alors j'ai un soucis avec un petit élément de mon QEEL.
J'ai la liste des membres connectés dans les dernières 24heures qui à un décalage et je ne comprend pas comment remettre "droit".

Je vous montre en image :
https://2img.net/h/oi63.tinypic.com/35b9kyb.png

Si quelqu'un pouvait m'aider.
Merci d'avance
Revenir en haut Aller en bas

Dreamzz
Dreamzz
modératrice
Messages : 375
Age : 30
Date d'inscription : 09/07/2016
Localisation : Montréal

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 8:47

Est-ce que tu peux me passer ton template et ton css qui concerne le qeel? Comme ça c'est un peu de dire l'erreur vient d'où.

Sinon en attendant tu peux voir si tu as laissé dans un tableau la balise des membres connectés durant les 24 dernières heures. Pour une raison qui m'échappe, hors tableau cette balise a tendance à faire des siennes niveau positionnement. C'est probablement le problème en fait si ton code en soit n'a pas de problèmes. Un bobo forumactif à cause de la structure de base de son html.
Revenir en haut Aller en bas

Argimpasa
Argimpasa
oh my fantastic
Messages : 349
Age : 32
Date d'inscription : 05/03/2016

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 11:43

Coucou Very Happy

Alors voici le template :
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'" 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_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" rel="nofollow">{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" rel="nofollow">{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'" 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 -->

<div id="qeel">
      <h1>Qui se promène ?</h1>
      <table width="800px" cellspacing="15px" cellpadding="10px" id="contenu-general">
        <tr>
          <td rowspan="2" class="withbg">
          <h2>Les membres en ligne</h2>
            <p><table>{L_CONNECTED_MEMBERS}
                          <span class="gensmall">
                            {LOGGED_IN_USER_LIST}<br />
              {RECORD_USERS}<br />
              {TOTAL_USERS_ONLINE}
                           
              </span></table>
            </p>
            </td>
          <td class="withbg">
            <h2>Statistiques</h2>
            <p><span class="gensmall">{TOTAL_POSTS}<br /><br />
              {TOTAL_USERS}<br /><br />
              {NEWEST_USER}</span></p>
          </td>
        </tr>
        <tr>
          <td class="withbg">
            <h2>Partition</h2><table class="annifs"> <center><iframe style="border:none" src="http://files.podsnack.com/iframe/embed.html?hash=a13a6pkk&useOnSW=true&t=1471471556" width="340" height="27" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true" frameborder="0"></iframe></center>
         
          </table>
          </td>
        </tr>
        <tr>
          <td colspan="2" class="withbg groups">
            <!-- <h2>Groupes</h2> -->
            <p><span class="gensmall"><!-- {LEGEND} :  -->{GROUP_LEGEND}</span></p>
          </td>
        </tr>
      </table>

  <div id="credits">QEEL by <a href="http://www.never-utopia.com">Never-Utopia</a></div>
  </div>
{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> &nbsp;</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>
    FB.init({
      appId      : {switch_fb_index_login.FACEBOOK_APP_ID},
      cookie    : true,
      xfbml      : true,
      oauth      : true,
      version    : 'v2.3'
    });

  (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->

et voici la fiche css (on ne sait jamais) :
Code:
/* CODES POUR LE QEEL */

#qeel h1, #qeel h2, #qeel h3, #qeel p {
        margin: 0; padding: 0; font-weight: normal;
      }

      #qeel {
        width: 900px;
        min-height: 300px;
        border-radius: 10px;
        background: #0c0c1c;
        margin: 75px auto 20px;
        position: relative;
        padding-top: 50px;
        font-family: "Alfa Slab One", sans-serif;
        font-size: 12px;
        letter-spacing: 1px;
        color: gray;
      }

      #qeel a {
        color: darkgray;
        text-decoration: none;
      }

      #qeel a, #qeel h2 {
        -webkit-transition: all .2s ease;
        -moz-transition: all .2s ease;
        -ms-transition: all .2s ease;
        -o-transition: all .2s ease;
        transition: all .2s ease;
      }

      #qeel a:hover {
        color: #d74e77;
      }
     
      #qeel h1 {
        width: 328px;
        height: 83px;
        background: url("http://i63.tinypic.com/21bm25h.png") no-repeat;
        position: absolute;
        top: -58px;
        left: 50%;
        margin-left: -164px;
        text-indent: -9999px;
      }

      #qeel td {
        vertical-align: top;
      }

      #qeel td p .gensmall, #qeel td.row1 .gensmall, #qeel .gensmall {
        font-family: "century gothic", sans-serif;
        color: #272743;
        font-size: 10px;
      }

      #qeel table td {
        border-radius: 0px;
        position: relative;
        padding-top: 25px;
        min-height: 80px;
  left: 50px;
      }

      #qeel table td.withbg {
        background: #111124;
      }

      #qeel h2 {
        /*height: 34px;*/
        position: absolute;
        top: -12px;
        z-index: 3;
        font-size: 24px;
        font-family: 'Amatic SC', cursive;
        color: #af476c;
      }

      #qeel h2:hover {
        color: #4d6dab;
      }

      #qeel td.row1, td.row3.over:hover {
        background-color: transparent !important;
      }

      #qeel table.annifs {
        margin-top: -30px !important;
  height: 25px
      }

      table.annifs tbody tr:nth-child(2) td {
        padding-top: 0px !important;
      }

      .groups {padding: 10px !important; text-align: center; }

/* CREDITS */

      #credits {
        position: absolute;
        padding: 0px 10px;
        bottom: -20px;
        right: 0px;
        height: 20px;
        line-height: 20px;
        font-size: 8px;
        color: gray;
        text-transform: uppercase;
        text-shadow: 1px 1px 0px #ffffff;
      }
body {
background-color: #01011b;
background-image: url("http://image.noelshack.com/fichiers/2016/28/1468600769-sans-titre-1.gif");
background-repeat:no-repeat
background-position: top center;}
Revenir en haut Aller en bas

Dreamzz
Dreamzz
modératrice
Messages : 375
Age : 30
Date d'inscription : 09/07/2016
Localisation : Montréal

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 12:24

Oui c'est bien l'histoire des tableaux... J'ai hâte que FA fasse enfin le ménage dans la rédaction des templates...

Si tu encadres {TOTAL_USERS_ONLINE} d'un tableau ça devrait régler le soucis.
Code:
<table><tr><td>{TOTAL_USERS_ONLINE}</td></tr></table>

Je suis sur Ipad donc j'ai pas testé, comme c'est pas pratique. Si ça ne règle rien j'vais essayer de soudoyer mon copain pour qu'il laisse tomber lol le temps que je teste autre chose!
Revenir en haut Aller en bas

Argimpasa
Argimpasa
oh my fantastic
Messages : 349
Age : 32
Date d'inscription : 05/03/2016

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 13:00

Le tableau c'est bien table? Si c'est le cas j'ai déjà essayé de l'enlever, voire de le déplacer en mettant une autre ligne mais ça ne marche pas :s
Revenir en haut Aller en bas

Dreamzz
Dreamzz
modératrice
Messages : 375
Age : 30
Date d'inscription : 09/07/2016
Localisation : Montréal

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 14:17

Bon... Une erreur toute bête de ma part, J'ai mal ciblé l'élément, il s'agit plutôt de {L_CONNECTED_MEMBERS}. Mais je remarque un truc étrange dans ton code maintenant que je l'ai observé plus attentivement. Tu as un tableau sans lignes ni cellules... Dans une balise p aussi.
Bon j'arrive pas à copier le code du coup je peux pas te faire les modifications, alors je vais essayer de faire simple dans les explications!
En gros tu vires les deux balises table. Tu vires aussi le l connected members. Puis après ta dernière balise p dans cette cellule (donc entre les td de cette partie) tu crées un tableau avec une rangée et une cellule.
Code:
<table><tr><td>{L_CONNECTED_MEMBERS}</td></tr></table>
Je sais pas si c'est clair? Mon pc étant en réparation je suis un peu plus limitée =|
Revenir en haut Aller en bas

Argimpasa
Argimpasa
oh my fantastic
Messages : 349
Age : 32
Date d'inscription : 05/03/2016

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL EmptyMer 7 Déc - 19:17

Alors non, je n'ai pas réussis mais je pense ne pas avoir compris de quelle cellule tu parles :s Désolée d'être quiche
Revenir en haut Aller en bas


Contenu sponsorisé

Décalage QEEL Empty
MessageSujet: Re: Décalage QEEL   Décalage QEEL Empty

Revenir en haut Aller en bas
 

Décalage QEEL

Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1

 Sujets similaires

-
» Problème de background dans les stats QEEL

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
OH MY RPG! :: OH MY SERVICES ! :: Le codage :: Questions/Réponses-