PDA

View Full Version : ModCP Link for Moderators


Andreas
07-18-2004, 10:00 PM
ModCP Link for Moderators

Description
vBulletin does not show the ModCP link in the footer of every page to moderators since Version 3.0.1, as this caused an extra query and the developers decided it was not worh it.
I think the link is useful - not only for Supermods and Admins.

So this hack adds some code so the link will also be there for Moderators, without adding too much overhead (at least I hope/think so).

Files to modify: 2
Difficulty: Easy

Version 0.2: Fixed a small typo

Boofo
07-19-2004, 04:56 PM
Nice. Will use when I upgrade and click install now.

Erwin
07-20-2004, 12:01 AM
You could just add template conditionals to the footer according to usergroupid - no extra queries needed.

Andreas
07-20-2004, 12:03 AM
Well, moderators can have just any usergroupid ...

Oblivion Knight
07-21-2004, 06:44 PM
I couldn't find the following line in 3.0.3:
$modcache$modcache["$userid"]["$do"] = 0;Either this is a typo, or it was changed..


The nearest I can find is:
$modcache["$userid"]["$do"] = 0;

Andreas
07-21-2004, 06:47 PM
Yep, that was a typo ;)

Oblivion Knight
07-21-2004, 06:56 PM
Heh, thanks Kirby.. Installed with seemingly no problems.

I'll keep my eyes on the server load and such.

Mysticales
07-24-2006, 07:43 AM
Thank you, installed on my large 3.0x community. =) My "Mods" are more like super mods.. since they could ban and so.. but I hated to give AdminCP access too like Ive been.. You gave me the work around option, thanks. =)