PDA

View Full Version : Disable the plugin/hook system globally



Gomjaba
Thu 17th Aug '06, 11:03pm
This can be helpfull if you created / installed a plugin or product which has broken your forum and you are not able to access the AdminCP anymore.

To disable the plugin/hook system open your config.php which can be found in your forumroot/includes directory

Just below

<?php
enter

define('DISABLE_HOOKS', true);

and save the file.

If you would like to enable the plugin/hook system again, either remove the line again or simply comment that line out. To do so, add two forward slashes " / " so it will look like


// define('DISABLE_HOOKS', true);

Next time you would like to disable the plugin/hook system again
you simply have to remove those two " / ".

If you are able to access your AdminCP go to

AdminCP -> vBulletin Options -> vBulletin Options -> Plugin/Hook System

And set it to No to disable.