The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Advertising Banner System

Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2008, 06:59 PM
Tigratrus's Avatar
Tigratrus Tigratrus is offline
Senior Member
 
Join Date: Nov 2006
Posts: 206
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 How to show GAB ads in Photoplog *without* using CMPS?

We've removed CMPS from our system now that we've got Joomla! up and running as the homepage and CMS for our site, but Now I'm scratching my head trying to figure out how to get GAB ads showing in Photoplog pages, since this_script can't be used?

Any advice from the oracle?

Pretty please?

James and Susan
Reply With Quote
  #2  
Old 08-29-2008, 05:01 AM
Tigratrus's Avatar
Tigratrus Tigratrus is offline
Senior Member
 
Join Date: Nov 2006
Posts: 206
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

We're currently trying to get the GAB ads to show up in http://www.vbulletin.org/forum/showthread.php?t=175181 which is a left/right column system with a lot less overhead than CMPS. Unfortunately GAB ads don't show up? I'm guessing we might need something in a global_start hook to make the gab_ads a global variable?

Thanks in advance for any help/suggestions!

James and Susan
Reply With Quote
  #3  
Old 08-29-2008, 04: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
  #4  
Old 08-29-2008, 06:13 PM
Tigratrus's Avatar
Tigratrus Tigratrus is offline
Senior Member
 
Join Date: Nov 2006
Posts: 206
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

Thanks Morgan!

Great info as always. Tweaking the execution order of the GAB global_start hook did the trick perfectly.

::thumbs up::

James and Susan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ads not showing in CMPS module? Tigratrus Geek Advertising Banner System 11 09-19-2009 10:30 AM
How to show PhotoPlog minithumbs in GARS stckhlm Geek Article and Review System 5 01-08-2009 03:39 PM
Show 1 Ads, permanently,if, Usergroupssetting turned off. MrD Geek Advertising Banner System 2 02-28-2008 06:21 PM
How to make categories list show on vba CMPS? techenigma Geek Article and Review System 1 01-26-2007 03:48 PM
(vB 3.6) - ads don't show up reteep Geek Advertising Banner System 6 08-25-2006 07:01 PM


All times are GMT. The time now is 02:58 PM.


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