![]() |
|
Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin. |
Advertisement | |
|
|
Learn how to remove ads |
![]() |
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
![]() I went to the ACP
GAB
Manager -> Scripts -> adv_index and set the ad block(to GAB_ads[0]), and then added $GAB_ads[0] to the vBa template. I've got a
banner
that shows up fine in the vB header, (simple text, just for
testing
), but it refuses to show up in any cmps modules. Is there anything we need to do? There was an old reference to setting GAB_ads in global output, but it wasn't clear what steps were involved or where that setting exists?
Given that it was a couple years ago, it's likely no longer valid, but there seems to be *something* that is keeping the GAB banner from being rendered at all in a CMPS module... Any advice/suggestions would be greatly appreciated! James and Susan |
#2
|
||||
|
||||
![]() Sounds like a scope issue. Try adding global $GAB_ads; near the top of the PHP code for the vBa CMPS module.
__________________
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. ![]() ![]() 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 |
#3
|
||||
|
||||
![]() For anyone else trying to do the same thing here's how I fixed it:
1. Open vba_cmps_include_top.php which should be located in your forums/includes directory. 2. Find the lines Code:
// ##### Function to Print The Page Out ####################################### function print_portal_output(&$home, $nonindex = false, $from_print_output = false) { Code:
global $GAB_ads; This fix works for CMPS 3.0 RC2 (though the concept/requirement is probably common to more CMPS versions), and is specifically needed if you are using CMPS Template modules and you want to have GAB banners show up in the module. One more problem down... ::Snoopy's happy dance:: James and Susan |
#4
|
||||
|
||||
![]() Have a
follow
-up to this. We just noticed that
GAB
adds aren't showing up in several parts of the site, Blogs(vBlogetin), and ironically, Photoplog? I've got CMPS itself showing up in Photoplog pages by adding
Code:
define('VBA_PORTAL', true); define('VBA_PAGE', 'galleries'); Code:
define('PHOTOPLOG_THIS_SCRIPT','index'); ![]() Any words of wisdom from the oracle on how to get GAB ads showing up in the CMPS modules in Photoplog? James and Susan |
#5
|
||||
|
||||
![]() Untested but see this for PhotoPlog's THIS_SCRIPT value, and you need to add GAB_ads to the PhotoPlog ACP Global Variables setting as described here for other modifications. Not sure about CMPS modules in Photoplog or vBlogetin.
__________________
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. ![]() ![]() 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 |
#6
|
||||
|
||||
![]() Sorry for the slow response on this, we've been busy with other things (taking a 6 year old in for a biopsy will do that to ya :-( ), but I finally had a chance to sit down and make the changes above and it's working perfectly.
This is why we love you Morgan, great support that just plain *works*. ::raises a virtual glass:: Our ad impressions stats thank you! James and Susan |
#7
|
||||
|
||||
![]() Biopsy and 6-year old should not be in the same sentence. Sorry to hear about that. Hope everything turns out okay.
__________________
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. ![]() ![]() 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 |
#8
|
||||
|
||||
![]() I couldn't agree more, and thanks.
I won't go into inappropriate details, but the initial results are consistent with something benign, and we should have a definitive answer Monday. Despite this being the second time around, it doesn't *appear* to be any of the things we've been dreading, so we're focusing on optimism. It does have a way of eating up all our copious "free time" reseraching posiibilities though. Anyway, didn't mean to digress, but I did want to let you (and anyone else doing the same thing) know that the above changes worked perfectly for the GAB banners in 'Plog (and other mods for that matter). It's so nice when changes are this quick and effective ![]() James and Susan |
#9
|
|||
|
|||
![]() Anyone have an idea of how to get this to work with vB Dynamics?
I tried adding global $GAB_ads; in to the pages, but that didnt seem to work to well, tried using a plugin but i dont have a clue of what im doing there. I tried visiting the photoplog site to see if that could hed some light or a few hints but i dont have photoplog to view it, so any help from here would be appreciated. Thanks |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to show GAB ads in Photoplog *without* using CMPS? | Tigratrus | Geek Advertising Banner System | 3 | 08-29-2008 06:13 PM |
image ads are not showing up. | jpx10 | Geek Advertising Banner System | 1 | 08-29-2006 03:38 PM |
text ads not showing up (vb 3.5.0) | kidmercury | Geek Advertising Banner System | 2 | 08-26-2006 12:03 AM |
Pics not showing on cmps | nbento | Geek Article and Review System | 1 | 03-08-2006 08:56 AM |
Banner ads not showing | carvster | Geek Advertising Banner System | 1 | 11-03-2005 09:22 PM |