The Arcive of vBulletin Modifications Site. |
|
Forum Leaders (vB3 Style) Details »»
|
|||||||||||||||||||||||||
This is my first hack, so please be patient with me.
![]() This hack will make your forum leaders (showgroups.php) look like the one found in vB3. ( Example here: https://vborg.vbsupport.ru/showgroups.php ) A friend helped me code the part where the moderated forums are listed, so please thank him as well. (I did everything else)This hack adds 1 query to showgroups.php as it must call for usergroupid. This has been tested in 2.2.9 but I imagine it works in any 2.2.x forum. Enjoy! And don't forget to click install if you like it! ![]() NOTE: This hack is no longer "vB3" style, as the table does not look the same (it was made to represent usergroup ID's in forum leaders). If you would like me to code the hack to accurately show the new vB3 layout, ask me and I will. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
nice, *marzas clicks install*
|
|
#3
|
||||
|
||||
|
Thanks
|
|
#4
|
||||
|
||||
|
Not bad for a first hack
Keep it up dude!
|
|
#5
|
||||
|
||||
|
Thanks for the encouragment guys!
|
|
#6
|
||||
|
||||
|
Nice
|
|
#7
|
||||
|
||||
|
Ugh, sorry guys, the last fix was incorrect.
Here's the fix to fix everything Create a template called showgroups_normalbit with the following info: Code:
<tr> <td bgcolor="$backcolor" nowrap><normalfont>$onlinestatus</normalfont></td> <td bgcolor="$backcolor" nowrap width=100%><b><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]"><normalfont>$user[username]</normalfont></a></b><br />$user[avatar]</td> <td bgcolor="$backcolor" nowrap><normalfont>$user[location]</normalfont></td> <td bgcolor="$backcolor" nowrap><normalfont>$sendpmlink</normalfont></td> </tr> Code:
} else if ($usergroupid == 9) { // Mods
eval("\$modinfo .= \"".gettemplate("showgroups_modbit")."\";");
$modgrouptitle=$user['title'];
} else {
if (!$grouptitle[$usergroupid]) {
$grouptitle[$usergroupid] = $user['title'];
}
eval("\$groupinfo[$usergroupid] .= \"".gettemplate("showgroups_bit")."\";");
}
}
Code:
} else if ($usergroupid == 9) { // Mods
eval("\$modinfo .= \"".gettemplate("showgroups_modbit")."\";");
$modgrouptitle=$user['title'];
} else {
if (!$grouptitle[$usergroupid]) {
$grouptitle[$usergroupid] = $user['title'];
}
eval("\$groupinfo[$usergroupid] .= \"".gettemplate("showgroups_normalbit")."\";");
}
}
|
![]() |
|
|