![]() |
On my site team page, i have the hack that views the admin, supermoderators and moderators, however i'm really stuck on how to make more usergroups?
If you could please help i'd be very grateful. Thanks, FM |
is that Kier's showmods hack? i'm using that. I am using it to display admins, mods, supermods, and my clan user group on a separate page. you have to mod the scripts a bit. let me know if it's Kier's showmods hack. if it is i can help you out.
and this should prolly be in the hacks forum. |
Yes it's his hack :)
Your help would be much appreciated. |
cool, i'll look at my implementation tonight and post instructions here.
for your reference, i found Kier's thread for posting this hack: http://www.vbulletin.com/forum/showt...threadid=11425 if you go to my forums @ http://www.mac-gamer.com/forum/ you can see two links at the top: mac clan and staff. these are both using the same hack but I uploaded the showmods script under different names and edited them to use different templates. |
Great thanks man, look forward to your reply. :)
Here's the showmoderators bit i have if it's any help. htmldoctype} <HTML> <HEAD><TITLE>$bbtitle Administration and Moderators</title> $headinclude </head> <body> $header <!-- breadcrumb --> <table border="0" width="100%" cellpadding="0" cellspacing="0"><tr> <td width="100%"><br><center><normalfont><b>My Boards</b></normalfont></TD></tr></table> <!-- /breadcrumb --> <br><br> <table width="95%" align="center"><tr><td> <table cellpadding=0 cellspacing=0 border=0 bgcolor="{tablebordercolor}" align="center" width=100%><tr><td> <table border="0" cellpadding="4" cellspacing="1" width=100%> <tr bgcolor="{tableheadbgcolor}"> <td width="100%" colspan="4"><normalfont color="{tableheadtextcolor}"><B><center>Administra tors</B></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan=2><smallfont>Username</smallfont></td> <td bgcolor="{firstaltcolor}" colspan="2"><smallfont>Location</smallfont></td> </tr> $adminbits </table> </td></tr></table> <br><br> <table cellpadding=0 cellspacing=0 border=0 bgcolor="{tablebordercolor}" align="center" width=100%><tr><td> <table border="0" cellpadding="4" cellspacing="1" width=100%> <tr bgcolor="{tableheadbgcolor}"> <td width="100%" colspan="4"><normalfont color="{tableheadtextcolor}"><center><B>Super Moderators</B></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan=2><smallfont>Username</smallfont></td> <td bgcolor="{firstaltcolor}" colspan="2"><smallfont>Location</smallfont></td> </tr> $supermodbits </table> </td></tr></table> <br><br> <table cellpadding=0 cellspacing=0 border=0 bgcolor="{tablebordercolor}" align="center" width=100%><tr><td> <table border="0" cellpadding="4" cellspacing="1" width=100%> <tr bgcolor="{tableheadbgcolor}"> <td width="100%" colspan="5"><normalfont color="{tableheadtextcolor}"><B><center>Moderators </B></normalfont></td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan=2><smallfont>Username</smallfont></td> <td bgcolor="{firstaltcolor}"><smallfont>Forums</smallfont></td> <td bgcolor="{firstaltcolor}" colspan="2"><smallfont>Location</smallfont></td> </tr> $moderatorbits </table> </td></tr></table> </td></tr></table> <p align="center">$forumjump</p> $footer </body> </html> |
I moved this to the Hacking forum because hacks are not supported by the vBulletin team (even if a team member writes them).
|
1 Attachment(s)
see attachment, i wrote up a few instructions in a file in there that explain how to do what i did with the showmods hack. post here if you have problems.
|
Thanks Jakeman.
Have an alcoholic beverage on me. :D It's just you are talking about adding a new usergroup to the staff page. In your case the staffmoderators_staff. The thing is im not sure if thats the part your talking about as i seem to find only your members page having the modifications? |
i just "duplicated" the showmoderators template and added _staff on the end. Then pointed one of the php files to the _staff template. the clan.php file is pointing to the default showmoderators template. in that default showmoderators template I took out all the html for displaying the admins and mods and used the table I built for displaying the clan. I think i used the $clanbits variable in that template. Kier walked me through how to add the functionality into the php file, then it's all about the templates.
i'm confusing myself now. :p |
No i can assure you you're not. It was just my post before erm...well sucked in terms of grammar. Apologies, but after a few alterations i finally got it. :)
Thanks for all your help Jakeman, i really appreciate it! |
All times are GMT. The time now is 10:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|