![]() |
Removing code via plugin?
At the moment we have to manually edit our infraction.php file so that our forum moderators may infract our "VIPS" who are in a different usergroup but are moderators of their very own subforum.
This works brilliantly and exactly how I wanted it over the last two years. However I want to see if it is possible to incorporate this manual edit as a plugin to stop the neccessity for manual code edits. the code in question is, Code:
($hook = vBulletinHook::fetch_hook('infraction_verify_permissions')) ? eval($hook) : false; |
No one able to advise on this?
|
I'm not sure if you can use the hook for it since what you really need is to set a condition to then skip the code below. Or actually, maybe what you need to do is use the hook to set a paramenter that will make it so that error doesn't get evaled.... hmmmm....
PHP Code:
|
All times are GMT. The time now is 08:05 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:
|