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 09-02-2006, 12:29 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default I need a quick run through of what everything is ?

Im trying to work out how to use this but i brief insite as to what each of these are would help

Categories - cat so if i had a campain like fish id put the add in the fish cat ?
Billboards - are billboard different areas of the site where add are so maybe a billboard for header billboard for footer etc ?
Scripts - i understand this as a script adverts are displayed in is this done at a per add level or per cat or even billboard ?

what are $gab_ad[0] these things related to adverts billboard cats ?


bassically i thought i had it right
i made a billboard side_block added $gab_ad[0] to a template and added a sky scrapper add to side_block some how however the advert i added to side_block appear else where on the site? i didnt add it to any other billboards thats why im kinda confused :S
Reply With Quote
  #2  
Old 09-02-2006, 04:04 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

Im not 100% sure what youre saying so hopefully this can help explain a bit better:

A category is just an easy way to group similar ads. Billboar ads can be set to only show results from some categroies. Therefore they also act as a filter/group mechanism.

A billboard is a block of 1 or more ads. For a standard configruation, most billboards only have 1 ad, however you can have more.

A script is the vB page that houses 1 or more billboards. Most scripts use the master script where you assign a billboard to $GAB_ads[0] - $GAB_ads[9].

A run of the mill standard setup with a banner ad in the header is usually done like this:
Create a billboard with 1 ad (image type) and assign that ad to $GAB_ads[0] in your Master Script.

If you have a mix of header and Sky Scraper ads, a set up may consist of something like this:
Put all your banner ads in 1 category and your sky scrapers in another category
Create a Billboard with 1 ad (image type) and have it only pull from the header category. Assign this billboard to $GAB_ads[0] in your Master Script.
Create a billboard with 1 ad (image type) and have it only pull from the Sky Scraper category. Assign this billboard to $GAB_ads[1] in your Master Script.

Whichever $GAB_ads[] you use, the output needs to appear in a template to see the results.
Reply With Quote
  #3  
Old 09-02-2006, 10:33 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

ok seems to be easy. i gave it a go with the added heart ache of vbadvanced looked at your little tutorial. Seemed to be a problem with GAB reconizing the server path to images when i added the http address to the banners folder. so i removed it and still didnt work :S

anyway heres the debug any help would be apreciated

Quote:
>> START SETTINGS -------

$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'8',
'3' =>'7',
'4' =>'2',
'5' =>'5',
'6' =>'1',
'7' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/plugged/public_html/upload/geek/ gab /images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.plugged.co.uk/upload/geek/ gab /images/',
'url_advertising' =>'advertising.php',
'url_turn_off_ads' =>'turnoff.php',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'0',
'method' =>'2',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'1',
'cats' => array(
'0' =>'3',
),
),
'1' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'1',
'cats' => array(
'0' =>'3',
),
),
),
),
'2' => array(
'title' =>'GARS_Block',
'wrapper' =>'0',
'method' =>'2',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'1',
'cats' => array(
'0' =>'6',
),
),
'1' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'1',
'cats' => array(
'0' =>'6',
),
),
),
),
'3' => array(
'title' =>'Right Block Add',
'wrapper' =>'0',
'method' =>'2',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'4',
),
),
),
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
'0' =>'1',
'1' =>'3',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
'0' =>'1',
'1' =>'2',
),
),
'showthread' => array(
'name' =>'showthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'index' => array(
'name' =>'index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'editpost' => array(
'name' =>'editpost',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'newthread' => array(
'name' =>'newthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'calendar' => array(
'name' =>'calendar',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'online' => array(
'name' =>'online',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'printthread' => array(
'name' =>'printthread',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'profile' => array(
'name' =>'profile',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'search' => array(
'name' =>'search',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'usercp' => array(
'name' =>'usercp',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'adv_index' => array(
'name' =>'adv_index',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'THIS_SCRIPT' => array(
'usemaster' =>'1',
),
),
'frequency' => array(
'0' => array(
'description' =>'Low',
'value' =>'1',
),
'1' => array(
'description' =>'Medium',
'value' =>'2',
),
'2' => array(
'description' =>'High',
'value' =>'3',
),
'3' => array(
'description' =>'Mega High',
'value' =>'4',
),
),
);

>> END SETTINGS -------

Categories
>> START CATS -------

$results = array(
'1' => array(
'id' =>'1',
'title' =>'Header Banners',
'ordinal' =>'5',
),
'2' => array(
'id' =>'2',
'title' =>'Sky Scraper',
'ordinal' =>'20',
),
'3' => array(
'id' =>'3',
'title' =>'Footer Banners',
'ordinal' =>'10',
),
'4' => array(
'id' =>'4',
'title' =>'Other',
'ordinal' =>'30',
),
'5' => array(
'id' =>'5',
'title' =>'Unknown items',
'ordinal' =>'1',
),
'6' => array(
'id' =>'6',
'title' =>'GARS_vertical',
'ordinal' =>'10',
),
);

>> END CATS -------
>> START ADS -------

$results = array(
'6' => array(
'id' =>'6',
'title' =>'adsense bottom',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'',
'hits' =>'0',
'views' =>'0',
'url' =>'',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'3',
'type' =>'3',
'template' =>'0',
'catid' =>'3',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6529510362763780";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'7' => array(
'id' =>'7',
'title' =>'amazon music',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'',
'hits' =>'0',
'views' =>'0',
'url' =>'',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'1',
'type' =>'3',
'template' =>'0',
'catid' =>'3',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
amazon_ad_tag = "plugged-20"; amazon_ad_width = "468"; amazon_ad_height = "60"; amazon_color_border = "4E72A2"; amazon_color_text = "4E72A2"; amazon_color_link = "4E72A2"; amazon_color_price = "33FF00"; amazon_ad_link_target = "new"; amazon_ad_price = "retail";//--></script>
<script type="text/javascript" src="http://www.assoc-amazon.com/s/ads.js"></script>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'10' => array(
'id' =>'10',
'title' =>'Add sense vertical',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'',
'hits' =>'0',
'views' =>'0',
'url' =>'',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'3',
'type' =>'3',
'template' =>'0',
'catid' =>'4',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6529510362763780";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "4E72A2";
google_color_bg = "FFFFFF";
google_color_link = "4E72A2";
google_color_text = "4E72A2";
google_color_url = "4E72A2";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);

>> END ADS -------

Templates with $GAB_ads[x] in them:
Styleid 12 Title adv_portal_GAB_ads contains $GAB_ads[1]
Styleid 12 Title footer contains $GAB_ads[0]
gab folder check
GAB directory looks valid and I can write to it!

vBulletin v3.6.0, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
Reply With Quote
  #4  
Old 09-03-2006, 08:06 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

So its working apart from on vbacmps?
Reply With Quote
  #5  
Old 09-03-2006, 10:34 AM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

well yeah but i still have skycraper add apearing in billboards i havent assigned them to :S
Reply With Quote
  #6  
Old 09-03-2006, 12:14 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

It looks like one of your ads may not be set to 'pull from selected categories below'. It looks like its set to any cateogry which may account for the Skyscraper ad appearing in it.
Reply With Quote
  #7  
Old 09-03-2006, 04:18 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Quote:
Originally Posted by The Geek
It looks like one of your ads may not be set to 'pull from selected categories below'. It looks like its set to any cateogry which may account for the Skyscraper ad appearing in it.

ahha sorted thanks one last question ive setup a template block in vbadvanced with the content $GAB_ads[1] it doesnt seem to be working even know there are adverts assigned to it. I dont think its vbadvanced because adds ive setup in the footer appear fine
any ideas
Reply With Quote
  #8  
Old 09-03-2006, 04:31 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

Do you have GAB_ads in your Portal Output Global Variables vba setting?
Reply With Quote
  #9  
Old 09-03-2006, 04:48 PM
benj benj is offline
Senior Member
 
Join Date: Sep 2005
Posts: 166
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Default

Yeah i do.....
Reply With Quote
  #10  
Old 09-03-2006, 05:54 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
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

If you use $GAB_ads[0] does that one show?
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
How do run GAL in forumhome? axprovn Geek Auto-Linker 2 06-11-2009 03:30 AM
Can you run Gars on big boards ? miyukichii Geek Article and Review System 2 03-03-2008 08:24 PM
GAl can run outside vbulletin? micxuy Geek Auto-Linker 9 05-16-2007 08:15 AM
I created the cron job... but it says it won't run until tomorrow... FRAiD Geek Article and Review System 7 01-15-2006 09:01 AM
another quick one Sniper Geek Article and Review System 3 11-04-2005 02:38 AM


All times are GMT. The time now is 03:55 PM.


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