Kevlar
02-05-2005, 09:48 PM
An idea and tell me if it's possible (or worthwhile) or not.
I want to do a if/then on the postbit page that does something like this.
If admin/mod display 'quick ban' button for particular user.
The 'quick ban' button would essentially do just that. By pushing it, it would automatically add that user to one of my banned groups (I have a readonly usergroup for troublesome users) for 24 hours. This is mostly for moderators because I didn't give them permission to the mod control panel (too much permissions).
If they have the 'quick ban' button, they can put a user into 'timeout' for 24 hours until one of the admins can review it.
I know I would need to do a if/then to check the usergroups for admins or mods.
Then I know I would have to make seperate forms for each user on postbit. It would then have to pass those form variables to the banning.php file.
Thoughts?
I want to do a if/then on the postbit page that does something like this.
If admin/mod display 'quick ban' button for particular user.
The 'quick ban' button would essentially do just that. By pushing it, it would automatically add that user to one of my banned groups (I have a readonly usergroup for troublesome users) for 24 hours. This is mostly for moderators because I didn't give them permission to the mod control panel (too much permissions).
If they have the 'quick ban' button, they can put a user into 'timeout' for 24 hours until one of the admins can review it.
I know I would need to do a if/then to check the usergroups for admins or mods.
Then I know I would have to make seperate forms for each user on postbit. It would then have to pass those form variables to the banning.php file.
Thoughts?