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 03-27-2008, 06:50 PM
cygy2k cygy2k is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default Followed Directions - Triple Checked - Still No Go

I followed the directions to a T, re-read them and triple checked everything, but I'm still not able to get things to work correctly.

I am testing with one banner , one billboard and no restrictions on scripts. I've checked through the readme (great and indepth by the way) but can't figure out where things are wrong.

If I place "$GAB_ads[0]" in my footer template, it will show the ad but nothing after it (i.e. copyright info, footer, etc). If I place that call in the new ad template in 3.7, no ad shows but the rest of the footer is fine. I've placed "GAB_ads" in vBAdvanced as I read but that still didn't change things.

Below is my settings file.

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

$results = array(
	  'usergroups' => array(
	  ),
	  'usergroups_view' => array(
	     '0' => '4',
	     '1' => '6',
	     '2' => '16',
	     '3' => '22',
	     '4' => '27',
	     '5' => '30',
	     '6' => '15',
	     '7' => '7',
	     '8' => '29',
	     '9' => '2',
	     '10' => '5',
	     '11' => '31',
	     '12' => '32',
	     '13' => '1',
	     '14' => '3',
	  ),
	  'fieldtotoggle' => '0',
	  'field_value_yes' => '',
	  'max_width' => '',
	  'max_height' => '',
	  'server_path_to_banners' => '/home/cyclone/public_html/forum/geek/gab/images',
	  'media_extensions' => '',
	  'url_to_banners' => 'http://www.cyclonefanatic.com/forum/geek/gab/images',
	  'url_advertising' => '',
	  'url_turn_off_ads' => '',
	  'redirectpage' => 'gab_redirect.php',
	  'cyclerate' => '2147483647',
	  'persist_throttle' => '',
	  'htmltemplates' => '',
	  'blocks' => array(
	     '1' => array(
	        'title' => 'Default',
	        'wrapper' => '0',
	        'method' => '1',
	        'ads' => array(
	           '0' => array(
	              'adtype' => '3',
	              'number' => '1',
	              'weighting' => '100',
	              'cat_option' => '2',
	              'cats' => array(
	                 '0' => '3',
	              ),
	           ),
	        ),
	     ),
	  ),
	  'scripts' => array(
	     'MASTER' => array(
	        'name' => 'MASTER',
	        'description' => '',
	        'usemaster' => '',
	        '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(
	        ),
	     ),
	  ),
	  '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 -------
>> START CATS -------

$results = array(
	     '1' => array(
	        'id' => '1',
	        'title' => 'Header Banners',
	        'ordinal' => '5',
	     ),
	     '2' => array(
	        'id' => '2',
	        'title' => 'Skyscraper Banners',
	        'ordinal' => '20',
	     ),
	     '3' => array(
	        'id' => '3',
	        'title' => 'Footer Banners',
	        'ordinal' => '10',
	     ),
	     '4' => array(
	        'id' => '4',
	        'title' => 'Other Items',
	        'ordinal' => '30',
	     ),
);

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

$results = array(
	        '1' => array(
	           'id' => '1',
	           'title' => 'Google Footer 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' => '3',
	           'trackviews' => '0',
	           'trackhits' => '0',
	           'scriptoption' => '1',
	           'forumoption' => '1',
	           'scripts' => '',
	           'forums' => '',
	           'html' => '<script type="text/javascript"><!--
google_ad_client = "pub-8335902615691454";
/* Bottom Banner,  728x90 */
google_ad_slot = "1383843451";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">',
	           'templatetype' => '1',
	           'suspended' => '0',
	           'editimage' => '0',
	           'editfrequency' => '0',
	           'editbanner' => '0',
	        ),
);

>> END ADS -------

Templates containing $GAB_ads[x] variables:

GAB Folder Check:
GAB directory looks valid and I can write to it!

Last edited by cygy2k; 03-27-2008 at 06:59 PM..
Reply With Quote
  #2  
Old 03-27-2008, 09:39 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

For Google ads, not sure where it is coming from, but I see a Google ad in the footer of your page, so not sure what to suggest. For vBa CMPS see this thread.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #3  
Old 03-27-2008, 10:11 PM
cygy2k cygy2k is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default

Right now I have it setup just through template edits using the Google code, not through your mod. I would check vBA, as I already did, but it happens even on non vBA pages, i.e. the entire forum.
Reply With Quote
  #4  
Old 03-27-2008, 10:28 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

What happens? The non page end or ??? If you can set things to make it happen, and provide a link, it might help me to see what happens in action.
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
  #5  
Old 03-28-2008, 01:19 PM
cygy2k cygy2k is offline
Junior Member
 
Join Date: Mar 2008
Posts: 8
Geek Article and Review System License Holder Geek Advertising Banner License Holder 
Default

Well the thing is I can't just have the bottom half of my site not showing just so you can see there is a bug somewhere. I have millions of hits a month and I think having half my site not show would cause a few adverse reactions for my ad revenue.
Reply With Quote
  #6  
Old 03-28-2008, 04:55 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
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

Easy enough to get around. Use the following in the vB footer template so only members of usergroup 6 can see the ads, and then if you PM me admin level login info, I can see what is going on, whereas anyone not in usergroup 6 cannot:
Code:
<if condition="$bbuserinfo[usergroupid] == 6">
$GAB_ads[0]
</if>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
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


All times are GMT. The time now is 09:45 PM.


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