PDA

View Full Version : Disabling all plugins and products at once


CustomerService
07-17-2007, 06:11 PM
This is one I didn't know that was given to me by vbulletin when a forum was acting goofey.

You basically just put the line below right below the PHP declaration on the first line of your config.php file (under includes directory):

define("DISABLE_HOOKS", true);

It will shut off all plugins. Why is this especially helpful? If you are having problems with a style here, try using the above to make sure its not one of your plugins throwing things out of whack.

Also of note, strangely enough, is that my particular problem I was having only was resolved by adding this line. I tried turning all the plugins off via SQL (setting active from 1 to 0) and then manually in vBulletin's AdminCP, but I was only able to get back into the forums by using the line above. I had to add that line, delete all products/plugins, and then remove it again. Back to normal.

Hope that helps someone.