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 rotating ad blocks to the left column? (http://www.thevbgeek.com/showthread.php?t=4960)

funinthesun 01-24-2009 02:58 PM

Adding rotating ad blocks to the left column?
 
I have THIS installed which is just a basic left column template on my forum with ads listed one after the other below each other. What I would like to do is rotate say 5 ads in each block so to maximum the amount of ads I can display as I'm running out of space! Can this be done with GAB, I would like to know before I purchase as it is quite an important part of my site and keeping it running! Thanks in advance :)

Morgan 01-24-2009 03:07 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.


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

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