blocking editing of...


  -----  
Author Message

Mikecp421
Member

Sat Aug 13, 2005 10:29 am   Post subject: blocking editing of...
I have code I got from phpbbhacks that blocks anyone especially moderators from editing admin posts but can I do this for supermods as well? I know I would probably have to be able to identify them in the code first. But after that?
 

Thoul
Administrator

Sat Aug 13, 2005 7:26 pm   Post subject: re: blocking editing of...
Depending on how the code is written, you may not have to do anything. Can you post a link to the download at phpBBHacks that you're using?
 

Mikecp421
Member

Sun Aug 14, 2005 6:15 pm   Post subject: re: blocking editing of...
here is the mod I used to block editing of admins;

http://www.phpbbhacks.com/download/1403
 

Thoul
Administrator

Sun Aug 14, 2005 11:13 pm   Post subject: re: blocking editing of...
Yep, it looks like you won't have to do anything here. The hack would probably be better described as only allowing admins to edit/delete admin posts. It specifically checks to see if the user trying to edit an admin's post is also an admin or not.
 

Mikecp421
Member

Sun Aug 14, 2005 11:20 pm   Post subject: re: blocking editing of...
no but I want to make it so that modserators cant edit supermods posts and then none of them can edit admins. Is that possible?
 

Thoul
Administrator

Sun Aug 14, 2005 11:31 pm   Post subject: re: blocking editing of...
Well, the mod already does this part:

Quote:

then none of them can edit admins


So that's half the battle.

The moderator/super moderator part can probably be done, but it will depend on how you eventually create super moderators and how they are indicated in the code. So, a super moderator status of some kind will have to be created first, but this should be possible after that.
 

Mikecp421
Member

Sun Aug 14, 2005 11:49 pm   Post subject: re: blocking editing of...
ok that sounds, good, now how do I do that? lol. Thats another thread I guess though.
 

Page 1 of 1
Display posts from previous: