The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Advertising Banner System (http://www.thevbgeek.com/forumdisplay.php?f=28)
-   -   Adding New Scripts? (http://www.thevbgeek.com/showthread.php?t=2654)

soultrader 01-01-2007 01:00 PM

Adding New Scripts?
 
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 :)


All times are GMT. The time now is 02:33 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.