|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
Hi,
Could someone tell me if there is a way to activate the members section in the control panel for moderators.
I would like to give my moderators the ability to ban users.
I am using 6.3.0.1
Many thanks Paul
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
You'll need to change the permissions via the files to do that.
|
|
|
|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
Well Thanks Very Much.
I'll go and do it right away ffs.
Anyone Else?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
This is a very dangerous thing - the ability to ban and the ability to grant admin rights are inseperable. You would end up giving your moderators both powers. You'd might as well make the administrators. 
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
OK, first of all go to your CP and note down the areas of the CP you want the Mods to access. This will most likely be the following: user_settings user_posts search_members2 continue_user_search show_user_search_results update_members get_profile_for_admin edit_profile Now, open cp.cgi and find: code:
if (($ubb eq 'user_settings') && ($status eq 'Administrator')) {
Replace it with: code: [qb]if (($ubb eq 'user_settings') && (($status eq 'Administrator') || ($status eq 'MegaModerator'))) { [/qb] Repeat this for each of the sections you want your Mods to access.
Next, open cp_common.pl and find the second instance of:
code:
else if (userStatus == "" || userStatus == "Moderator") { document.writeln("<option> - Access Denied</option>"); }
And replace it with: code: [qb] else if (userStatus == "Moderator") { <add your options here> } else if (userStatus == "") { document.writeln("<option> - Access Denied</option>"); } [/qb] Replace the second line with the areas of the CP that you want your Mods to access, like this (cut and paste the lines from the if statement above it):
document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=email_members&r=$ran> - Email Members</option>"); document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=new_members&r=$ran> - New Member List</option>"); document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=reg_moderation&r=$ran> - Registration Queue</option>"); document.writeln("<option value=$vars_config{CGIURL}/cp.cgi?ubb=user_settings&r=$ran> - View/Edit Member Records</option>"); Reupload those 2 files, and (hopefully) it should work.
If these instructions are stupidly hard to understand, please tell me and I'll elaborate. 
|
|
|
|
Joined: Mar 2001
Posts: 80
Member
|
Member
Joined: Mar 2001
Posts: 80 |
CTM - Many thanks for your help, ill test it tonight.
Charles - Thanks for the warning, The problem is i don't want to give full admin to the mod in question as there are so many other things they could break by accedent, i trust them completly security wise.
I guess it would be simpler to have another level between mod and admin, that can handle user accounts.
I'll give this some more thoughts before going a head with it.
Many thanks again All.
Paul
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: Originally posted by Paul@xbox365.com: Well Thanks Very Much.
I'll go and do it right away ffs.
Anyone Else? I was only trying to help in a way, you don't have to get all grumpy.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
LD, your post helped him in no way. You restated the facts needlessly. You seem to do this quite a bit. Perhaps you should reconsider what you consider helping.
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online 769
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 0
|
|
|
|