Previous Thread
Next Thread
Print Thread
Rate Thread
#192157 07/23/2002 10:54 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
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

Sponsored Links
#192158 07/25/2002 6:01 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
You'll need to change the permissions via the files to do that.

#192159 07/25/2002 10:32 AM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Well Thanks Very Much.

I'll go and do it right away ffs.

Anyone Else?

#192160 07/25/2002 11:53 AM
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. wink


UBB.classic: Love it or hate it, it was mine.
#192161 07/25/2002 11:54 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
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:

Quote
code:
Code
if (($ubb eq 'user_settings') && ($status eq 'Administrator')) {

Replace it with:

code:
[qb]
Code
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:

Quote
code:
Code
                     else if (userStatus == "" || userStatus == "Moderator") {
document.writeln("<option> - Access Denied</option>");
}

And replace it with:

code:
[qb]
Code
                    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):

Code
                      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. smile

Sponsored Links
#192162 07/25/2002 1:43 PM
Joined: Mar 2001
Posts: 80
Member
Member
Offline
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

#192163 07/25/2002 7:06 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Quote
quote:
Originally posted by [email protected]:
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.

#192164 07/25/2002 7:14 PM
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.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)