Double "Qui est en ligne?"

3 participants

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

Double "Qui est en ligne?" Empty Double "Qui est en ligne?"

Message par SunYong Sam 24 Mai 2014 - 1:33

Bonjour, bonsoir
Voilà, j'ai essayé de trifouillé les templates un petit peu, et j'ai voulu personnalisé mon QeeL.
Cependant, je me retrouve avec deux QeeL...

Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
   <tr>
      <td valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall">{LAST_VISIT_DATE}<br />
         {CURRENT_TIME}<br />
         </span>
         <!-- END switch_user_logged_in -->
         <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- END switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
   </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">&nbsp;{catrow.tablehead.L_FORUM}&nbsp;</th>
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
   </tr>
   <!-- END tablehead -->
   <!-- BEGIN cathead -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
         <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
               <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
         </h{catrow.cathead.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right">&nbsp;</td>
   </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
      <!-- END inc -->
      <td class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
                 <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                    <span class="forumlink">
                       <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
        
                    </span>
                 </h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.</td></tr></tbody></table>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>      
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
   </tr>
   <!-- END catfoot -->
   <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" id="qeel">
  <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
  </tr>
  <tr>
      <td class="row1" width="100%"><span class="gensmall"><span id="nb_messages">{TOTAL_POSTS}<script type="text/javascript">document.getElementById('nb_messages').innerHTML=document.getElementById('nb_messages').innerHTML.replace(/Nos membres/,"Nos Sheevals");</script></span>
<div></div>
        <span id="mb_inscrits">{TOTAL_USERS}<script type="text/javascript">document.getElementById('mb_inscrits').innerHTML=document.getElementById('mb_inscrits').innerHTML.replace(/membres enregistrés/,"knr inscrit sur ce fat fofo");</script></span>
<div></div>
        <span id="newest">{NEWEST_USER}<script type="text/javascript">document.getElementById('newest').innerHTML=document.getElementById('newest').innerHTML.replace(/L’utilisateur enregistré le plus récent est/,"Le dernier knr inscrit est ");</script></span></span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gensmall"><span class="gensmall"><span id="online">{TOTAL_USERS_ONLINE}<script type="text/javascript">document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/ Enregistré/,"Knr");document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/Invité/, "Fantomas");document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/utilisateur en ligne/, "présent sur ce fat fofo");</script></span>
 <div></div>
      {LOGGED_IN_USER_LIST}</span></td>
  </tr>
  {L_CONNECTED_MEMBERS}
    {L_WHOSBIRTHDAY_TODAY}<span id="anniversaire"></span>
{L_WHOSBIRTHDAY_WEEK}<script type="text/javascript">document.getElementById('anniversaire').parentNode.innerHTML=document.getElementById('anniversaire').parentNode.innerHTML.replace(/Membres/,"Ce(s) fat(s) knr").replace(/Membres/,"Ce(s) fat(s) knr").replace(/Aucun membre/,"Personne").replace(/Aucun membre/,"Personne");</script>
  <tr>
      <td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
  </tr>

<!-- END disable_viewonline -->

Et voici l'adresse de mon forum : http://sheeva-fr.fra.co/

Suite à cela, j'aurais aussi plusieurs question pour la personnalisation
Merci de bien vouloir m'aider !
Bonsoir Smile
avatar

SunYong
Nouveau membre

Messages : 6
Inscrit(e) le : 11/03/2014

http://sheeva-fr.fra.co/
SunYong a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par Neptunia Sam 24 Mai 2014 - 3:59

Bonjour ^^


Le QEEL se situe dans le template index_body

Là vous avez rajouté dans le template index_box une section
Code:
<!-- BEGIN disable_viewonline -->
...
...
...
<!-- END disable_viewonline -->
A partir du moment ou les deux templates seront appelés en même temps, vous aurez 2 QEEL.

1. Vous retirez le code de votre index_box
2. Vous remplacez la section adéquate de votre index_body par le code que vous avez retiré de votre index_box
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par SunYong Dim 25 Mai 2014 - 1:15

Ah !
Merci beaucoup, ca marche :]

J'aurais encore deux - trois questions aussi concernant le template & le CSS :
(Je sais pas si je suis en droit de poser plusieurs questions en même temps?)
D'abbord pour le template :
Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" id="qeel">
  <tr>
      <td class="catHead" colspan="2" height="28">
      <!-- BEGIN switch_viewonline_link -->
      <span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
      <!-- END switch_viewonline_link -->

      <!-- BEGIN switch_viewonline_nolink -->
      <span class="cattitle">{L_WHO_IS_ONLINE}</span>
      <!-- END switch_viewonline_nolink -->
      </td>
  </tr>
  <tr>
      <td class="row1" width="100%"><span class="gensmall"><span id="nb_messages">{TOTAL_POSTS}<script type="text/javascript">document.getElementById('nb_messages').innerHTML=document.getElementById('nb_messages').innerHTML.replace(/Nos membres/,"Nos Sheevals");</script></span>
<div></div>
        <span id="mb_inscrits">{TOTAL_USERS}<script type="text/javascript">document.getElementById('mb_inscrits').innerHTML=document.getElementById('mb_inscrits').innerHTML.replace(/membres enregistrés/,"knr inscrit sur ce fat fofo");</script></span>
<div></div>
        <span id="newest">{NEWEST_USER}<script type="text/javascript">document.getElementById('newest').innerHTML=document.getElementById('newest').innerHTML.replace(/L’utilisateur enregistré le plus récent est/,"Le dernier knr inscrit est ");</script></span></span></td>
  </tr>
  <tr>
      <td class="row1"><span class="gensmall"><span class="gensmall"><span id="online">{TOTAL_USERS_ONLINE}<script type="text/javascript">document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/Enregistré/,"Knr");document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/Invité/,Fantomas");document.getElementById('online').innerHTML=document.getElementById('online').innerHTML.replace(/utilisateur en ligne/, "présent sur ce fat fofo");</script></span>
 <div></div>
      {LOGGED_IN_USER_LIST}</span></td>
  </tr>
  {L_CONNECTED_MEMBERS}
    {L_WHOSBIRTHDAY_TODAY}<span id="anniversaire"></span>
{L_WHOSBIRTHDAY_WEEK}<script type="text/javascript">document.getElementById('anniversaire').parentNode.innerHTML=document.getElementById('anniversaire').parentNode.innerHTML.replace(/Membres/,"Ce(s) fat(s) knr").replace(/Membres/,"Ce(s) fat(s) knr").replace(/Aucun membre/,"Personne").replace(/Aucun membre/,"Personne");</script>
  <tr>
      <td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
  </tr>

<!-- END disable_viewonline -->

La question est : j'ai modifier les écrits dans le QeeL comme vous pouvez le voir, ca s'affiche, sauf pour le "L'utilisateur enregistré le plus récent est", celui ci n'affiche pas ce que j'ai écris.

Après concernant le CSS :
J'ai mis une image de fond, mais celle ci est caché par un fond gris, & je n'arrive pas a centré tout le texte et enlever les séparateurs en pointillé :
Code:
table#qeel{
  background-image: url('http://img4.imageshack.us/img4/8830/quiestlr.png');
  }
table#qeel tr{
  background-color:transparent;
  }
table#qeel{
  border : 3px solid light grey;
  border-radius:12px;
  -moz-border-radius: 12px; /* pour mozilla */
  -webkit-border-radius: 12px; /* pour chrome et safari */
  }
table#qeel td span.gensmall{
  color:#050646;
  font-style: helvitica;
  text-align: center;
  font-variant: small-caps;
  letter-spacing: 1px;
  font-size:12px;
  }

button.button2:hover, input.button2:hover {
   border: 1px solid #FFFFFF;
   color: #592C2C;
        background-image: url('http://www.porcelaingres.fr/img/prodotti/collezioni/just_grey_light_grey.jpg');
   background-position: top;
   background-position: 0 100%;
   }

.bodylinewidth
{
width: 1400px;
margin: auto;
border: dashed 1px;
}

a
{
font-variant: small-caps;
text-decoration: none;
outline:none;
}

a
{
letter-spacing: 1px;
outline: none;
text-decoration: none !important;
}

a:hover
{
text-decoration: none !important;
}

a.forumlink
{
display: block;
font-weight: normal;
font-style: italic;
text-align: center;
margin-left: 100px;
margin-right: 100px;
margin-bottom: 6px;
margin-top: -2px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 5px;
background-image: url('http://img4.imageshack.us/img4/8830/quiestlr.png');
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-radius: 10px 0px 10px 0px;
border-bottom: 2px dotted #000000;

}

a.forumlink:hover
{
text-decoration: none !important;
letter-spacing: 1px;
font-variant: small-caps;
font-weight: bold;
}


.forumline
{
max-width: 1200px;
overflow: auto;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
margin-bottom: 10px;
padding: 4px;
background:
border: 4px double #FFFFFF; /*couleur contour*/
font-size: 12px;
color: transparant;
font-family: helvetica;
}
.forumline a
{
text-decoration: none !important;
font-weight: bold;
color:  transparant;
}
.forumline a:hover
{
text-decoration: none !important;
fotn-weight: bold;
color: ##592C2C !important;
}


.row1,.row2,.row3
{
border-bottom: 1px dotted #000000;
}

a
{
letter-spacing: 1px;
outline: none;
text-decoration: none !important;
}

a:hover
{
text-decoration: none !important;
}

.cattitle
{
display: block;
font-variant: small-caps;
}

a.cattitle
{
display: block;
color: ##592C2C;
padding-left: 0px;
font-variant: small-caps;
}


.quote
{
-moz-border-radius: 15px;
padding-left: 10px;
color: #B6B6CE
}


.wysiwyg
{
  border-right-color-value: #398DDB;
  border-bottom-color: #398DDB;
  border-left-color-value: #398DDB;
  color: #398DDB;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
}



.wysiwyg
{
  border-top-color: #398DDB;
  border-right-color-value: #398DDB;
  border-bottom-color: #398DDB;
  border-left-color-value: #398DDB;
  color: #398DDB;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  font-size: 11px;
  font-style: normal;
  font-variant: normal;
  font-weight: normal;
  border-radius: 10px;
-moz-border-radius: 10px;
-o-border-radius: 10px;
-htm-border-radius: 10px;
-webkit-border-radius: 10px;
}

  .mini_ava {
          float: left;
        }
        .mini_ava img {
          width: 40px;
          height: 40px;
          margin: 0 5px;
          border-radius: 10px;
          transition: all 2s;
          -moz-transition: all 2s;
          -webkit-transition: all 2s;
          -o-transition: all 2s;
        }
        .mini_ava img:hover
        {
          width: 60px;
          height: 60px;
        }
.profilcontent {
    position: relative;
    top: -25px;
}

table.tableau_profil{
  width:200px;
  margin:auto;
  border:0;
  }
 
table.tableau_profil td.haut_tab{
  width:200px;
  height:24px;
  background-image:url('http://leblogdelauretta.com/wp-content/uploads/2013/11/fond-blanc.png');
  background-repeat:no-repeat;
  }
 
table.tableau_profil td.milieu_tab{
  width:200px;
  background-image:url('http://leblogdelauretta.com/wp-content/uploads/2013/11/fond-blanc.png');
  background-repeat:repeat-y;
  padding-left:14px;
  padding-right:14px;
  text-align:center;
  }
 
table.tableau_profil td.bas_tab{
  width:200px;
  height:20px;
  background-image:url('http://leblogdelauretta.com/wp-content/uploads/2013/11/fond-blanc.png');
  background-repeat:no-repeat;
  }
 
table.tableau_profil td.milieu_tab span.pseudo_posteur{
  font-family:Verdana;
  font-size:12pt;
  }
 

 
table.tableau_profil td.milieu_tab div.infos_posteur{
  width:160px;
  margin:auto;
  padding:4px;
  text-align:left;
  font-family:Verdana;
  font-size:10pt;
  color:white;
  background-color:#c4b6a8;
  border:1px solid white;
  opacity:0.5; /* Transparence : 0 = transparent // 1 = opaque */
  -moz-opacity : 0.5; /* Transparence pour Firefox */
    -ms-filter: "alpha(opacity=50)"; /* Transparence pour IE 8 */
    filter : alpha(opacity=50); /* Transparence pour les versions IE antérieure à la 8 */
  }

#chatbox_header .cattitle:before { content: "BlablaBox Des Sheeva"; }
.cattitle > strong {
    display: none;
 color: #bb2534
letter-spacing: 1px;
outline: none;
text-decoration: none !important;
}

.bouhautbas {
    bottom: 600px;
    right: 10px; /* remplacez left par right pour afficher les boutons à droite */
    position: fixed;
    z-index: 100;
}

PS : J'ai mis ici tout mon CSS, mais celui concernant le QeeL se trouve au dessus.

Voilà, voilà ! Merci pour votre temps !
avatar

SunYong
Nouveau membre

Messages : 6
Inscrit(e) le : 11/03/2014

http://sheeva-fr.fra.co/
SunYong a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par SunYong Lun 26 Mai 2014 - 20:30

Up
avatar

SunYong
Nouveau membre

Messages : 6
Inscrit(e) le : 11/03/2014

http://sheeva-fr.fra.co/
SunYong a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par SunYong Mar 27 Mai 2014 - 23:42

Up
avatar

SunYong
Nouveau membre

Messages : 6
Inscrit(e) le : 11/03/2014

http://sheeva-fr.fra.co/
SunYong a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par SunYong Mer 28 Mai 2014 - 23:42

Up !
avatar

SunYong
Nouveau membre

Messages : 6
Inscrit(e) le : 11/03/2014

http://sheeva-fr.fra.co/
SunYong a été remercié(e) par l'auteur de ce sujet.

Double "Qui est en ligne?" Empty Re: Double "Qui est en ligne?"

Message par [Nihil] Jeu 29 Mai 2014 - 11:24

Ton image de fond est masquée car dans ton code, les cellules ont la class "row1". Cette classe rajoute une couleur de fond. Pour l'enlever, tu peux le faire manuellement en enlevant toutes les class (même si ça causera un petit souci à un endroit), ou bien dans ton CSS tu rajoutes ceci :

Code:
#qeel .row1 {
    background-color: transparent;
}

Si tu remplaces
Code:
<span id="newest">{NEWEST_USER}<script type="text/javascript">document.getElementById('newest').innerHTML=document.getElementById('newest').innerHTML.replace(/L’utilisateur enregistré le plus récent est/,"Le dernier knr inscrit est ");</script></span>

Par
Code:
<span id="newest">{NEWEST_USER}<script type="text/javascript">document.getElementById('newest').innerHTML=document.getElementById('newest').innerHTML.replace(/L'utilisateur enregistré le plus récent est /,"Le dernier knr inscrit est ");</script></span>

Cela devrait fonctionner.
En effet tu as mis au lieu de ' (l'utilisateur enregistré...)
[Nihil]

[Nihil]
Membre habitué

Messages : 1215
Inscrit(e) le : 10/12/2009

https://forum.forumactif.com
[Nihil] 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