[How to] Install Plug-ins/Hooks
by
07 Jun 2005
This is a basic guide to installing plug-in's via the admin cp written for newbies What you should have All plug-in's require one thing, a .xml that contains the plug-in name, php code, and hook location. In most cases this file will be named plugin_name.xml but some authors may not change the file name and use the default vbulletin-plugins.xml filename. Some plug-in's may require you to run SQL queries on the database before you can use them, you can find instructions on how to do this in Logician's "How to install a vBulletin Hack" thread found here: How To Install a vbulletin Hack: Guide to Newbies. Installing the Plug-in This is a very simple process, browse to the download/upload plug-in's page in your admin cp (located at http://www.yoururl.com/forum/admincp/plugin.php?do=files) See the first attachment for a picture of the page I'm talking about In the "Import Plugin Definitions XML File" table locate the "EITHER upload the XML file from your computer" columns and click on the browse button. A new window will pop up, locate the plug-in.xml file on your hard-drive and select it. Click the 'Import' button. Your plug-in is now active. If the .xml file is large and you are worried about php time outs you can upload it to the /xml/ folder in your forum root, then insert the correct filename/path in the "OR import the XML file from your server" column. Next thing you will want to do is browse to the plug-in manager page (located at http://www.yoururl.com/forum/admincp/plugin.php?do=modify) and make sure your newly added plug-in's are active. See second attachment for a pic. I almost forgot, if your plug-in's are set up correctly but not working make sure you have the global vBoption for the plug-in system set to enabled. You can find this option in the admin cp by browsing to vBoptions -> Select Plugin/Hook System from menu -> Set Enable Plugin/Hook System to yes. That is all it is to it! |