Previous Thread
Next Thread
Print Thread
Rate Thread
#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
Entire Thread
Subject Posted By Posted
Moderator Function [email protected] 07/24/2002 5:54 AM
Re: Moderator Function Lord Dexter 07/25/2002 1:01 PM
Re: Moderator Function [email protected] 07/25/2002 5:32 PM
Re: Moderator Function Charles Capps 07/25/2002 6:53 PM
Re: Moderator Function CTM 07/25/2002 6:54 PM
Re: Moderator Function [email protected] 07/25/2002 8:43 PM
Re: Moderator Function Lord Dexter 07/26/2002 2:06 AM
Re: Moderator Function Charles Capps 07/26/2002 2:14 AM

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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
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 20240506)