PDA

Afficher la version complète : Index des forums Légende des groupes d'utilisateur



Fred
18/04/2006, 04h59
Description

Ce hack permet d'afficher sur la page d'accueil de votre forum, une légende des groupes d'utilisateurs. Celle-ci est gérable via l'admin cp. Vous pouvez gérer l'ordre dans lequel vous souhaitez afficher les groupes, ansi que leur mise en form html.
Remerciements et support / Thanks and support

Ce Hack a été conçu pour vBulletin-Ressources
L'auteur offrira du support uniquement sur ce forum.
Conception

Auteur du Hack / Author Of Hack : Fred
Version vBulletin Requise / Version vBulletin Required : vB 3.5.4
Testé / Tested: Oui
Copyright © 2006 vBulletin-Ressources.com - Tous droits réservés / Copyright © 2006 vBulletin-Ressources.com - All Rights Reserved

J'assurerai le support de ce hack si besoin est etant donné que j'en suis l'auteur
Greetz a Mathelec ;)

Allan
18/04/2006, 07h42
Pas mal du tout, félicitation Fred ;)

WrestleMania
18/04/2006, 07h51
Vraiment cool ca, bravo

Christounet
18/04/2006, 10h01
pas mal oui j'aime bien ;)

Raphaël
24/05/2006, 15h35
Lu,

merci pour ce hack ! Je l'utilisai sur mon ancien skin, mais sur le nouveau j'ai ce problème :

http://img104.imageshack.us/img104/6065/legendeusers6iy.jpg

Et mon bout de FORUMHOME


<!-- Légende des groupes d'utilisateurs by Fredrambo -->

<tbody><tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_legende')"><img id="collapseimg_forumhome_legende" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>Légende des groupes d'utilisateurs
</td></tr>
</tbody>

<tbody id="collapseobj_forumhome_legende" style="$vbcollapse[collapseobj_forumhome_legende]">
<tr>
<td class="alt2">
<img src="images/Stars/legende.gif" alt=" Légende des groupes d'utilisateurs" border="0" />
</td><div class="smallfont"><td class="alt1" width="100%">
<center>$vbphrase[Legende_Administrateurs]$vbphrase[Legende_Moderateurs]$vbphrase[Legende_Designers]$vbphrase[Legende_Scanneurs_Taggueurs]$vbphrase[Legende_Publics]$vbphrase[Legende_Non_Presentes]$vbphrase[Legende_Bannis]</center>
</div></td></tr></tbody>

<!-- fin du code Légende des groupes d'utilisateurs by Fredrambo -->

Merci d'avance,

++

Fred
24/05/2006, 21h39
Et mon bout de FORUMHOME


<!-- Légende des groupes d'utilisateurs by Fredrambo -->

<tbody><tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_legende')"><img id="collapseimg_forumhome_legende" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>Légende des groupes d'utilisateurs
</td></tr>
</tbody>

<tbody id="collapseobj_forumhome_legende" style="$vbcollapse[collapseobj_forumhome_legende]">
<tr>
<td class="alt2">
<img src="images/Stars/legende.gif" alt=" Légende des groupes d'utilisateurs" border="0" />
</td><div class="smallfont"><td class="alt1" width="100%">
<center>$vbphrase[Legende_Administrateurs]$vbphrase[Legende_Moderateurs]$vbphrase[Legende_Designers]$vbphrase[Legende_Scanneurs_Taggueurs]$vbphrase[Legende_Publics]$vbphrase[Legende_Non_Presentes]$vbphrase[Legende_Bannis]</center>
</div></td></tr></tbody>

<!-- fin du code Légende des groupes d'utilisateurs by Fredrambo -->


remplace ca part


<tbody>
<tr>
<td class="thead" colspan="2">
Légende des groupes d'utilisateur
</td></tr></tbody>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="Légende" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$legende
</div> </div>
</td>
</tr>

;)

Raphaël
24/05/2006, 22h27
Ok mais comment je fais pour rajouter :


$vbphrase[Legende_Administrateurs]$vbphrase[Legende_Moderateurs]$vbphrase[Legende_Designers]$vbphrase[Legende_Scanneurs_Taggueurs]$vbphrase[Legende_Publics]$vbphrase[Legende_Non_Presentes]$vbphrase[Legende_Bannis]

Raphaël
25/05/2006, 12h18
Up ! Freeeed à l'aide !

Fred
25/05/2006, 13h18
Ok mais comment je fais pour rajouter :


$vbphrase[Legende_Administrateurs]$vbphrase[Legende_Moderateurs]$vbphrase[Legende_Designers]$vbphrase[Legende_Scanneurs_Taggueurs]$vbphrase[Legende_Publics]$vbphrase[Legende_Non_Presentes]$vbphrase[Legende_Bannis]

ca existe pu ca
fait ce qui est dit dans le .texte et tout ira bien

Raphaël
25/05/2006, 13h56
En effet je m'étais gouré de hack . Mais maintenant ça plantait quand même, j'ai fait ça à la barabre, c'est mieux !

psy4
25/05/2006, 16h09
melange de VB 3.0 et VB 3.5 erf

Fred
25/05/2006, 16h56
ba oui si il commence a mélenger ...

Allan
29/05/2006, 14h28
psssssss, quand je voit le nombre de téléchargement et celui des remerciements, ca donne envie de fermer le forum .....

sony
29/05/2006, 16h26
très beau hack, je te remercie ;)

killer626
03/06/2006, 11h36
Merci beaucoup beau hack... par contre j'ai un probleme il ne crée pas la table dont il a besoin ... donc il fait crasher le forum puisquil tourne depuis le forumhome ...


Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT * FROM eablegendes ORDER BY legende_position ASC;

MySQL Error : Table 'eabjm07.eablegendes' doesn't exist
Error Number : 1146
Date : Saturday, June 3rd 2006 @ 11:37:06 AM
Script : http://eabjm07.free.fr/upload/
Referrer :
IP Address : /ù*^ù$^m*ùm^//
Username : Killer626
Classname : vb_database

Fred
03/06/2006, 11h40
si il ne creer pas la table c'est que tu l'a mal installer
desinstall le et reinstall le

killer626
03/06/2006, 11h49
Je l'ai fait 4 fois et ca n'aide pas ...

Fred
03/06/2006, 13h10
ba je peux rien faire de plus pour toi desolé

foxys
09/06/2006, 01h01
cool tres beau Thx
pour se hack :)

kameleon62123
12/06/2006, 14h26
voila je cherche dans mon style aria mais il le trouve pas comment faire? il y a pas un autres texte a repérer?

sony
13/06/2006, 00h41
essaye de ne prendre qu'un partie du code car d'un style à l'autre ça peut changer, donc si tu met le code complet tu ne trouvera pas, j'ai le même prob sous le style giant de Allan

prend par exemple juste

$vbphrase[whats_going_on] ;)

kameleon62123
13/06/2006, 09h49
ben j' ai essayer de le placer dessous mais sa fesait completement beuguer le truc j' ai pas trouver l' emplacement regarde mon forumhome:


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar







<!-- guest welcome message -->
<if condition="$show['guest']">
<!-- Aria Categoty Top -->
<table border="0" cellpadding="0" cellspacing="0" width="$stylevar[tablewidth]" align="center">
<tr>
<td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td height="31" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="aria_category"><b><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></b></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>
<td width="60%" align="right" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)"><img src="$stylevar[imgdir_misc]/top_center.gif" alt="" /></td>
<td width="14" height="31" align="right" valign="top"><img border="0" src="$stylevar[imgdir_misc]/top_right.gif" width="14" height="31" alt="" /></td>
</tr>
</table>
<!-- /Aria Categoty Top -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">



<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>

</table>
<!-- Aria Categoty Bottom -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</tr>
</table>

<!-- /Aria Categoty Bottom -->
<br />
</if>
<!-- / guest welcome message -->

$forumbits




<br />


<!-- what's going on box -->
<!-- Aria Categoty Top -->
<table border="0" cellpadding="0" cellspacing="0" width="$stylevar[tablewidth]" align="center">
<tr>
<td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td height="31" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div
class="aria_category"><b>$vbphrase[whats_going_on]</b></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>
<td width="60%" align="right" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)"><img src="$stylevar[imgdir_misc]/top_center.gif" alt="" /></td>
<td width="14" height="31" align="right" valign="top"><img border="0" src="$stylevar[imgdir_misc]/top_right.gif" width="14" height="31" alt="" /></td>
</tr>
</table>
<!-- /Aria Categoty Top -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<!-- Start Haggis Mod -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_haggis')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">Meilleurs Posteurs</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_haggis" style="$vbcollapse[collapseobj_forumhome_haggis]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="Meilleurs Posteurs" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$test</div>

</div>
</td>
</tr>
</tbody>
<!-- End Haggis Mod -->
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<!-- Aria Categoty Bottom -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</tr>
</table>
<!-- /Aria Categoty Bottom -->
<!-- end what's going on box -->
<if condition="$show['topXstats']">
$topXstats
</if>
<!-- Aria Time and Logout -->
<div class="aria_spacer"></div>
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
<if condition="!$show['guest']">
<td align="$stylevar[right]" valign="top">
<a class="smallfont" href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']"> |
<a class="smallfont" href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
| <a class="smallfont" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
</if>
</tr>
</table>
<!-- /Aria Time and Logout -->


<!-- icons -->
<div class="aria_spacer"></div>
<table class="aria_icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">


<tbody>
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
<td align="left" class="alt1">
<div class="smallfont">$vbphrase[forum_contains_new_posts]</div>


</td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>


</tbody>

</table>
<!-- /icons-->







$footer
</body>
</html>


Edit Allan

Allan
13/06/2006, 10h28
kameleon62123, quand tu met du code sur le forum, utilise ces balise stp:

[code] ton texte [/*code] (sans le * bien sur)

kameleon62123
13/06/2006, 10h29
Je savait pas ok desoler tu me m' aider pour mon problemme

sony
13/06/2006, 15h33
tu dis que tu a essayé de le placer en dessous, mais en dessous de quoi ?

quand je t'ai dis de ne prendre qu'une partie du code, c'était juste pour trouver la bonne ligne, il ne faut pas le mettre juste après


$vbphrase[whats_going_on]
mais à la fin de la ligne contenant cette partie de code, essaye en le mettant après


class="aria_category"><b>$vbphrase[whats_going_on]</b></div></td>

;)

Fred
13/06/2006, 16h02
###############
Cherche:
###############


<if condition="$show['loggedinusers']">
<!-- logged-in users -->

########################
Ajoute au dessus:
########################


<!-- legende des groupes d'utilisateur -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_legende')"><img id="collapseimg_forumhome_legende" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
Légende des groupes d'utilisateur
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_legende" style="$vbcollapse[collapseobj_forumhome_legende]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="Légende" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>$legende</div>
</div>
</td>
</tr>
</tbody>
<!-- end legende des groupes d'utilisateur -->

kameleon62123
13/06/2006, 20h18
Merci trés gentil mais sa s' affiche avant Utilisateurs actuellement connectés

Comment faire pour le mettre aprés :/

G@MER
13/06/2006, 22h03
merci pour ce hack

sony
13/06/2006, 22h33
Merci trés gentil mais sa s' affiche avant Utilisateurs actuellement connectés

Comment faire pour le mettre aprés :/
alors logiquement il faut le mettre après


<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
essaye ainsi ;)

Sorry
19/06/2006, 22h25
Salut,

Merci pour ce super mod.
Seul bémol impossible de l'installer, j'ai une erreur SQL :(
Il créé pas la table anonym_legendes..
J'ai désinstallé réinstallé plusieurs fois ça ne change rien..


Que faire ?

A++
Sorry

Edit: j'ai regardé ds le .xml, il n'y a pas de creation de cette table..

Fred
19/06/2006, 22h55
tu as du utiliser un prefixe devant tes tables
et pour que ca marche faut modif le nom des tables dans le hack

Sorry
20/06/2006, 09h11
Ok ça doit etre ça, c'est où qu'il faut modifier dans le hack ? dans le .xml ?

Fred
20/06/2006, 10h36
envoi moi ton msn en pv
parce que normalement méme avec des prefixes ca doit marcher

julian
19/07/2006, 17h30
Merci pour se hack. Dsl de vous emmerder avec mes questions mais là j'ai fais comme vous m'avez dit, mis les mains dans l'huile. Donc je suis presque arrivé à l'integrer (je progresse :D) donc voilà ce que ca me fait

http://img152.imageshack.us/img152/1546/devnz1.jpg

Et voila où jai mis le code dans le template il est au milieux.


<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<!-- Aria Categoty Bottom -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="thead" colspan="2">
Légende des groupes d'utilisateur
</td></tr></tbody>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="Légende" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$legende
</div> </div>
</td>
</tr>
<tr>
</tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</table>
<!-- /Aria Categoty Bottom -->
<!-- end what's going on box -->
<!-- Aria Time and Logout -->
<div class="aria_spacer"></div>
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td align="$stylevar[left]" valign="top"><div class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div></td>
<if condition="!$show['guest']">
<td align="$stylevar[right]" valign="top">
<a class="smallfont" href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']"> |
<a class="smallfont" href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
| <a class="smallfont" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
</if>
</tr>
</table>
<!-- /Aria Time and Logout -->

<!-- icons -->
<div class="aria_spacer"></div>
<table class="aria_icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">

<tbody>
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
<td align="left" class="alt1">
<div class="smallfont">$vbphrase[forum_contains_new_posts]</div>

</td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>

</tbody>
</table>
<!-- /icons-->



$footer
</body>
</html>

Comment je peux modifier ca ?

Merci encore @++

BiOMECHANiK
19/07/2006, 17h38
Tu n'as pas bien placé ton code

Places le au dessus de
<!-- today's birthdays -->

julian
19/07/2006, 17h43
Ca marche, merci impec :p

julian
19/07/2006, 19h01
Est ce que le nom doit prendre la couleur qu'on a choisi ?

http://img237.imageshack.us/img237/5391/im1ev4.jpg

J'ai peut être dû mal configuré ??

http://img197.imageshack.us/img197/7339/im1si8.jpg

Rom56
19/07/2006, 19h14
oui c'est possible que tu est mal configurer julian, essaye ceci :

<font color="red">


</font>


si ca ne fonctionne pas cela :

<font color="#FF0000">


</font>

julian
19/07/2006, 19h23
Et si les 2 ne marchent pas ? Mon nom et toujours gris alors que administrateur est rouge ?

Rom56
19/07/2006, 19h30
Et si les 2 ne marchent pas ? Mon nom et toujours gris alors que administrateur est rouge ?

lol c'est juste la légende ca :) il faut que tu rentres tes balises dans la description du groupe dans l'admincp cp. "Mise en forme HTML du nom d'utilisateur" tu met "<font color="red"> dans la première case et "</font>" dans la deuxième. :)

BiOMECHANiK
19/07/2006, 19h47
lol c'est juste la légende ca :) il faut que tu rentres tes balises dans la description du groupe dans l'admincp cp. "Mise en forme HTML du nom d'utilisateur" tu met "<font color="red"> dans la première case et "</font>" dans la deuxième. :)

http://img380.imageshack.us/img380/2411/admincplp3.png

pastis
28/08/2006, 15h59
merci fred c'est pas mal comme ca les membres on une vision plus rapide!!!

je me retrouve avec cette erreur!!!

Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT * FROM php_legendes ORDER BY legende_position ASC;
MySQL Error : Table 'belgofazer.php_legendes' doesn't exist
Error Number : 1146
Date : Monday, August 28th 2006 @ 04:11:12 PM
Script : http://belgofazer.free.fr/?styleid=1
Referrer :
IP Address :
Username : pacha
Classname : vb_database

j'ai desinstalle et remis pareille!!!

si une personne a eu le meme truc!!!
merci!!

pastis
29/08/2006, 13h59
besoin d'aide s'il vous plait!!!:blush2: llol

BiOMECHANiK
29/08/2006, 15h27
Tu t'es planté dans un truc là Pastis

Qu'est ce que 'belgofazer.php' ? vérifies bien tes paramètres

pastis
29/08/2006, 19h41
ben justement je comprend rien a ca!!!

donc pour ca que je pose la question lol!!!

je vais reprendre du debut et voir !!!!

V1rTuA1
16/09/2006, 15h44
Moi j'ai un probleme en l'installant:

http://img141.imageshack.us/my.php?image=sanstitrewa2.png
Merci de m'aider :).

Fred
16/09/2006, 16h07
si vous avez un probléme du genre MySQL Error : Table 'XXX.legendes' doesn't exist

executer ca dans phpmyadmin


CREATE TABLE " . TABLE_PREFIX . "legendes (
legendeid int(10) unsigned NOT NULL auto_increment,
legende_position int(20) NOT NULL default '',
legende_name varchar(100) NOT NULL default '',
legende_opentag varchar(100) NOT NULL default '',
legende_data varchar(100) NOT NULL default '',
legende_closetag varchar(100) NOT NULL default '',
PRIMARY KEY (legendeid)
)

mais normalemen il n'y a pas de raison car la requete doit s'executer lors de l'install du produit

V1rTuA1
16/09/2006, 17h14
J'ai toujours la meme erreur :(

Fred
16/09/2006, 21h57
envoi le lien de ton forum par mp je regarderais dés que je j'aurais un peu de temps ;)

BeaV
19/10/2006, 16h38
Pas de nouvelle pour cette fameuse erreur SQL ?

totopsy
20/10/2006, 22h35
Je trouve pas ou on modifie dans l'admin cp :s sinon super mod ;)

Matrix59
22/10/2006, 13h47
merci bien pour ce hack mais j'ai galerai a trouvé commen le administrai mai merci bien il et genial et simple merci encore

tony7
01/12/2006, 16h28
Salut

pouver vous m'aider à installer ce hack

sachant que le prefixe des table et vb_ , que doije modifier

car il n'installe pas ma table

merci

Allan
02/12/2006, 00h25
Tu n'a rien a modifier vis a vis des tables je pense, essaie de l'installer tel quel, cela ne dois pas poser de problèmes.

D3s3rT
11/12/2006, 14h47
Et quond on a un autre style, par exemple dans le mien je trouve pas


<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>

et bon alors j'arrive pas à le mettre ?

voila le code normal


$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar


<if condition="$show['guest']">
<!-- guest welcome message -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
<td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="6">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr></table>
<div class="spacer"></div>
<!-- / guest welcome message -->
</if>

<!-- main -->
$forumbits
<!-- /main -->


<!-- what's going on box -->

<!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="16" height="35" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="16" height="35" alt=" " border="0" /></td>

<td><strong>$vbphrase[whats_going_on]</strong></td>
<td width="34" height="35" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="34" height="35" alt=" " border="0" /></td>

</tr>
</table>
<!-- End top category table setup -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<!-- bottom table setup -->
<table width="100%" class="thead" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="5"><img src="$stylevar[imgdir_misc]/trans.gif" height="5" alt=" " border="0" /></td>
</tr>
</table>
<!-- End bottom table setup -->

<div class="spacer"></div>
<!-- end what's going on box -->
<if condition="$show['topXstats']">
$topXstats
</if>


<!-- icons and login code -->
<table width="100%" align="center" cellpadding="10" cellspacing="1" style="border: 1px solid #eeeeee; background-color: #d9d9c2;">
<tr>
<td align="center" valign="middle" class="alt1"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" align="middle" border="0" /></td>
<td align="center" valign="middle" class="alt2"> Forum Contains New Posts</td>
<td align="center" valign="middle" class="alt1"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" align="middle" border="0" /></td>
<td align="center" valign="middle" class="alt2"> Forum Contains No New Posts</td>
<td align="center" valign="middle" class="alt1"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" align="middle" border="0" /></td>
<td align="center" valign="middle" class="alt2"> Forum is Closed for Posting</td>
</tr>
</table>
<!-- / icons and login code -->


$footer
</body>
</html>

Que puis-je faire ? et quand je l'active j'ai ca :

There seems to have been a problem with the Forums - Steam-ouT database.
avec l'erreur database.


Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT *
FROM 1legendes
ORDER BY legendeid;

MySQL Error : Table 'infof1.1legendes' doesn't exist
Error Number : 1146

Fred
11/12/2006, 15h35
cherche dans ton template forumhome


<if condition="$show['loggedinusers']">
<!-- logged-in users -->

ajoute au dessus


<tbody>
<tr>
<td class="thead" colspan="2">
Légende des groupes d'utilisateur
</td>
</tr>
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/whos_online.gif" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
$legende
</div>
</td>
</tr>
</tbody>



concernant la table redl le hack et reimporte le nouveau xml
je viens de faire un fix :)

D3s3rT
11/12/2006, 15h37
ok je test ca now merci

Fred
11/12/2006, 15h45
oki tu me dis si c'est good ou pas
normalement ca devrait etre bon

D3s3rT
11/12/2006, 15h52
Presque lol


L'erreur suivante s'est produite en essayant d'évaluer ce template :

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /mnt/106/free.fr/8/7/infof1/forum/includes/adminfunctions_template.php(3537) : eval()'d code on line 118

Ceci a probablement été provoqué par un expression conditionnelle mal formulée. Il est fortement recommandé de corriger cette erreur avant de continuer. Vous pouvez néanmoins ignorer cet avertissement et continuer.

c'est au niveau du forumhome que ca coince :)
modifiye le code toi et donne le moi pour voir

Fred
11/12/2006, 15h57
j'ai editer mon reply precedent
test et dis moi

D3s3rT
11/12/2006, 16h02
je ne trouve pas <if condition="$show['loggedinusers']">
<!-- logged-in users --> ?

j'ai test mais ca me fait le meme ? bizar :D

Fred
11/12/2006, 16h04
bin pourtan ca il y est bien dans le code de ton template que tu as poster

Fred
11/12/2006, 16h05
<!-- what's going on box -->

<!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="16" height="35" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="16" height="35" alt=" " border="0" /></td>

<td><strong>$vbphrase[whats_going_on]</strong></td>
<td width="34" height="35" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="34" height="35" alt=" " border="0" /></td>

</tr>
</table>
<!-- End top category table setup -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users -->

tu devrais mieu le voir maintenant :p

D3s3rT
11/12/2006, 16h05
Tj la meme chose ? ca je le trouve psa <if condition="$show['loggedinusers']">

Fred
11/12/2006, 16h08
envoi ton msn en mp
je vais regarder ca :)

D3s3rT
11/12/2006, 16h29
Super merci bcp ca fonctionne

myryen
20/12/2006, 21h44
petite question, que fait ce hack au juste?
car il m'affiche apres configuration legendes: moderateur (jaune) administrateur (roouge)

et a vrai dire je pensais que les pseudos des personnes dans ces groupes passeraient de la meme couleur que ces groupes. Ou peut etre que je n'ai rien compris et que je suis a cote de la plaque :P

Fred
20/12/2006, 22h27
petite question, que fait ce hack au juste?
car il m'affiche apres configuration legendes: moderateur (jaune) administrateur (roouge)

et a vrai dire je pensais que les pseudos des personnes dans ces groupes passeraient de la meme couleur que ces groupes. Ou peut etre que je n'ai rien compris et que je suis a cote de la plaque :P

a vrai dire j'ai pas tout saisi ton message
ce hack permet juste de creer une légende configurable via l'admincp
les couleurs sont en theorie les mémes que les groupes d'utilisateurs
mais c'est a toi de configuré la légende en sorte que les couleurs soient les méme

tony7
25/12/2006, 17h13
Salut

je pense comprendre en fait j'ai aussi vu sur autre forum que le pseudo apparait en couleur aussi dans les poste et pas avec ce hack !
esce une modif , addons !

merci

lucifer
29/12/2006, 11h41
une fois installer comment on changer les speudo en rouge etc .....merci

Fred
29/12/2006, 12h50
fait une recherche sur le forum tu aura la reponse ;)

lucifer
29/12/2006, 17h56
oui j ai trouve la http://www.vbulletin-ressources.com/forum/showthread.php?t=993

c est pas le probleme c est que mon speudo reste toujour sur la meme couleur voila

Fred
29/12/2006, 19h59
bin ta encore mal chercher
car la reponse a été donner

mourad19
13/04/2007, 06h53
salut tout le monde je vien d'installer le hack mais le blem c k il y a rien dans la légende des groups d'utilisateurs.
et je ne sais pas d'ou acceder dans le acp pour modifier les couleurs

MtoR
13/04/2007, 07h42
Si tu as bien uploadé les fichiers de fred, tu devrais trouver un nouvel menu Légendes dans ton admincp dans la liste de gauche.

mourad19
14/04/2007, 01h21
:s j'arrive toujours pas a trouver lègende dans acp parcontre sur le site il y a le bandau légende ....
ke doije faire?????

testa
15/04/2007, 01h33
un trés bon hack

Ridden
06/05/2007, 19h48
ia un probleme, je trouve pas le code :
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead> ...
dans mon template forumhome...
Comment faire