Previous Thread
Next Thread
Print Thread
Rate Thread
#46916 04/19/2001 3:47 PM
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
I want my moderators to be able to apporove of new members that come in line "regestratoin queue" is there a hack already out? Or can someone help me do this?

Thanks
Patrick

Sponsored Links
#46917 04/19/2001 6:43 PM
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
Anyone please help!

#46918 04/19/2001 7:36 PM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
In a round-about way that's kind of like me wanting to let my moderator's add/edit their own style templates. There's probably some part of the code detailing just what parts of the control panel they can get into. I mean they already have access to pruning posts so it's probably a question of coding near that section. I printed out every cgi and pl file (took 2 reams of paper!) so I can peruse through and see if I can find it. If I do I'll let you know.

Ethan


I'm your worst nightmare. A pumpkin with a gun!
#46919 04/19/2001 7:48 PM
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
Yeah exactly...I am gone alot and I am the only person that can accept new memebrs...but I have 7 moderators...and I want them to be able to do some things also. But not with admin capabilities.

#46920 04/19/2001 8:15 PM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
Take a look at the cp_common.pl file in the templates directory. I think that might be it. At least that's all I've found so far. Still looking though.

Ethan


I'm your worst nightmare. A pumpkin with a gun!
Sponsored Links
#46921 04/20/2001 7:07 AM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
So far I opened cp_common.pl and changed this...
Code
code:
To this...
Code
code:
I can see the choice for styles settings as a moderator but I still can't get into it. That must be in another file. You'll probably have to do something similar in order to give your mods access to the registration que. I'll keep at it!

Ethan

[ April 20, 2001 07:08 AM: Message edited by: Ethan Gilchrist ]


I'm your worst nightmare. A pumpkin with a gun!
#46922 04/20/2001 4:19 PM
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
Thanks man! Ill look at that file.

#46923 04/20/2001 6:18 PM
Joined: Nov 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 3
Patrick you might try:

in cp.cgi

replace

Code
code:

with:


Code
code:

Have your moderators bookmark : http://www.yoursite.com/cgi-bin/cp.cgi?ubb=reg_moderation

or change the drop down menus in your cp to all them to see the registration queue.

HTH

#46924 04/20/2001 6:43 PM
Joined: Feb 2001
Posts: 283
Member
Member
Offline
Joined: Feb 2001
Posts: 283
Natas - I will still be able to allow registration correct?
-as administrator?

[ April 20, 2001 06:46 PM: Message edited by: Patrick ]

#46925 04/20/2001 7:53 PM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
Natas,
That was the other spot I found today that I thought might affect it. It seems that the first one I found affects what the moderators see in the drop down menus (although I didn't change it right since after it was changed I couldn't see the templates settings as admin) and the second affects whether or not mods have access.

Ethan

Still working on it.


I'm your worst nightmare. A pumpkin with a gun!
Sponsored Links
#46926 04/20/2001 9:22 PM
Joined: Nov 2000
Posts: 3
Junior Member
Junior Member
Offline
Joined: Nov 2000
Posts: 3
Yeah youll still be able to use it as admin. smile

Your mods should log into the cp and then use their bookmark...up to you how you want to approach it.

#46927 04/20/2001 9:46 PM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
I'm going to take another look at the cp_common.pl file and see if I can't make it work right but in the mean time I'll just edit the permissions in the other file so at least they can access the templates.

Ethan


I'm your worst nightmare. A pumpkin with a gun!
#46928 04/20/2001 11:19 PM
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
I SOLVED IT!!

At least I got it worked out as far as the style settings. The same should hold true for your problem as well. Okay...

Step 1. Changing the cp.cgi so that moderators are allowed into certain sections. This is actually VERY easy. For your problem it looks like you need to find the line that says
Code
code:

You want to change it so that it looks like this.
Code
code:
Note the removal of one of the "(" near the begining of the line. That threw me for a sec. I think that's the line you need to change but you might also have to change the one after that that says 'update_q' in it, the same way. That should do it for that step.

Step 2. Making the control panel show correctly to your mods so they can get to that section easily. (I feel like an idiot once I realized how simple this was.) If you look at the cp_common.pl file you'll find this.
Code
code:

What you want to do is COPY and paste that line of code DIRECTLY ABOVE these lines.
Code
code:
Now ABOVE the line you pasted you have to put the following code. (Unless it's already there which it was in my case since the menu I was modifying already had a section that moderators could get into. The members menu doesn't so you have to add it.)
Code
code:

The way the code should now look when you're done is this.

Code
code:

So there you have it! (I may have missed a "}" at some point in my explanation but the final code should be correct.) I gave you an explanation rather than just the code in case you want to give them access to other areas.

Happy Coding!!!!

Ethan

[ April 20, 2001 11:22 PM: Message edited by: Ethan Gilchrist ]


I'm your worst nightmare. A pumpkin with a gun!

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 20240430)