PDA

View Full Version : Adding New Scripts?


soultrader
01-01-2007, 01:00 PM
I want to add the bannners of GAB on some pages that did not come with the vbulletin default. For example, the ads will not show on the misc.php files. How would I go about adding pages?

The Geek
01-02-2007, 09:44 AM
You want to open the file (in this case misc.php) and look for something like:

define(THIS_SCRIPT, 'misc');

Where misc will be the scripts name. Add that to GAB's scripts settings (most likely setting it to use the master script) and bob's your uncle ;) (as long as that page calls global and its templates have the $GAB_ads variable)

soultrader
01-24-2007, 04:30 AM
Thank you very much Geek. Actually it was quite simple :)