PDA

View Full Version : Moderators Functions - Give Moderators ModCP Link In Footer


LightScribe
12-08-2007, 10:00 PM
I just spoke to one of my moderators today and found out that by default in vBulletin the ModCP link doesn't show up in the footer for them. It shows up next to the AdminCP link for Administrators but if the user isn't an administrator they cannot see it.

This is just a very quick template modification for you to use if you want it to be visible for all moderators (and administrators).

Template Edit (1)

In Template "footer", find:
<if condition="$show['modcplink']">

Replace With:
<if condition="can_moderate()">

I don't know why vBulletin hides it from them by default, and I haven't seen an option in the ACP to enable or disable it.

I hope this little modification helps at least one person.

Screenshot
73098

LightScribe
12-09-2007, 02:53 AM
Reserved, although this isn't the sort of mod likely to need updates.

yahoooh
12-09-2007, 04:04 AM
is this not default in vbulletin?

LightScribe
12-09-2007, 04:32 AM
Nope. Try logging in as a moderator account and see for yourself.

ssslippy
12-09-2007, 06:53 AM
Normally only supermods and higher can the mod cp link. Dont ask me why.

Millenium IT
12-09-2007, 06:55 AM
This belongs in the vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192) catagory

mokonzi
12-09-2007, 11:34 AM
Nice work LightScribe. It's been driving me up the wall this problem, glad it was such a simple solution. Let's hope vB includes an option in 3.7

DssCrazy
12-09-2007, 01:13 PM
Does this mod give a regular mod the same cp as a super mod?

DssCrazy
12-09-2007, 01:18 PM
I hope this get fixed by vb, because, this should be in the vb forums by defalt, if a admin gives a regular member mod rights then thay would be a staff, and thay would not be a staff if thay were not trusted! so why is it hided?

johnrizz
12-09-2007, 07:29 PM
Does this mod give a regular mod the same cp as a super mod?

No...

How I got around this in the first place was to go into Mod Usergroup and check Can Moderate All Forums (is Super Moderator) at Administrator Permissions this would show the MOD link at bottom, then go into Forums & Moderators >>Show All Moderators>> then pick & choose what power you like them to have...

Spank
12-09-2007, 10:14 PM
Apparently it's not on vB by default because it adds a query for ever user.

Marco van Herwaarden
12-10-2007, 09:03 AM
As Spank already replied, this is left out of the default vBulletin because it adds queries to every single page load. Adding this can have a negative impact on the performance of your board.

LightScribe
12-11-2007, 09:45 AM
Does this mod give a regular mod the same cp as a super mod?

You choose the permissions that show up in the ModCP using the Moderator Manager section of your ACP. You can grant ability to ban, edit signatures, prune, move ect ect.

As Spank already replied, this is left out of the default vBulletin because it adds queries to every single page load. Adding this can have a negative impact on the performance of your board.

But how much more strenuous is the if condition="can_moderate()" query than the if condition="$show['modcplink']", since this replaces the latter with the former?

Brandon Sheley
12-11-2007, 01:15 PM
I have all my mods set as super mods anyways.
If I had a board setup that had mods that could only mod selected forums, I don't know if I'd want them to have access to the modcp.

just my 2 cents :)

Triky
12-11-2007, 04:17 PM
As Spank already replied, this is left out of the default vBulletin because it adds queries to every single page load. Adding this can have a negative impact on the performance of your board.

Oh. http://www.web-city.it/forum/images/smilies/fermosi.gif
I didn't know this. Thank you, Marco.

ssslippy
12-11-2007, 06:43 PM
I have all my mods set as super mods anyways.
If I had a board setup that had mods that could only mod selected forums, I don't know if I'd want them to have access to the modcp.

just my 2 cents :)

They already do, it just doesnt show a link.

LightScribe
12-23-2007, 10:41 PM
They can access it by entering the URL into their browsers manually.

Alfa1
12-24-2007, 03:37 PM
Which is very unhandy. But they can go from a member profile to the modcp, which is what my mods did until I added a Staff tools dropdown in navbar with a link to modcp.
It may add queries, but why cause more work for your staff? The adminCP link in the footer ads just as many queries and is used by less people (if you have less admins than moderators)

Marco van Herwaarden
12-25-2007, 08:01 AM
The AdminCP link does not add any queries. ;)

AdminCP access is based on a usergroup setting, and already loaded into memory.

ModCP access for Super Moderators, see above.

ModCP access for regular moderators is however not a usergroup function and need to be read from the database on each pageload.

RCK
09-20-2013, 06:41 PM
What about this template modification ?
I don't think it will add a query :)
<if condition="($show['modcplink']) OR (in_array($bbuserinfo[usergroupid], array(7)))">

ozzy47
09-20-2013, 08:31 PM
Reviving a six year old mod lol

RCK
09-21-2013, 07:35 AM
vB 3.8.8 (http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/3965982-vbulletin-3-8-8-beta-is-now-available-for-customers-with-active-licenses) revive me with all vB 3.x modification ;)