|
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
|
||||
|
||||
what goes in the $GAB_ads[x] ????
Ok, call me thick... But I just don't get this one part.
The number that goes in the array - what is it ??? Is it the total number of banners you have ? ( on the entire site ) So if I have 200 ads total, I would put 200 in the quotes, or put 200 instances of $GAB_ads[x] ????? And what if I only want ads 1-20 to show on index, and ads 50-125 to show on forumdisplay ?????? |
#2
|
||||
|
||||
Hi Sleep,
It starts at 0 If you wanted to show your 20th ad, it would be in $GAB_ads[19] HTH's |
#3
|
||||
|
||||
OK, bUt it doesn't seem to be working that way for me.
What seems to be happening on my end is the block number for that page is what is getting pulled. I have master block #3 set as a rotating banner , and I have #2 set as a Static image. and #1 is a text banner . After asking this question here, I was playing around with it, and the array is pulling the blocks. |
#4
|
||||
|
||||
And my banners started at number 1, not 0
|
#5
|
||||
|
||||
|
#6
|
||||
|
||||
No, I just misunderstood the terms you were using in relation to how the actual banners were displayed.
The way I see it - Banners are grouped by categories. Categories can be set to be used in certain forums, and or in certain scripts. And each script can use its own blocks. The only draw-back I have found is the block numbers are not unique. i.e. Master starts at zero, Index starts at zero. ect ....... I get it now Now if I can only figure out how to get 3 small banners to show "side by side". No matter what I do, it won't work. |
#7
|
||||
|
||||
er, I think we are still having a miscommunication error!
each block will come out as a seperate index. Not master=0, index=1, showthread=2, etc... If the script is set to master, then only the master blocks are used. If you want 3 banners to appear side by side, create 1 script block in master. Set it to a single image, 3 images using the standard wrapper. HTH's!!! |
#8
|
||||
|
||||
Nope, doesn't work.
This what my debug shows ... MASTER 'usemaster'=1 'isactive'=1 ads=2 0 'type'=1 'bannercount'= 'template'=4 'customtemplate'=0 1 'type'=1 'bannercount'= 'template'=4 'customtemplate'=0 0 is set to 1 image 1 is set to 3 images Both show 1 image at a time http://www.thedailyparrot.net/forums |
#9
|
||||
|
||||
can you pm me an admin account?
|
#10
|
||||
|
||||
FYI, There is a bug in PHP 4.4.1 that effects certain Opensource scripts.
I am not sure if this relates to my issue |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
where to put $GAB_ads[x] in header ? | cupra | Geek Advertising Banner System | 1 | 02-24-2009 11:16 PM |
forum.gab_ads dosent exist | D Holzwarth | Geek Advertising Banner System | 2 | 02-05-2008 03:57 AM |
aligning gab_ads | Bridges | Geek Advertising Banner System | 0 | 07-31-2007 01:12 AM |
Question re: $GAB_ads[0] through $GAB_ads[9] | Torqued | Geek Advertising Banner System | 1 | 04-05-2006 06:22 PM |
GAB_ads Error please help | fluentdesigns | Geek Advertising Banner System | 3 | 11-30-2005 08:24 AM |