Try this??
PHP Code:
>> START SETTINGS -------
$results = array(
'usergroups' => array(
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'8',
'3' =>'7',
'4' =>'2',
'5' =>'5',
'6' =>'9',
'7' =>'1',
'8' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/wideopen/public_html/forums/geek/gab/images/',
'media_extensions' =>'',
'url_to_banners' =>'http://www.competitiondiesel.com/forums/geek/gab/images/',
'url_advertising' =>'http://www.competitiondiesel.com/ad/advertise.html',
'url_turn_off_ads' =>'',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'htmltemplates' =>'',
'defaulthtml' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'1',
'method' =>'2',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'15',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
'1' => array(
'adtype' =>'2',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
'2' => array(
'adtype' =>'1',
'number' =>'15',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
'3' => array(
'adtype' =>'1',
'number' =>'15',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
'4' => array(
'adtype' =>'1',
'number' =>'15',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
'5' => array(
'adtype' =>'1',
'number' =>'15',
'cat_option' =>'2',
'cats' => array(
'0' =>'5',
),
),
),
),
'2' => array(
'title' =>'Flash',
'wrapper' =>'1',
'method' =>'2',
'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' => 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' =>'TS Performance Products',
'startdate' =>'1105768800',
'enddate' =>'1579068000',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/knocking.gif',
'hits' =>'137',
'views' =>'0',
'url' =>'http://www.tsperformance.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'2' => array(
'id' =>'2',
'title' =>'Suncoast',
'startdate' =>'1145595600',
'enddate' =>'1166680800',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/sun.gif',
'hits' =>'109',
'views' =>'0',
'url' =>'http://www.suncoastconverters.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'3' => array(
'id' =>'3',
'title' =>'Dominator Diesel',
'startdate' =>'1145595600',
'enddate' =>'1179723600',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/dom.gif',
'hits' =>'107',
'views' =>'0',
'url' =>'http://www.dominatordiesel.com/',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'4' => array(
'id' =>'4',
'title' =>'Garmon Diesel Performance',
'startdate' =>'1145509200',
'enddate' =>'1166594400',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/garmon.gif',
'hits' =>'101',
'views' =>'0',
'url' =>'http://www.dieselperformancemotorsports.com/gdpopening.html',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'5' => array(
'id' =>'5',
'title' =>'Grandrock',
'startdate' =>'1146632400',
'enddate' =>'1167458400',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/base.gif',
'hits' =>'120',
'views' =>'0',
'url' =>'http://www.grpipes.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'6' => array(
'id' =>'6',
'title' =>'DJ's Diesel Performance',
'startdate' =>'1146546000',
'enddate' =>'1178082000',
'img' =>'http://www.competitiondiesel.com/forums/geek/
gab
/images/0/djperformance.gif',
'hits' =>'145',
'views' =>'0',
'url' =>'http://www.dj-performance.com/',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'7' => array(
'id' =>'7',
'title' =>'Taylors Automotive Art',
'startdate' =>'1146546000',
'enddate' =>'1186030800',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/taylor.gif',
'hits' =>'166',
'views' =>'0',
'url' =>'http://www.taylorautomotiveart.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'8' => array(
'id' =>'8',
'title' =>'Performance Diesel Warehouse',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/jetpilot.gif',
'hits' =>'132',
'views' =>'0',
'url' =>'http://www.pdwpower.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'9' => array(
'id' =>'9',
'title' =>'Beans Diesel Performance',
'startdate' =>'1148360400',
'enddate' =>'1164261600',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/bean.gif',
'hits' =>'155',
'views' =>'0',
'url' =>'http://www.beansdieselperformance.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'10' => array(
'id' =>'10',
'title' =>'Mass Diesel',
'startdate' =>'1149051600',
'enddate' =>'1164866400',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/massdiesel2.gif',
'hits' =>'142',
'views' =>'0',
'url' =>'http://www.massdiesel.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'11' => array(
'id' =>'11',
'title' =>'DDD',
'startdate' =>'1152507600',
'enddate' =>'1184043600',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/468x60_ddd_1.gif',
'hits' =>'324',
'views' =>'0',
'url' =>'http://theDDDdirectory.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'12' => array(
'id' =>'12',
'title' =>'Hellmann Performance',
'startdate' =>'1152507600',
'enddate' =>'0',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/hellmann.gif',
'hits' =>'0',
'views' =>'0',
'url' =>'http://www.hellmannperformance.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'0',
'trackhits' =>'0',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'13' => array(
'id' =>'13',
'title' =>'DPPI',
'startdate' =>'1153112400',
'enddate' =>'0',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/banner2.gif',
'hits' =>'0',
'views' =>'0',
'url' =>'http://www.dieselperformanceparts.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'0',
'trackhits' =>'0',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'14' => array(
'id' =>'14',
'title' =>'DPP (FASS)',
'startdate' =>'1153803600',
'enddate' =>'1185339600',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/gotfuel3.gif',
'hits' =>'97',
'views' =>'0',
'url' =>'http://www.dieselpp.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'15' => array(
'id' =>'15',
'title' =>'McRat Racing',
'startdate' =>'1155618000',
'enddate' =>'1187154000',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/rat1.gif',
'hits' =>'109',
'views' =>'0',
'url' =>'http://mcratracing.com/',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'0',
'type' =>'1',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'0',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'16' => array(
'id' =>'16',
'title' =>'PPE',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'http://www.competitiondiesel.com/forums/geek/gab/images/0/CompDiesel.swf',
'hits' =>'15',
'views' =>'0',
'url' =>'http://www.pacificp.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'60',
'width' =>'468',
'frequency' =>'0',
'type' =>'2',
'template' =>'0',
'catid' =>'5',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);>> END ADS -------
Templates with $GAB_ads[x] in them:
Styleid 1 Title navbar contains $GAB_ads[0]
Styleid 1 Title footer contains $GAB_ads[0]
Styleid 3 Title footer contains $GAB_ads[0]
Styleid 3 Title navbar contains $GAB_ads[0]
gab
folder check
GAB directory looks valid and I can write to it!
vBulletin v3.5.4, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
|