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
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2006, 12:39 PM
kagein kagein is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Arrow footer banner not showing

ive got an adsense ad in a left column that looks ok but when i try to add another ad in the footer it just doesn't show. or when i play around with it a bit the skyscraper ad in the left column stretches to a footer ad? what am i doing wrong

here my debug:

>> START SETTINGS -------

$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'8',
'3' =>'9',
'4' =>'7',
'5' =>'2',
'6' =>'5',
'7' =>'1',
'8' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/kagein/public_html/geek/ gab /images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.ask-gurus.com/geek/ gab /images/',
'url_advertising' =>'',
'url_turn_off_ads' =>'',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'1',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'2',
),
),
),
),
'2' => array(
'title' =>'footer',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'3',
),
),
),
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'0',
'blocks' => array(
'0' =>'1',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'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' =>'',
),
),
'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',
),
);

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

$results = array(
'1' => array(
'id' =>'1',
'title' =>'adsense',
'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' =>'2',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6698492814061488";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "008000";
//--></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',
),
'2' => array(
'id' =>'2',
'title' =>'adsense footer',
'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' =>'0',
'trackhits' =>'0',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6698492814061488";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "008000";
//--></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 1 Title footer contains $GAB_ads[2]
Styleid 1 Title header contains $GAB_ads[0]
gab folder check
GAB directory looks valid and I can write to it!

vBulletin v3.6.2, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
Reply With Quote
  #2  
Old 11-08-2006, 01:55 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

First, you need to create a billboard to house your other ad. Once you have done that, then you need to assign that billboard to a script. Edit your master script and assign your newly created banner to a $GAB_ads[x] variable. RIght now, you have a $GAB_ads[2] variable in your footer template, but there is no output for it.

HTHs
Reply With Quote
  #3  
Old 11-09-2006, 03:22 PM
kagein kagein is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder 
Talking

that worked fine...thanks

ive also noticed that the ads dont show up when a person views a profile or when they are about to register, faq, memberlist, heres my debug file

>> START SETTINGS -------

$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'8',
'3' =>'9',
'4' =>'7',
'5' =>'2',
'6' =>'5',
'7' =>'1',
'8' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/kagein/public_html/geek/ gab /images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.ask-gurus.com/geek/ gab /images/',
'url_advertising' =>'',
'url_turn_off_ads' =>'',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'1',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'2',
),
),
),
),
'2' => array(
'title' =>'footer',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'3',
),
),
),
),
'3' => array(
'title' =>'header',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'3',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'1',
),
),
),
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
'0' =>'1',
'1' =>'3',
'2' =>'2',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'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' =>'0',
'blocks' => array(
'0' =>'1',
'1' =>'3',
'2' =>'2',
),
),
'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',
),
);>> END CATS -------
>> START ADS -------

$results = array(
'1' => array(
'id' =>'1',
'title' =>'adsense',
'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' =>'2',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6698492814061488";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "008000";
//--></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',
),
'2' => array(
'id' =>'2',
'title' =>'adsense footer',
'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' =>'0',
'trackhits' =>'0',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6698492814061488";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "008000";
//--></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',
),
'3' => array(
'id' =>'3',
'title' =>'adsense header',
'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' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<script type="text/javascript"><!--
google_ad_client = "pub-6698492814061488";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "3D81EE";
google_color_text = "000000";
google_color_url = "008000";
//--></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 1 Title footer contains $GAB_ads[2]
Styleid 1 Title header contains $GAB_ads[0]
Styleid 1 Title header contains $GAB_ads[1]
gab folder check
GAB directory looks valid and I can write to it!

vBulletin® v3.6.3, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
Reply With Quote
  #4  
Old 11-10-2006, 04:27 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

To add aditional 'scripts', just add the script name to admincp-> gab ->scripts->add new. Make sure that the use master option is set and that you use the actual script name. To find the script name of the page, open the .php file of the page in question (i.e. faq.php) and look toward the top for:
define('THIS_SCRIPT', 'thisisthescriptname');
Where thisisthescriptname is the name of the script you want to enter.

HTHs
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
Domain Name - possible cause of banner not showing? Bianca Geek Advertising Banner System 0 07-14-2007 12:19 AM
How i add a footer Banner MotMann Geek Advertising Banner System 1 03-01-2007 04:33 PM
google banner header ad isn't showing Loco Geek Advertising Banner System 1 10-07-2006 10:55 PM
No banner showing... concepts Geek Advertising Banner System 3 08-22-2006 06:41 PM
Banner ads not showing carvster Geek Advertising Banner System 1 11-03-2005 09:22 PM


All times are GMT. The time now is 10:12 AM.


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