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 10-06-2006, 07:04 PM
Loco's Avatar
Loco Loco is offline
Senior Member
 
Join Date: Nov 2005
Posts: 132
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default google banner header ad isn't showing

this is my first attempt at this, so bare with me..

i looked at this debug thing and seen that i needed to chmod geek/ to 77, so I did that.. do all the files under it need to be chmod 777 too ?

either way, this is what I've done..

I created a new banner for html,, and placed the google <script> in the html spot..

and I placed the $GAB_ads[x] where is goes..

still nothing shows.. so I'll place the google code back up for now

this is the debug info
PHP Code:
>> 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',
     
'9'            =>'11',
     ),
     
'fieldtotoggle'            =>'1',
     
'field_value_yes'            =>'',
     
'max_width'            =>'',
     
'max_height'            =>'',
     
'server_path_to_banners'            =>'/home/XXXXl/vbulletinsetup.com/html/forum/geek/gab/images',
     
'media_extensions'            =>'',
     
'url_to_banners'            =>'http://forum.vbulletinsetup.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'            =>'1',
     
'number'            =>'1',
     
'cat_option'            =>'1',
     
'cats'            =>'',
     ),
     ),
     ),
     ),
     
'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'            =>'',
     ),
     
'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'            =>'google-banner',
     
'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-9279618852838129";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2006-10-04: vbsetup- banner
google_ad_channel ="8174653465";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0066CC";
google_color_text = "000000";
google_color_url = "000000";
//--></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[xin them:
Styleid 4 Title header contains $GAB_ads[1]
gab  folder check
GAB directory looks valid 
and I can write to it!
 
vBulletin v3.6.0Copyright Â©2000-2006Jelsoft Enterprises Ltd


Thank you
__________________
-----==== Check out The Best Forum Ever! & my new biz Sheley Enterprises =====-----
I offer contract work marketing and modifying forums, let me know if you have any questions.

Last edited by The Geek; 10-07-2006 at 10:54 PM..
Reply With Quote
  #2  
Old 10-07-2006, 10: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

It should be $GAB_ads[0] according to this debug. Also, the default billboard ad is only set to pull image types. You need to change that to HTML
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
Wierd Google Ad tag showing up in Title & GAL Error nymyth Geek Article and Review System 2 10-15-2008 01:59 PM
Banner in header MaxxFusion Geek Advertising Banner System 1 03-13-2008 07:21 PM
No banner showing... concepts Geek Advertising Banner System 3 08-22-2006 06:41 PM
The little link icon isn't showing... Fleabag Geek Auto-Linker 23 05-21-2006 07:06 PM
Banner in header and then one after first post? Brent Geek Advertising Banner System 4 12-21-2005 06:01 AM


All times are GMT. The time now is 02:08 PM.


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