|
|
Joined: Sep 2000
Posts: 85
Member
|
Member
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!
|
|
|
|
Joined: Apr 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Apr 2001
Posts: 17 |
Very nice Thanx
|
|
|
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
slick tutorial props on it
|
|
|
|
Joined: Mar 2001
Posts: 318
Member
|
Member
Joined: Mar 2001
Posts: 318 |
|
|
|
|
Joined: Sep 2000
Posts: 85
Member
|
Member
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!
|
|
|
|
Joined: Nov 2000
Posts: 168
Member
|
Member
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
Joined: May 2001
Posts: 27 |
hmmmm....... if I cut the following from cp.cgi 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 (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
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 you should set under the if admin an if Mod so there isnt an security risk i think... use it like this greez (sorry for my bad engl.) [ May 08, 2001 12:15 PM: Message edited by: [email protected] ]
|
|
|
|
Joined: Sep 2000
Posts: 85
Member
|
Member
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
Joined: Aug 2001
Posts: 2 |
I'm pretty new to coding Perl so I'm probably wrong but couldn't you do this: As I said, it's probably wrong but...
|
|
|
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.
|
|
Posts: 21,079
Joined: March 2000
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|