View Single Post
  #3  
Old 08-29-2008, 05:08 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

1: See this and this, the latter of which would get GAB_ads instead.

2: Not familiar with that add-on but $GAB_ads is set at the global_start hook. Using global $GAB_ads; is for inside functions because of scope. 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.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote