Le qui est en ligne bug

2 participants

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

Résolu Le qui est en ligne bug

Message par Black Moon Dim 12 Fév 2012 - 11:48

Bonjour, bonsoir,
J'ai un petit soucis avec mon qui est ligne. Avant, tout fonctionnait bien, j'ai trouvé le code sur un forum qui n'est pas le mien et que je ne retrouve plus.
Il y a trois jours, des images tinypic se sont placées alors que je n'ai jamais utiliser cet hébergeur.
Voici la partie de mon CSS pour le qui est en ligne :
Code:
/*QEEL*/
.statistiques{
border:2px; /*Bordure du fond*/
background-image: url("http://i47.servimg.com/u/f47/15/87/46/48/queel_10.jpg"); /*Image du fond*/
background-repeat: No-repeat; /*Répétition ou non du fond*/
background-position: center; /*Centrer le fond*/
background-color: #E6D4B1
color: black ;
}

.groupes{
background-color:#E6D4B1;  /*Couleur du fond des groupes*/
opacity: 30; /*Transparence du fond des groupes*/
border: 2px #000 solid; /*Taille, couleur et style de la bordure*/
height:40px;padding-right:12px;
    -border-radius: 5px; /* tous les côtés sont arrondis */
-moz-border-radius: 5px; /* tous les côtés sont arrondis */
-webkit-border-radius: 5px; /* tous les côtés sont arrondis */
-moz-border-radius-bottomleft: 5px;
padding-left: 10px; /*Espace entre le texte et la gauche de la case*/
padding-bottom:3px; /*Espace entre le texte et le bas de la case*/
font-size:15px; /*Taille du texte*/
font-weight: bold; /*Style du texte*/
text-align:center; /*Alignement du texte*/
text-decoration: none !important;
}

Voici ma template (index-body) modifié :
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" cellpadding="2" width="900" border="0" class="statistiques">
  <tr>
<td width="10%"></td>
<td width="40%">
<br><br><br><br><br><br><br><center>
<span class="groupes"> <a href="http://little-paradise.forumactif.org/g1-le-directeur"><font color="#000000" size="TAILLE"><b>Le Directeur</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg">
<span class="groupes"><a href="http://little-paradise.forumactif.org/g2-professeurs"><font color="#544959" size="TAILLE"><b>Professeurs</b></font></a> </span> <img src="http://i31.tinypic.com/mugck1.jpg"><br>
<span class="groupes"> <a href="http://little-paradise.forumactif.org/g3-saturn"><font color="#73647A" size="TAILLE"><b>Saturn</b></font></a></span> <img src="http://i31.tinypic.com/mugck1.jpg">
<span class="groupes"> <a href="http://little-paradise.forumactif.org/g4-mercury"><font color="#93809C" size="TAILLE"><b>Mercury</b></font></a> </span>

<span class="groupes"> <a href="http://little-paradise.forumactif.org/g5-venus"><font color="#AF98C0" size="TAILLE"><b>Venus</b></font></a></span>
  <span class="groupes"> <a href="http://little-paradise.forumactif.org/g6-mars"><font color="#CFAED6" size="TAILLE"><b>Mars</b></font></a> </span><br><br>
<span class="gensmall"><span id="LALALALALA">{TOTAL_POSTS}<script type="text/javascript">document.getElementById('bert').innerHTML=document.getElementById('LALALALALA').innerHTML.replace(/Nos membres ont posté un total de/,"Les étudiants ont suivit");</script><script type="text/javascript">document.getElementById('bert').innerHTML=document.getElementById('bert').innerHTML.replace(/messages/,"cours");</script></span>. {TOTAL_USERS}<br />
{NEWEST_USER}<br><br>
{TOTAL_USERS_ONLINE}<br>
<span id="">{LOGGED_IN_USER_LIST}</span><script type="text/javascript">document.getElementById('Il y a en ce moment').innerHTML.replace(/utilisateurs en ligne/,"étudiant(s) connécté(s)");</script></center></span><br>
<td width="5%"></td>
</tr>
</table>
 
<table border="0" cellspacing="3" cellpadding="0" width="700" align="center" style="text-align: justify">
{L_CONNECTED_MEMBERS}</table>
<br>
<!-- 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="http://i47.servimg.com/u/f47/15/87/46/48/new_me10.gif" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="http://i47.servimg.com/u/f47/15/87/46/48/no_new10.gif" 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="http://i47.servimg.com/u/f47/15/87/46/48/verou10.gif" 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 -->

J'espère que vous pourrez m'aider.
Cordialement.
Black moon


Dernière édition par Black Moon le Lun 13 Fév 2012 - 17:55, édité 1 fois
Black Moon

Black Moon
Nouveau membre

Messages : 20
Inscrit(e) le : 07/03/2011

http://cuadra-eclispe.forumactif.org
Black Moon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Le qui est en ligne bug

Message par Aliichaa Dim 12 Fév 2012 - 13:15

Il m'est arriver la même chose ^^

Il te suffit de supprimer ce code dans ton template, bien sur, il y est plusieurs fois mais, il ne se trouve qu'au niveau des groupes !
Code:
<img src="http://i31.tinypic.com/mugck1.jpg">

J'espère t'avoir aidé =)
Aliichaa

Aliichaa
****

Féminin
Messages : 331
Inscrit(e) le : 13/12/2010

http://test-shinepikapi.forumpersos.com/
Aliichaa a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Le qui est en ligne bug

Message par Black Moon Lun 13 Fév 2012 - 17:54

Hello,
Wah parfait merci !
Je suis pas vraiment douée, c'était super simple.
En tout cas, merci énormément.

Black moon
Black Moon

Black Moon
Nouveau membre

Messages : 20
Inscrit(e) le : 07/03/2011

http://cuadra-eclispe.forumactif.org
Black Moon a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Le qui est en ligne bug

Message par Aliichaa Mar 14 Fév 2012 - 16:43

De rien ^^ !
Aliichaa

Aliichaa
****

Féminin
Messages : 331
Inscrit(e) le : 13/12/2010

http://test-shinepikapi.forumpersos.com/
Aliichaa a été remercié(e) par l'auteur de ce sujet.

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