![]() |
Deny/Reset single usergroups
We've got a lot of usergroups at our forum, and sometimes we mes up on our forum permissions. XD It's great that vBulletin has provided us a way to reset or deny permissions to all usergroups at once, but I'm so lazy I wish to be able to do it individually without having to load an extra page, select "Use Default Permissions" or press "All No", and then save it.
So, I've made this tiny modification to the admincp/forumpermissions.php script thaa I thought I'd share, in case some of you find it useful as well. First, locate the following line: PHP Code:
PHP Code:
Now, we have to make it so those links actually DO something. Find the following (should be near the top of your script) PHP Code:
PHP Code:
I did this for vB 3.8.1, but it most probably will work in earlier versions. |
As that is a nice feature if you do have lots of groups, it would be better if you designed that to function as a product/plugin and release it in the mod section here at vb.org.
|
I wish I could, but as far as I can tell, there are no hooks where there would need to be in order for me to make it a plugin. :(
|
All times are GMT. The time now is 05:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|