PDA

View Full Version : Moderators Functions - Give Super Moderators ability to fully edit a user


legacy123
04-08-2010, 10:00 PM
Should work on most vBulletin versions. So Far Tested on 3.8.x,4.x.x

first the user.php file must be taken from the admincp and replaced in the modcp.

find

(!can_administer('canadminusers'))



replaced with
(!can_administer('canadminusers') && (!can_moderate('canmodusers')))

In 4.0.5 on some servers you must replace it with

(!can_moderate('canmodusers'))

This will work by itself but it is a bit harder to search for users for easy seach..

go to index.php in modcp directory
find in index.php in modcp

find

($vbphrase['search_for_users'],'user.php?do=find')

replace with
($vbphrase['search_for_users'],'user.php?do=modify')


Now a moderator(who has permission) may "save" and "search"
users similar to admins the only difference is to search they must save an account first(this will not change anything on the account unless they decide to edit something.)

BE CAREFUL WHOM YOU CHOOSE FOR A MOD POSITITION THAT YOU GIVE THIS PERMISSION

BillieJoe
04-11-2010, 09:05 PM
Does it work for 3.8 also?

legacy123
04-12-2010, 10:06 AM
works fine on 3.8.5 don't know what you are using exactly it should

BillieJoe
04-12-2010, 01:05 PM
Ah cool, thank you. :)

legacy123
04-12-2010, 01:11 PM
no problem

Dragaon
06-25-2010, 03:25 PM
serves up a blank page after searching.

(vBulletin 4.0.2)

legacy123
07-05-2010, 11:52 PM
sorry for the late response but I have to ask for more information on what you did exactly. Please I can not help you without more information as I have confirmed this working on 4.0.2

legacy123
08-02-2010, 01:11 AM
There are some issues with 4.0.5 on some servers. I added something to fix this.

ti07shadow
10-14-2010, 06:27 AM
Give Super Moderators ability to fully edit a user

1 word................. why?

RobbieZ
10-14-2010, 07:47 AM
1 word................. why?

I concur, must be the trustworthy ones ;)

thompson
10-14-2010, 09:30 AM
very interesting. will give it a shot.

Dragaon
12-30-2011, 06:31 PM
($vbphrase['search_for_users'],'user.php?do=find')

That line does not exist in the index.php in the modcp directory (vb419)

Searching for a user draws a blank page as that edit was not possible.

The edit of the user.php works fine :)

Merjawy
12-30-2011, 08:28 PM
Nice MOD but I'll pass on this one.. Thanks

If you can trust someone to do that, why not make them Admin?

ged
01-31-2013, 08:18 PM
How can we avoid blank pages while searching users?