View Single Post
  #3  
Old 01-30-2007, 01:11 AM
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

okay, I did that

and now when I try to make a google billboard, what scripts do I use ?

here is this if it helps

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/vbull/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'			=>'0',
	        'method'			=>'1',
	        'ads' => array(
	           '0' => array(
	              'adtype'			=>'3',
	              '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(
	        '2' => array(
	           'id'			=>'2',
	           'title'			=>'vbseo',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'58470',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'0',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'0',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://www.vbseo.com/158_1_1_4/"><img src="http://www.vbseo.com/aff/banners/banner_vbseo_468x60_01.gif" border="0" alt="" /></a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '4' => array(
	           'id'			=>'4',
	           'title'			=>'google2',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'128789',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'0',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           '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 = "text";
//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',
	        ),
	        '5' => array(
	           'id'			=>'5',
	           'title'			=>'google',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'120268',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'0',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           '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-12-09: vbsetup-banner
google_ad_channel = "8174653465";
google_color_border = "000000";
google_color_bg = "FFFFFF";
google_color_link = "CC0000";
google_color_text = "000000";
google_color_url = "CC0000";
//--></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',
	        ),
	        '6' => array(
	           'id'			=>'6',
	           'title'			=>'ForumCare',
	           'startdate'			=>'0',
	           'enddate'			=>'1172725200',
	           'img'			=>'http://forum.vbulletinsetup.com/geek/gab/images/0/468x60_bluebanner01.gif',
	           'hits'			=>'0',
	           'views'			=>'787',
	           'url'			=>'http://www.adminfusion.com',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'60',
	           'width'			=>'468',
	           'frequency'			=>'1',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://www.forumcare.com/" >
<img src="http://www.forumcare.com/forumcare_vbulletinsetup.jpg" border="0" alt="Paid forum posting, forum templates and customization, forum moderation"/>
</a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '7' => array(
	           'id'			=>'7',
	           'title'			=>'irio-gfx',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'37625',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'0',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://irio-gfx.com"><img src="http://irio-gfx.com/banners/banner.gif" border="1"></a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '8' => array(
	           'id'			=>'8',
	           'title'			=>'PC 101',
	           'startdate'			=>'0',
	           'enddate'			=>'0',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'15084',
	           'url'			=>'http://www.pc101.com',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://www.pc101.com"><img src="http://www.pc101.com/images/pc101bannergif.gif" border="1"></a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '9' => array(
	           'id'			=>'9',
	           'title'			=>'Lame Links',
	           'startdate'			=>'1169528400',
	           'enddate'			=>'1172725200',
	           'img'			=>'http://forum.vbulletinsetup.com/geek/gab/images/0/lamblinks.jpg',
	           'hits'			=>'0',
	           'views'			=>'1026',
	           'url'			=>'http://www.lamblinks.com/',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://www.lamblinks.com/" >
<img src="http://vbulletinsetup.org/lamblinks.jpg" border="0" alt="Lamblinks Web Directory"/>
</a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '10' => array(
	           'id'			=>'10',
	           'title'			=>'webtalkforums',
	           'startdate'			=>'0',
	           'enddate'			=>'1172725200',
	           'img'			=>'',
	           'hits'			=>'0',
	           'views'			=>'759',
	           'url'			=>'',
	           'userid'			=>'0',
	           'max_views'			=>'0',
	           'max_hits'			=>'0',
	           'isactive'			=>'1',
	           'height'			=>'0',
	           'width'			=>'0',
	           'frequency'			=>'1',
	           'type'			=>'3',
	           'template'			=>'0',
	           'catid'			=>'1',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'1',
	           'forumoption'			=>'1',
	           'scripts'			=>'',
	           'forums'			=>'',
	           'html'			=>'<a href="http://www.webtalkforums.com/" >
<img src="http://www.webtalkforums.com/images/banners/wtf-animated-468x60-2.gif" border="0" alt="Webmaster Discussion Forums"/>
</a>',
	           'templatetype'			=>'0',
	           'suspended'			=>'0',
	           'editimage'			=>'0',
	           'editfrequency'			=>'0',
	           'editbanner'			=>'0',
	        ),
	        '11' => array(
	           'id'			=>'11',
	           'title'			=>'postbit_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'			=>'5',
	           'trackviews'			=>'1',
	           'trackhits'			=>'1',
	           'scriptoption'			=>'2',
	           'forumoption'			=>'1',
	           'scripts'			=>'|THIS_SCRIPT|',
	           'forums'			=>'',
	           'html'			=>'<script type="text/javascript"><!--
google_ad_client = "pub-9279618852838129";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="4415749877";
google_color_border = "EDEDED";
google_color_bg = "EDEDED";
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[x] in them:
Styleid 4 Title header contains $GAB_ads[0]
Styleid 4 Title postbit contains $GAB_ads[1]
gab folder check
GAB directory looks valid and I can write to it!

vBulletin v3.6.4, Copyright ©2000-2007, Jelsoft Enterprises Ltd.
this size 728x90 is the one I'm working on now

thanks

oh.. and I'm using $gab_[1] in the postbit template
__________________
-----==== 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.
Reply With Quote