Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
I'm not sure if this should go here since it's not an actual hack but I don't know where else it could go.

I've written a tutorial explaining how to modify UBB to allow your moderators access to any section of the control panel you want. I did this originally because some of the moderators on my board wanted to be able to change the style templates for their forums. Here's the link to the file...

http://www.randominformation.com/cpmodtutorial.txt

(Sorry if this is in the wrong spot. If it is go ahead and put it where it belongs. Thanks.)

Ethan


I'm your worst nightmare. A pumpkin with a gun!
Sponsored Links
Joined: Apr 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 17
Very nice smile Thanx

Joined: Nov 2000
Posts: 915
Developer
Developer
Offline
Joined: Nov 2000
Posts: 915
slick tutorial smile props on it

Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
very Nice!

Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
Thanks much for the compliments. I know it isn't a full fledged hack but it's the first thing I managed to figure out on my own with CGI so I was anxious to share this with everyone. (Especially since right after I figured this out someone wanted to let mods into the registration queue.)

Ethan


I'm your worst nightmare. A pumpkin with a gun!
Sponsored Links
Joined: Nov 2000
Posts: 168
Member
Member
Offline
Joined: Nov 2000
Posts: 168
Thanks alot, I was just hired to do a mod control pannel for a ubb, and this saves me so so much trouble, thanks....

Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
hmmmm....... if I cut the following from cp.cgi
Code
code:
Moderators can get access to my cp.....but I think also other users.so i think it is a security risk or??? I don't know.plz let me know if my thinking is true...
but big thx nice doc smile

(sorry for my bad engl.)

[ May 08, 2001 10:31 AM: Message edited by: [email protected] ]

Joined: May 2001
Posts: 27
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 27
Jeppp I found out that it is better to use tow if's... so a normal user is not able to get access to the cp .....

you should not just cut
Code
code:


you should set under the if admin an if Mod so there isnt an security risk i think...

use it like this
Code
code:

greez
(sorry for my bad engl.) confused

[ May 08, 2001 12:15 PM: Message edited by: [email protected] ]

Joined: Sep 2000
Posts: 85
Member
Member
Offline
Joined: Sep 2000
Posts: 85
Guess I should have specified in my tutorial that that was the reason for placing the moderator if clauses in the first place.

Ethan


I'm your worst nightmare. A pumpkin with a gun!
Joined: Aug 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 2
I'm pretty new to coding Perl so I'm probably wrong but couldn't you do this:

Code
code:

As I said, it's probably wrong but...

Sponsored Links

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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 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
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)