|
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
|
|||
|
|||
making a gab block for gars
ive tried this but
gab
generally confuses me
my block contains Quote:
Quote:
Quote:
|
#2
|
||||
|
||||
Yea,
GAB
needs more documentation. However try this:
Create a file called gab .php with the following contents: <?php global $GAB_ads; $ouput .= $GAB_ads[0]; //replace the 0 with whatever your config is. ?> Then save it in geek/gars/mods/display Then register a new module: title: GAB file: gab .php templates: (leave blank) That should do the trick |
#3
|
|||
|
|||
sorry sam i know you have alot on but that didnt work i tried it with $GAB_ads[0] and $GAB_ads[1]
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
Off hand, it looks like it should be $GAB_ads[1];
Also, there are no $GAB_ads[1] in any of your templates. PHP Code:
|
#7
|
|||
|
|||
double checked and pasted the php code from your last post i now have this error
Quote:
|
#8
|
||||
|
||||
BAH! If I remember right, for some reason it worked fine for someone when the contents of the file was:
PHP Code:
|
#9
|
|||
|
|||
ok ive added that the errors gone. but it still does work here the debug and some screeny's
Quote:
|
#10
|
||||
|
||||
And the ad shows up in your admincp?
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
(Updated) GARS - vBAdvanced Block | gothic | Add-ons | 0 | 06-28-2010 06:08 AM |
Gars Youtube Block | Lizard King | Add-ons | 2 | 06-07-2009 01:39 PM |
GARS: Module making 101 | The Geek | Tutorials | 1 | 08-27-2008 10:01 AM |
GARS / Links vBA block | gothic | Geek Article and Review System | 1 | 09-24-2006 10:07 AM |
GARS: Module making 102 | The Geek | Tutorials | 0 | 02-22-2006 08:00 PM |