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 12-25-2006, 11:54 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Just Bought GAB.. need some serious help

I managed to add adsense into a banner , named the category "adsense", and then went to master script and placed $GAB_ads[0] into "adsense".

By adding $GAB_ads[0] into my header, I was able to get the adsense banner for my header.

However, I have serious issues trying to add other banners for $GAB_ads[1], $GAB_ads[2], etc...

Can I get some help on how to sort this out? I tried adding a new banner into a seperate category called "Adsense skyscraper". Then I went to masterscript and made $GAB_ads[1] to "Adsense skyscraper". However when I place $GAB_ads[1] into a new template I created for a vbadvanced module, the adsenes banner will not appear.

Any help will be appreciated. Thank you
Reply With Quote
  #2  
Old 12-25-2006, 12:54 PM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Here is my debug... looks like I have some errors

Code:
>> START SETTINGS ------- 

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

$results = array(
	        '1' => array(
	           'id'			=>'1',
	           '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'			=>'5',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<script type="text/javascript"><!--
google_ad_client = "pub-1136192669264684";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2006-12-25: Header
google_ad_channel = "3018429776";
//--></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 Skyscraper Forumhome',
	           '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'			=>'6',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'2',
	           'forumoption'			=>'1',
	           'scripts'			=>'|MASTER|',
	           'forums'			=>'',
	           'html'			=>'<script type="text/javascript"><!--
google_ad_client = "pub-1136192669264684";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "image";
//2006-12-25: Forum Sidebar
google_ad_channel = "9741149788";
//--></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 2 Title header contains $GAB_ads[0]
Styleid 2 Title adv_portal_adsenseskyscraper contains $GAB_ads[1]
gab folder check

Warning: fopen(/home/sole/public_html/forums/geek/gab/images/thisisatest.htm) [function.fopen]: failed to open stream: Permission denied in /admincp/GAB_admin.php on line 1952

Warning: fputs(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1953

Warning: fclose(): supplied argument is not a valid stream resource in /admincp/GAB_admin.php on line 1954
GAB directory is valid, but the server process can not write to it. Either give the apache process ownership to the folder or chmod it to 0777

vBulletin v3.6.0, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
Reply With Quote
  #3  
Old 12-26-2006, 05:17 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Any help here?
Reply With Quote
  #4  
Old 12-26-2006, 10:46 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

Did you try reading http://www.thevbgeek.com/showthread.php?t=363

BTW: Yesterday was x-mas so I wasnt around. Ill still be somewhat rare over the next week for the Holidays.

Last edited by The Geek; 12-26-2006 at 11:27 AM..
Reply With Quote
  #5  
Old 12-26-2006, 11:14 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

I am still getting an error:

Code:
>> START SETTINGS ------- 

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

$results = array(
	        '1' => array(
	           'id'			=>'1',
	           'title'			=>'Adsense Header',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'1880',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'3',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'5',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<script type="text/javascript"><!--
google_ad_client = "pub-1136192669264684";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2006-12-25: Header
google_ad_channel = "3018429776";
//--></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 Skyscraper Forumhome',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'1',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'3',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'6',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'2',
	           'forumoption'			=>'1',
	           'scripts'			=>'|MASTER|',
	           'forums'			=>'',
	           'html'			=>'<script type="text/javascript"><!--
google_ad_client = "pub-1136192669264684";
google_ad_width = 120;
google_ad_height = 600;
google_ad_format = "120x600_as";
google_ad_type = "image";
//2006-12-25: Forum Sidebar
google_ad_channel = "9741149788";
//--></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 2 Title header contains $GAB_ads[0]
Styleid 2 Title adv_portal_adsenseskyscraper contains $GAB_ads[1]
gab folder check
You seem to be missing your gab folder or your Server Path to Gab folder is invalid. That needs to be there for uploading banners

vBulletin v3.6.0, Copyright ©2000-2006, Jelsoft Enterprises Ltd.

Why does it keep saying my gab folder is invalid? My folder path is home/sole/public_html/forums/geek/ gab /images

Also, is there a manual on how to setup banners? I cant figure out how to set banners to $GAB_ads[1]. Thanks
Reply With Quote
  #6  
Old 12-26-2006, 11:29 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

Did you try the URl above? It appears to be set up right, $GAB_ads[0] will give you ads ffrom category 5 and $GAB_ads[1] will give you ads from category 6. To get it to work on vbacmps, you need to follow directions in the previous link.

The error about not being valid means that either your server path is incorrect or that it isnt chmodded correctly. If you are not uploading images, it shouldnt matter.

HTHs
Reply With Quote
  #7  
Old 12-26-2006, 11:49 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Geek where are you getting category 5 and category 6. Is there a place where I need to set them correctly? Also the path to the folder is correct and I have chmoded it to 777. I am still receiving these errors.. Is it possible for you to take a look?
Reply With Quote
  #8  
Old 12-27-2006, 09:39 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Any help please?
Reply With Quote
  #9  
Old 12-28-2006, 10:13 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

If you followed everything I said and the link and still cant get it working then pm me admincp access
Reply With Quote
  #10  
Old 12-30-2006, 06:41 AM
soultrader soultrader is offline
Member
 
Join Date: Sep 2006
Posts: 97
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Geek, I have sent you a pm with a test account. Will be waiting on your help. Thanks
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
Thanks but only bought 2 products rotor Lizard Lounge 0 10-07-2010 09:51 AM
how do I use GARS? just bought! daisukem Geek Article and Review System 3 06-13-2008 01:01 PM
I bought it, but where's the code? ahoogerhuis Geek Auto-Linker 2 01-22-2008 06:46 PM
Hello, I just bought this for my site :) Loco Geek Advertising Banner System 0 10-03-2006 06:08 AM
Just bought GARS! JulianD Geek Article and Review System 1 01-29-2006 08:20 PM


All times are GMT. The time now is 09:26 AM.


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