Si vous souhaitez avoir une Page de Qui est en Ligne unique ? Pour avoir un aperçu du Résultat de l'Astuce ci-dessous
Cliquez ici.
Vous devez : Être le Fondateur du Forum
Avoir un Forum en version phpBB2 (ou PunBB si compatible)
1. Connectez-vous à votre PA dans la Rubrique "
Affichage"
2. Cliquez sur "
Général" dans la Catégorie "
Templates"
3. Cliquez sur "
"devant"
viewonline_body -
Visualisation de qui est en ligne"
4. Remplacez l'ensemble de votre contenu par le code ci-dessous :
- Code:
-
<span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span><br />
<table class="forumline" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<!-- BEGIN googlemap -->
<th class="bodyline" width="75%">
<iframe class="bodyline" frameborder="0" scrolling="no" width="100%" height="450" src="{googlemap.U_GOOGLEMAP}"></iframe><br />
</th>
<!-- END googlemap -->
<th class="bodyline" width="25%">
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="4">
<tr>
<th class="thCornerL" width="95%" height="25">{L_USERNAME}</th>
<th class="thCornerR" width="5%"><span title="{L_FORUM_LOCATION}">Loc.</span></th>
</tr>
<!-- BEGIN reg_user_row -->
<tr>
<td class="row2hover" width="60%"><span class="gen"><a class="gen" href="{reg_user_row.U_USER_PROFILE}">{reg_user_row.USERNAME}</a></span></td>
<td class="{guest_user_row.ROW_CLASS}" width="20%"><a style="cursor: help;" href="{reg_user_row.U_FORUM_LOCATION}"><img src="http://infobulle.ucoz.com/img/i/help.png" title="{reg_user_row.FORUM_LOCATION}" alt="Où?"</a></td>
</tr>
<!-- END reg_user_row -->
<!-- BEGIN bot_user_row -->
<tr class="row1">
<td class="row2over" width="60%"><span class="gen"><a class="gen" href="{bot_user_row.U_USER_PROFILE}">{bot_user_row.USERNAME}</a></span></td>
<td class="{guest_user_row.ROW_CLASS}" width="20%"><a style="cursor: help;" href="{bot_user_row.U_FORUM_LOCATION}"><img src="http://infobulle.ucoz.com/img/i/help.png" title="{bot_user_row.FORUM_LOCATION}" alt="Où?"></a></td>
</tr>
<!-- END bot_user_row -->
<!-- BEGIN guest_user_row -->
<tr class="row1">
<td class="row2over" width="60%"><span class="gen">{guest_user_row.USERNAME}</span></td>
<td class="{guest_user_row.ROW_CLASS}" width="20%"><a style="cursor: help;" href="{guest_user_row.U_FORUM_LOCATION}"><img src="http://infobulle.ucoz.com/img/i/help.png" title="{guest_user_row.FORUM_LOCATION}" alt="Où?"></a></td>
</tr>
<!-- END guest_user_row -->
<tr>
<td class="row3" colspan="3" height="1"><img src="_.gif" alt="." height="1" width="1"></td>
</tr>
<tr>
<td class="row1" colspan="3" height="28"><span class="gensmall">{TOTAL_REGISTERED_USERS_ONLINE}<br />{TOTAL_GUEST_USERS_ONLINE}<br />{TOTAL_USERS_ONLINE}</span>
</td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
<td align="right" valign="top"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="2" align="center">
<tr>
<td align="right" valign="top">{JUMPBOX}</td>
</tr>
</table>
<!-- Générer par http://infobulle.bbactif.com -->
5. "
Enregistrer" puis "
Publier" le Template.
Pour
Activer l'effet dans la Cellule "Nom d'utilisateur" ajouter ce Code dans votre
Feuille de Style (CSS):
- Code:
-
td.row2over:hover { background-color:#COULEUR-CHOISIE }
* Remplacer "COULEUR-CHOISIE" par le Code Numérique de la Couleur de votre Choix.