PDA

View Full Version : Banners Not Showing


Ohiosweetheart
04-30-2007, 03:59 PM
Up until now, GABS has worked just fine for me with 3 banners.
However, last night I added 2 new banners to the rotation, and I can't get them to show at all, even tho they DO show in the GAB manager in my ACP. It's the last 2 banners - Eagle Graphix and LiquidWeb Hosting that aren't showing.


Here's my debug code, please help?

$results = array(
'usergroups' => array(
'0' =>'6',
),
'usergroups_view' => array(
'0' =>'4',
'1' =>'6',
'2' =>'8',
'3' =>'7',
'4' =>'2',
'5' =>'5',
'6' =>'1',
'7' =>'3',
),
'fieldtotoggle' =>'1',
'field_value_yes' =>'',
'max_width' =>'',
'max_height' =>'',
'server_path_to_banners' =>'/home/topvb/public_html/geek/gab/images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.top-vb.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' =>'',
),
),
),
'2' => array(
'title' =>'',
'wrapper' =>'0',
'method' =>'2',
),
),
'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' =>'',
'addlink' => array(
'name' =>'addlink',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'linksindex' => array(
'name' =>'linksindex',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'browselinks' => array(
'name' =>'browselinks',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'linksreply' => array(
'name' =>'linksreply',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'misc' => array(
'name' =>'misc',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'showlink' => array(
'name' =>'showlink',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'newreply' => array(
'name' =>'newreply',
'description' =>'',
'usemaster' =>'1',
'blocks' => array(
),
),
'moderate' => array(
'name' =>'moderate',
'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 -------

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' =>'Monks',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'',
'hits' =>'0',
'views' =>'13909',
'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.monksdiner.com"><img src="http://www.monksdiner.com/monksdiner_468X60_02_celeb.gif" border="0"></a>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'2' => array(
'id' =>'2',
'title' =>'vbsetup',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'http://www.top-vb.com/geek/gab/images/0/vbsetup-logo2.gif',
'hits' =>'0',
'views' =>'13870',
'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://forum.vbulletinsetup.com" ><img src="http://vbulletinsetup.org/vbsetup-logo2.gif" border="0" alt="vBulletin Setup SEO"/></a>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'3' => array(
'id' =>'3',
'title' =>'Themes By Design',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'',
'hits' =>'0',
'views' =>'13176',
'url' =>'http://www.themesbydesign.net/forums',
'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.themesbydesign.net"><img src="http://www.top-vb.com/geek/gab/images/tbdbanner.jpg" width="468" height="60" alt="Themes By Design" border="0" /></a>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'5' => array(
'id' =>'5',
'title' =>'Eagle Graphics',
'startdate' =>'0',
'enddate' =>'0',
'img' =>'http://www.top-vb.com/geek/gab/images/egbanner1.gif',
'hits' =>'0',
'views' =>'0',
'url' =>'http://www.eaglegraphix.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'60',
'width' =>'468',
'frequency' =>'1',
'type' =>'1',
'template' =>'0',
'catid' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<a href="http://www.eaglegraphix.com"><img src="http://www.top-vb.com/geek/gab/images/egbanner1.gif" width="468" height="60" alt="Eagle Graphix" border="0" /></a>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'6' => array(
'id' =>'6',
'title' =>'Liquid Web VPS Hosting',
'startdate' =>'1177905600',
'enddate' =>'0',
'img' =>'http://www.top-vb.com/geek/gab/images/0/vps-banner-blue-small.gif',
'hits' =>'0',
'views' =>'0',
'url' =>'http://www.liquidweb.com/?edwin99',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'60',
'width' =>'468',
'frequency' =>'1',
'type' =>'1',
'template' =>'0',
'catid' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'1',
'forumoption' =>'1',
'scripts' =>'',
'forums' =>'',
'html' =>'<a href="http://www.liquidweb.com/?edwin99">
<img src="vps-banner-blue-small.gif" border=0></a>',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);>> END ADS -------

Templates with $GAB_ads[x] in them:
Styleid 7 Title header contains $GAB_ads[0]
gab folder check
GAB directory looks valid and I can write to it!

The Geek
04-30-2007, 04:18 PM
They are both sewt to image types. Change them to HTML and they will show :)

Ohiosweetheart
04-30-2007, 04:25 PM
AHHA!!! Thank you so much! :D