It is currently Fri 30 Sep 2016 - 23:56 - créer un forum

[tuto]modifier "qui est en ligne"

Skip to content

Post new topic Reply to topic Goto page: <  1, 2, 315, 16, 1747, 48, 49  >

[tuto]modifier "qui est en ligne"
Author Message
themalin


Joined: 19 Apr 2006
Posts: 8,897

PostPosted: Thu 14 Feb 2008 - 20:27    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

PublicitéSupprimer les publicités ?
Previous post review:

bonjour

tu mets ça


 
Code: Sélectionner - Agrandir
<!-- IF S_USER_LEVEL == "ADMIN" --> 
ta partie
<!-- ENDIF --> 
<!-- IF S_USER_LEVEL == "MODO" --> 
ta partie
<!-- ENDIF --> 
<!-- IF S_USER_LEVEL == "USER" --> 
ta partie
<!-- ENDIF -->   
Forum
Author Message
Zanmato


Offline
Guest




PostPosted: Thu 14 Feb 2008 - 21:51    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

et donc je mets toute la partie se trouvant dans mon dernier spoiler?

Pourtant hier j'ai essayé mais ça ne marchait pas;

je réessaierai plus tard quand il y aura moins de monde sur mon forum.


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 14 Feb 2008 - 21:52    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

sinon essayes comme ça


 
Code: Sélectionner - Agrandir
<!-- IF S_USER_LEVEL == "ADMIN" -->  
ta partie 
 
<!-- ELSE IF S_USER_LEVEL == "MODO" -->  
ta partie 
 
<!-- ELSE IF S_USER_LEVEL == "USER" -->  
ta partie 
<!-- ENDIF --> 

_______________________


Forum
Author Message
Zanmato


Offline
Guest




PostPosted: Sat 16 Feb 2008 - 03:07    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Re-bonsoir!

Alors j'ai testé tes 2 méthodes...

Mais j'arrive au même résultat: Tout le monde voit qui est connecté mais seul le premier groupe de personne (ceux du 1er IF voient les grades correctement); les autres groupes dans mon cas MODO et ADMIN voient juste modérateurs et administrateurs.

Je te laisse regarder si tu as le temps le code, voici la page complète:

Code: Sélectionner - Agrandir
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
   <td align="left" valign="bottom"><span class="gensmall">
   <!-- BEGIN switch_user_logged_in -->
   {LAST_VISIT_DATE}<br />
   <!-- END switch_user_logged_in -->
   {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
   <td align="right" valign="bottom" class="gensmall">
      <!-- BEGIN switch_user_logged_in -->
      <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
      <!-- END switch_user_logged_in -->
      <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>

<!-- BEGIN switch_user_logged_out -->

<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
   <tr>
     <th colspan="2" class="thCornerL" height="25" nowrap="nowrap"><a name="login"></a>&nbsp;{L_LOGIN_LOGOUT}&nbsp;</td>
   </tr>
   <tr>
     <td class="catLeft" align="center" valign="middle" height="28"><span class="gentblsmall">{L_USERNAME}:
      <input class="post" type="text" name="username" size="10" />
      &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
      <input class="post" type="password" name="password" size="10" />
      &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
      <input class="text" type="checkbox" name="autologin" />
      &nbsp;&nbsp;&nbsp;
      <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
      </span> </td>
   </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr>
   <td class="catLeft" align="center" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
   <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="50" height="30" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="gentblmed">{catrow.forumrow.FORUM_DESC}<br />
     </span><span class="gentblsmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gentblsmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="50"><span class="gentblsmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row1" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gentblsmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
   <td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
<!-- IF S_USER_LEVEL == "USER" -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_WHO_IS_ONLINE}&nbsp;</td>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img3.xooimage.com/files/w/h/whosonline-34788.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gentblsmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gentblsmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
   <tr><td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td></tr>
</table>
<!-- ELSE IF S_USER_LEVEL == "MODO" -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_WHO_IS_ONLINE}&nbsp;</td>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img3.xooimage.com/files/w/h/whosonline-34788.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gentblsmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gentblsmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
   <tr><td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td></tr>
</table>
<!-- ELSE IF S_USER_LEVEL == "ADMIN" -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_WHO_IS_ONLINE}&nbsp;</td>
  </tr>
  <tr>
   <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img3.xooimage.com/files/w/h/whosonline-34788.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gentblsmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gentblsmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="1" cellspacing="1" border="0">
   <tr><td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td></tr>
</table>
<!-- ENDIF -->


<br clear="all" />

<table cellspacing="0" border="1" bordercolor="#C1DBF4" align="center" cellpadding="0" bgcolor="#000000">
   <tr>
   <td>
   <table cellspacing="2" border="0" align="center" background="http://img3.xooimage.com/files/g/e/gen_background-34785.jpg">
     <tr>
      <td width="20" align="center"><img src="http://img8.xooimage.com/files/4/0/f/folder_new_big-39288.gif" alt="{L_NEW_POSTS}"/></td>
      <td><span class="gentblsmall">{L_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td width="20" align="center"><img src="http://img6.xooimage.com/files/f/o/folder_big-34766.gif" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gentblsmall">{L_NO_NEW_POSTS}</span></td>
      <td>&nbsp;&nbsp;</td>
      <td width="20" align="center"><img src="http://img9.xooimage.com/files/f/o/folder_locked_big-34768.gif" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gentblsmall">{L_FORUM_LOCKED}</span></td>
     </tr>
   </table>
   </td>
   </tr>
</table>


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sat 16 Feb 2008 - 16:05    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

il arrive qu'avec ces codes les rangs ne passe plus très bien le mieux serait de les recréer en suivant ce tuto

http://xooit.xooit.com/t15816-tuto-mettre-les-groupes-dans-qui-est-en-ligne…
_______________________


Forum
Author Message
Zanmato


Offline
Guest




PostPosted: Sun 17 Feb 2008 - 09:53    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Oui sauf que mes rangs et mes groupes sont différents...

Par exemple certains modo ont le même rang mais n'ont pas accès aux même sections...

Donc c'est pour cela que je voulais afficher juste les rangs.


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 17 Feb 2008 - 14:10    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

tu ne fais pas ça comme des groupes mais tu mets ça


 
Code: Sélectionner - Agrandir
[ <b><font color=color>ton rang1</font></b> ]&nbsp;[ <b><font color=color>ton rang2</font></b> ]&nbsp;[ <b><font color=color>ton rang3</font></b> ]&nbsp; 


je te donne juste le tuto pour voir comment faire tu remplaces le code de tes rangs par ce que je viens de mettre
_______________________


Forum
Author Message
rasf


Offline
Guest




PostPosted: Sun 17 Feb 2008 - 15:25    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Voilà mon temeplate.
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
 <td align="left" valign="bottom"><span class="gensmall">
 <!-- BEGIN switch_user_logged_in -->
 <!-- END switch_user_logged_in -->
 
</span><span class="nav">{L_INDEX}</span></td>
 <td align="right" valign="bottom" class="gensmall">
  <!-- BEGIN switch_user_logged_in -->
    <!-- END switch_user_logged_in -->
  {L_SEARCH_UNANSWERED}</td>
  </tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0">
  <tr>
 <th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
 <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
 <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
 <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr>
 <td class="catLeft" colspan="2" height="28"><span class="cattitle">{catrow.CAT_DESC}</span></td>
 <td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr>
 <td class="row1" align="center" valign="middle" height="50">
</td>
 <td class="row1" width="100%" height="50">
         <!-- BEGIN switch_ficons -->
         <table style="padding:0;margin:0;" cellspacing="0" cellpadding="0"><tr><td style="width:{FICONSW}px;padding:3px">{catrow.forumrow.FORUM_ICON}</td><td>
         <!-- END switch_ficons -->
         <span class="forumlink"> {catrow.forumrow.FORUM_NAME}

   </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}
          <!-- BEGIN switch_has_subforums -->
         

          <!-- END switch_has_subforums -->
          <!-- BEGIN subforumrow -->
         
{catrow.forumrow.subforumrow.FORUM_NAME}
          <!-- END subforumrow -->
         

   </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
          <!-- BEGIN switch_ficons -->
          </td></tr></table>
          <!-- END switch_ficons -->
</td>
 <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
 <td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
 <td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
 <td align="left"><span class="gensmall">{L_MARK_FORUMS_READ}</span></td>
 <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>
<table width="100%" cellpadding="3" cellspacing="1" border="0">
  <tr>
 <td class="catHead" colspan="2" height="28"><span class="cattitle">{L_WHO_IS_ONLINE}</span></td>
  </tr>
  <tr>
 <td class="row1" align="center" valign="middle" rowspan="2">
</td>
 <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}
{RECORD_USERS}

{LOGGED_IN_USER_LIST}

{L_ONLINE_EXPLAIN}</span></td>
  </tr>
   <td class="row1" align="left"><span class="gensmall">
    {L_LEGEND}
    <!-- BEGIN ranks_legend_row -->
    :: <span style="font-weight:bold;color:#{ranks_legend_row.COLOR}">{ranks_legend_row.TITLE}</span>
    <!-- END ranks_legend_row -->
    <!-- BEGIN switch_oldlegend -->
    :: {L_WHOSONLINE_ADMIN} :: {L_WHOSONLINE_MOD}
    <!-- END switch_oldlegend -->
    </span>
   </td>
  </tr>
</table>


<!-- BEGIN switch_birthdays -->
<table width="100%" cellpadding="3" cellspacing="1" border="0"><tr><td class="catHead" height="28"><a name="login">[/url]<span class="cattitle">{L_BIRTHDAYS}</span></td></tr><tr><td class="row1" valign="middle" height="28"><span class="gensmall">{L_CONGRATULATIONS_TO}: {BIRTHDAY_USER_LIST}</span></td></tr></table>


<!-- END switch_birthdays -->
<table width="100%" cellpadding="3" cellspacing="1" border="0"><tr><td class="catHead" height="28"><a name="login">[/url]<span class="cattitle">{L_STATISTICS}</span></td></tr><tr><td class="row1" valign="middle" height="28"><span class="gensmall">{TOTAL_POSTS} | {TOTAL_USERS} | {NEWEST_USER}</span></td></tr></table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="100%" cellpadding="3" cellspacing="1" border="0">
 <tr>
   <td class="catHead" height="28"><a name="login">[/url]<span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
 </tr>
 <tr>
   <td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
  <input class="post" type="text" name="username" size="10" />
  &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
  <input class="post" type="password" name="password" size="10" maxlength="32" />
  &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
  <input class="text" type="checkbox" name="autologin" />
  &nbsp;&nbsp;&nbsp;
  <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
  </span> </td>
 </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
<br clear="all" />
<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr>
 <td width="20" align="center">
</td>
 <td><span class="gensmall">{L_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center">
</td>
 <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
 <td>&nbsp;&nbsp;</td>
 <td width="20" align="center">
</td>
 <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>


Que dois-je modifier pour avoir mon qui est en ligne en un seul cadre ( comme sur ce forum ) .


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Sun 17 Feb 2008 - 18:44    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

bonjour

cherches

 
Code: Sélectionner - Agrandir

<table width="100%" cellpadding="3" cellspacing="1" border="0">
  <tr> 
 <td class="catHead" colspan="2" height="28"><span class="cattitle">[url=http://%7bu_viewonline%7d/]{L_WHO_IS_ONLINE}[/url]</span></td>
  </tr>
  <tr> 
 <td class="row1" align="center" valign="middle" rowspan="2">[img]http://img10.xooimage.com/files/t/e/test-2f353[/img]</td>
 <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE}
{RECORD_USERS}

{LOGGED_IN_USER_LIST}

{L_ONLINE_EXPLAIN}</span></td>
  </tr>
   <td class="row1" align="left"><span class="gensmall">
    [b]{L_LEGEND}[/b]
    <!-- BEGIN ranks_legend_row -->
    [b]::[/b] <span style="font-weight:bold;color:#{ranks_legend_row.COLOR}">{ranks_legend_row.TITLE}</span> 
    <!-- END ranks_legend_row -->
    <!-- BEGIN switch_oldlegend -->
    [b]::[/b] {L_WHOSONLINE_ADMIN} [b]::[/b] {L_WHOSONLINE_MOD}
    <!-- END switch_oldlegend -->
    </span>
   </td>
  </tr>
</table>

 
<!-- BEGIN switch_birthdays -->
<table width="100%" cellpadding="3" cellspacing="1" border="0"><tr><td class="catHead" height="28"><a name="login">[/url]<span class="cattitle">{L_BIRTHDAYS}</span></td></tr><tr><td class="row1" valign="middle" height="28"><span class="gensmall">{L_CONGRATULATIONS_TO}: {BIRTHDAY_USER_LIST}</span></td></tr></table>

 
<!-- END switch_birthdays -->
<table width="100%" cellpadding="3" cellspacing="1" border="0"><tr><td class="catHead" height="28"><a name="login">[/url]<span class="cattitle">{L_STATISTICS}</span></td></tr><tr><td class="row1" valign="middle" height="28"><span class="gensmall">{TOTAL_POSTS} | {TOTAL_USERS} | {NEWEST_USER}</span></td></tr></table> 



remplaces par


 
Code: Sélectionner - Agrandir
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr>
    <td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
  </tr>
  <tr>
    <td class="row1" align="center" valign="middle" rowspan="2"><img src="http://img10.xooimage.com/files/t/e/test-2f353" alt="{L_WHO_IS_ONLINE}" /></td>
    <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
    </td>
  </tr>
  <tr>
    <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table> 

_______________________


Forum
Author Message
rasf


Offline
Guest




PostPosted: Sun 17 Feb 2008 - 19:32    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Merci

Author Message
ewizz


Offline
Guest




PostPosted: Wed 5 Mar 2008 - 17:51    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Malgré plusieurs essais j'ai pas reussie a modifier quelques truc dans le bloc de "qui est en ligne ? "
Voici ce que je recherche :

Les Titulaires ( en blanc)
*Nos rugbymen ont posté un total de* /x messages/
*Nous avons* /x Toulousains enregistrés/
*L’utilisateur enregistré le plus récent est* / xyz /
*Il y a en tout x rugbymen en ligne*: /x titulaires, x camouflés, x spectateurs et x moteur de recherche /
[Administrateur ]
[ Modérateur ]
*Le record d'affluence est de* /x le 05/03/2008 12:14:12/
*Utilisateurs enregistrés*: / abc/

/x utilisateurs enregistrés – dont x invisibles – se sont connectés ces dernières 24 heures: abc , xyz , mnop/

*Dommage ! Vous avez déja pris un ans* : /Aucun anniversaire aujourd’hui/
*Préparer une fiesta pour* : /Aucun/


Donc je voulas savoir si c'était possible de mettre le fond du bloc en noir grisatre , mettre ce qui est entre ** en dorée et ce qui est entre // en blanc ...
Merci d'avance .

Ps : je sais j'suis une quiche en template , j'ai pourtant éssayé a plusieurs reprise mais meme avec ce tuto j'ai pas reussi :/
Ps² Je sais j'demande beaucoup


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Wed 5 Mar 2008 - 18:19    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

bonjour

tu peux mettre ton template ici entre les balises code je vais te le modifier
_______________________


Forum
Author Message
ewizz


Offline
Guest




PostPosted: Wed 5 Mar 2008 - 18:24    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Dabord merci beaucoup a toi .
Deuxiement , j'voudrais te dire bravo pour tout ce que tu fait pour les gens utilisant xooit .
Apres, tout ce que j'ai demandé est réalisable ? Smile
Ensuite , voici ce que tu as demandé ^^

Code: Sélectionner - Agrandir
<link href="narutodevil.css" rel="stylesheet" type="text/css">
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
  <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="forumline">
   <tr>
     <td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
   </tr>
   <tr>
     <td class="" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
      <input class="post" type="text" name="username" size="10" />
      &nbsp;&nbsp;&nbsp;{L_PASSWORD}:
      <input class="post" type="password" name="password" size="10" maxlength="32" />
      <!-- BEGIN switch_allow_autologin -->
      &nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
      <input class="text" type="checkbox" name="autologin" />
      <!-- END switch_allow_autologin -->
      &nbsp;&nbsp;&nbsp;
      <input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
      </span> </td>
   </tr>
  </table>
</form>
<!-- END switch_user_logged_out -->
<table width="98%" cellspacing="0" cellpadding="2" border="0" align="center">
  <tr>
   <td align="left" valign="bottom"><span class="gensmall">
   <!-- BEGIN switch_user_logged_in -->
   {LAST_VISIT_DATE}<br />
   <!-- END switch_user_logged_in -->
   {CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
   <td align="right" valign="bottom" class="gensmall">
      <!-- BEGIN switch_user_logged_in -->
      <a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
      <!-- END switch_user_logged_in -->
      <a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
  </tr>
</table>
 <!-- BEGIN catrow -->
<table width="98%"  border="00" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="9%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><img src="http://img8.xooimage.com/files/m/e/menuhg-34990.gif" width="46" height="30"></td>
    <td width="86%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><div align="center"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></div></td>
    <td width="5%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><div align="right"><img src="http://img6.xooimage.com/files/m/e/menuhd-34991.gif" width="46" height="30"></div></td>
  </tr>
</table>


<table width="98%" border="0" align="center" cellpadding="2" cellspacing="1" class="forumline">
  <tr>
   <th colspan="2" class="thCornerL" height="20" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
   <th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
   <th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
   <!-- BEGIN forumrow -->
  <tr>
   <td class="row1" align="center" valign="middle" height="55"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="32" height="53" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
   <td class="row1" width="100%" height="55"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
     </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
    </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
   <td class="row2" align="center" valign="middle" height="55"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
   <td class="row2" align="center" valign="middle" height="55"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
   <td class="row2" align="center" valign="middle" height="55" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
 
 <!-- END forumrow -->
</table>



<table width="98%"  border="00" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="19" class="row4">&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="">&nbsp;</td>
  </tr>
</table>
<!-- END catrow -->


<table width="98%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr>
    <td align="left">
    <!-- 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 -->
    </td>
   <td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

<table width="98%"  border="00" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="9%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><img src="http://img8.xooimage.com/files/m/e/menuhg-34990.gif" width="46" height="30"></td>
    <td width="86%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><div align="center"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></div></td>
    <td width="5%" background="http://img4.xooimage.com/files/b/g/bgh-3498f.gif"><div align="right"><img src="http://img6.xooimage.com/files/m/e/menuhd-34991.gif" width="46" height="30"></div></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="forumline">
  <tr>
   <td class="" align="center" valign="middle" rowspan="2"><img src="http://img9.xooimage.com/files/w/h/whosonline-34992.gif" alt="{L_WHO_IS_ONLINE}" /></td>
   <td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>

<table width="98%"  border="00" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="19" class="row4">&nbsp;</td>
  </tr>
  <tr>
    <td height="19" class="">&nbsp;</td>
  </tr>
</table>
<br clear="all" />

<table cellspacing="3" border="0" align="center" cellpadding="0">
  <tr>
   <td width="20" align="center"><img src="http://img10.xooimage.com/files/f/o/folder_new_big2-34993.gif" alt="{L_NEW_POSTS}"/></td>
   <td><span class="gensmall">{L_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="http://img9.xooimage.com/files/f/o/folder_big2-34994.gif" alt="{L_NO_NEW_POSTS}" /></td>
   <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
   <td>&nbsp;&nbsp;</td>
   <td width="20" align="center"><img src="http://img8.xooimage.com/files/f/o/folder_locked_big2-34995.gif" alt="{L_FORUM_LOCKED}" /></td>
   <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
  </tr>
</table>


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 6 Mar 2008 - 12:31    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

ici

Code: Sélectionner - Agrandir
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>
 

remplaces par
Code: Sélectionner - Agrandir
<td bgcolor="white" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
   </td>
  </tr>
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>
</table>

 

par contre je n'ai pas compris tu veux mettre le mot titulaire en blanc aussi???
_______________________


Forum
Author Message
ewizz


Offline
Guest




PostPosted: Thu 6 Mar 2008 - 15:35    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

Oui , exact , pour qu'il ressorte .
Sinon y a juste sa a changé pour tout ce que je voulais ?
C'est formidable , j'test sa de suite Wink

EDIT ; je viens de mettre recherche puis copier/coller ce que tu m'a dit de modifier mais ils me disent "Texte introuvable" ..
Et j'ai pas vu la diferrence entre les 2 codes que tu m'a donné ... suis-je bigleu ? :/


Author Message
themalin
Membre


Offline
Membre

Joined: 19 Apr 2006
Posts: 8,897
Point(s): 9,101
Moyenne: 1.02
Mac Firefox (ou l'un de ses dérivés : Minefield/Pale Moon/...)

PostPosted: Thu 6 Mar 2008 - 15:53    Post subject: [tuto]modifier "qui est en ligne" Reply with quote

par contre je ne vois pas le mot les titulaires dans ton qui est en ligne???
_______________________


Forum
Author Message
Contenu Sponsorisé





PostPosted: Today at 23:56    Post subject: [tuto]modifier "qui est en ligne"

Display posts from previous:   
Reply to topic Page 16 of 49 Goto page: <  1, 2, 315, 16, 1747, 48, 49  >




Portal | Index | Administration Panel | Create a forum | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Propulsé par p h p B B © 2016 p h p B B Group |
 
© 2003-2013 Xooit.com - Contact - Mentions légales - CGU - Charte - CNIL : 1381401