The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Advertising Banner System (http://www.thevbgeek.com/forumdisplay.php?f=28)
-   -   Showing banner in Ultimate Side Columns (http://www.thevbgeek.com/showthread.php?t=4952)

Collectors 01-20-2009 09:00 PM

Showing banner in Ultimate Side Columns
 
I'm using the vBulletin add-on Ultimate Side Columns 2.2. When I put the GAB code ($GAB_ads[0]) in one of the usc blocks my banner doesn't show up. How can I display banners using GAB in the Ultimate Side Columns add-on or is this not possible?

Morgan 01-21-2009 03:51 PM

Not familiar with that add-on, but $GAB_ads is set at the global_start hook. Guessing here, but you'd need to either set the execution order on the GAB global_start plugin so that it runs before the global_start plugin of that add-on, if there is one, or look through the add-on's code and see if you need to global the $GAB_ads variable, using global $GAB_ads; inside the add-on's function(s) because of scope.

Collectors 01-25-2009 08:18 PM

I've decided that I'm not going to use this mod. Thanks Morgan!


All times are GMT. The time now is 09:56 AM.

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