Version: , by Kier
Developer Last Online: May 2011
Version: 2.2.x
Rating:
Released: 03-14-2001
Last Update: Never
Installs: 7
No support by the author.
Updated to Version 2.0 16-3-2001
(v2 includes bug fixes and full avatar support)
This is a complete rewrite of my super-moderators listing hack for Me2Be...
This new version shows all members of the Administrators, Super-Moderators and Moderators groups. Note that moderators do not have to be placed in a new usergroup for this hack to work.
Users have their online status and location displayed, along with a PM link. Moderators also have the forums they moderate displayed. There is an option in the script to enable avatar support.
Installation is almost completely automatic, through an install script (supplied). Upload showmods.php to your forums directory, and install_showmods.php to your forums/admin folder.
If you want to disable avatars, open the showmods.php script and set $showavatars to "no". (If you have disabled avatars in the control panel, they will not be shown anyway).
Then run the install script (admin/install_showmods.php) each time you upgrade your board to a new version of vbulletin, in order to add the necessary templates to the master template set.
You should run the install script if you are upgrading from the previous version too, it will perform the necessary steps to upgrade the global templates.
You can then add a link to "showmods.php?s=$session[sessionhash]" to any of your other templates.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by Ryan Little Forums that have administrative moderators are shown more than once under the moderators table. This could become very annoying if an administrator moderated more than one forum.
Is there any way to prevent this from happening? See attachment.
Originally posted by pipi i got problem is as below.
Fatal error: Call to unsupported or undefined function foreach() in /web1/users/909090/docs/forums/showmods.php on line 78
How did you get hold of that version? The version downloadable above does not use the foreach() function at all.
<!--- Veiw Mod List --->
| <b><a href="showmods.php?s=$session[sessionhash]" target="_blank"><smallfont COLOR="#FFFFFF">View List</a></smallfont>
<!--- /Veiw Mod List --->
Not putting the brackets around a one line if/else is valid. I would guess (without looking at the code) that your problem is that you need to change eval("$modforums to eval("\$modforums
<font color="red">DO NOT</font> copy the code in The Sisko's post above.
The vB PHP parsing feature has a problem with some escaped characters, so if you put \$ into a [ PHP ] block, it will be printed out as $.
The code in showmods.php already has those $ symbols escaped.
[edit] - now that The Sisko has changed hos post to use [ code ] tags instead of [ php ] tags, go ahead and try the modification if you like... although I can't see that it would make a difference, as leaving out the braces for a single statement in a loop is perfectly legal syntax in PHP