Sorry, I missed your reply. To create a plugin:
- In the adminCP, click on "Plugins & Products" then "Add New Plugin".
- From the "Hook Location" drop-down menu, choose global_bootstrap_init_start
- Enter a title (something so that in the future you'll remember what this plugin does)
- For "Plugin PHP Code", copy and paste the code I posted above.
- Click the "Yes" radio button next to "Plugin is Active", and press "Save".
If you later want to disable or delete this plugin, you can use the Plugin Manager. Your plugin will be listed in the "Product: vbulletin" section, and you can edit, disable, or delete it from there.
|