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-14-2006, 02:07 PM
wez wez is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Geek Advertising Banner License Holder 
Default constant download of images

Hi first off I don't know if this i something i did wrong or if its a problem with the GAB . but the only answer i was left with was to un install.

anyway , here's what happened

I got a surprising email from my service provider complaining i was using more than my fair share of resources on the server, i.e i was pestering the sql too many times

when i looked into it, and im no expert, it seems its gab
in internet explorer on the bottom of the screen it kept coming up very two seconds downloading image from www.url.com even when the advert was not there, or shouldn't have been

the same thing happened in firefox but wasn't as obvious, so every person guest or member visiting my site was getting this, again like i said, i have absolutely no idea if it was this or not that caused the outage for me on my server, but an annoying hourglass every other second was enough for me to disable it.

if its something im doing wrong I'd love to know because this is a little gem of a hack and its exactly what i need for my sponsors.

on another note, again probably something i am doing wrong but i also kept seeing an empty advert in placers where i hadn't set them, this only happens when I have the template turned on..

any help would be greatly appreciated

cheers
Reply With Quote
  #2  
Old 12-14-2006, 02:53 PM
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

Can you post your debug between [php] tags here for me to see?
Reply With Quote
  #3  
Old 12-14-2006, 10:28 PM
wez wez is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Geek Advertising Banner License Holder 
Default

i presume i need to re enable it, been threatened of my service provider is all
Reply With Quote
  #4  
Old 12-15-2006, 08:32 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

Just enable it, hit the debug and then disable it.
Reply With Quote
  #5  
Old 12-18-2006, 01:47 AM
wez wez is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Geek Advertising Banner License Holder 
Default

OK Here you go....

Quote:
>> START SETTINGS -------

$results = array(
'usergroups' => array(
),
'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/cgempi5/public_html/forum/geek/ gab /images',
'media_extensions' =>'',
'url_to_banners' =>'http://www.cgempire.com/forum/geek/ gab /images/',
'url_advertising' =>'',
'url_turn_off_ads' =>'',
'redirectpage' =>'gab_redirect.php',
'cyclerate' =>'4300',
'persist_throttle' =>'',
'blocks' => array(
'1' => array(
'title' =>'Default',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
'cat_option' =>'2',
'cats' =>'',
),
),
),
'2' => array(
'title' =>'art compo sponsor',
'wrapper' =>'0',
'method' =>'2',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'2',
'cat_option' =>'2',
'cats' => array(
'0' =>'1',
),
),
),
),
'3' => array(
'title' =>'music',
'wrapper' =>'0',
'method' =>'1',
'ads' => array(
'0' => array(
'adtype' =>'1',
'number' =>'1',
'cat_option' =>'2',
'cats' => array(
'0' =>'6',
),
),
),
),
'4' => array(
'title' =>'top of forum1',
'wrapper' =>'1',
'method' =>'1',
),
),
'scripts' => array(
'MASTER' => array(
'name' =>'MASTER',
'description' =>'',
'usemaster' =>'0',
'blocks' => array(
'1' =>'2',
'2' =>'3',
'4' =>'4',
),
),
'forumdisplay' => array(
'name' =>'forumdisplay',
'description' =>'',
'usemaster' =>'0',
'blocks' => array(
'4' =>'4',
),
),
'showthread' => array(
'name' =>'showthread',
'description' =>'',
'usemaster' =>'0',
'blocks' => array(
'1' =>'2',
'2' =>'3',
),
),
'index' => array(
'name' =>'index',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'editpost' => array(
'name' =>'editpost',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'newthread' => array(
'name' =>'newthread',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'calendar' => array(
'name' =>'calendar',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'online' => array(
'name' =>'online',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'printthread' => array(
'name' =>'printthread',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'profile' => array(
'name' =>'profile',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'search' => array(
'name' =>'search',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'usercp' => array(
'name' =>'usercp',
'description' =>'',
'usemaster' =>'',
'blocks' => array(
),
),
'adv_index' => array(
'name' =>'adv_index',
'description' =>'',
'usemaster' =>'',
'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',
),
'6' => array(
'id' =>'6',
'title' =>'music compo',
'ordinal' =>'3',
),
'7' => array(
'id' =>'7',
'title' =>'top of forum',
'ordinal' =>'0',
),
);

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

$results = array(
'1' => array(
'id' =>'1',
'title' =>'best3d',
'startdate' =>'0',
'enddate' =>'1170230400',
'img' =>'http://www.cgempire.com/forum/geek/ gab /images/0/banner_dogwaffle_rampant.gif',
'hits' =>'1',
'views' =>'492',
'url' =>'http://www.thebest3d.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'2',
'type' =>'1',
'template' =>'0',
'catid' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'2',
'forumoption' =>'2',
'scripts' =>'|showthread|',
'forums' =>'|129|113|98|',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'2' => array(
'id' =>'2',
'title' =>'RTSquare',
'startdate' =>'0',
'enddate' =>'1170230400',
'img' =>'http://www.cgempire.com/forum/geek/ gab /images/0/2rtsquaresmall.jpg',
'hits' =>'0',
'views' =>'177',
'url' =>'http://www.gputech.com/Cms/',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'2',
'type' =>'1',
'template' =>'0',
'catid' =>'1',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'2',
'forumoption' =>'2',
'scripts' =>'|showthread|',
'forums' =>'|129|113|98|',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
'4' => array(
'id' =>'4',
'title' =>'bela media',
'startdate' =>'0',
'enddate' =>'1170230400',
'img' =>'http://www.nikolas-sideris.com/cgempire/Bela-D-Media-CG_large.gif',
'hits' =>'1',
'views' =>'261',
'url' =>'http://www.beladmedia.com',
'userid' =>'0',
'max_views' =>'0',
'max_hits' =>'0',
'isactive' =>'1',
'height' =>'0',
'width' =>'0',
'frequency' =>'2',
'type' =>'1',
'template' =>'0',
'catid' =>'6',
'trackviews' =>'1',
'trackhits' =>'1',
'scriptoption' =>'2',
'forumoption' =>'2',
'scripts' =>'|forumdisplay|showthread|index|editpost|newthre ad|calendar|online|printthread|profile|search|user cp|adv_index|',
'forums' =>'|19|64|65|76|',
'html' =>'',
'templatetype' =>'0',
'suspended' =>'0',
'editimage' =>'0',
'editfrequency' =>'0',
'editbanner' =>'0',
),
);

>> END ADS -------

Templates with $GAB_ads[x] in them:
Styleid 18 Title navbar contains $GAB_ads[1]
Styleid 18 Title navbar contains $GAB_ads[2]
Styleid 18 Title navbar contains $GAB_ads[3]
gab folder check

Warning: fopen(/home/cgempi5/public_html/forum/geek/ gab /images/thisisatest.htm): 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 looks valid and I can write to it!

vBulletin® v3.6.4, Copyright ©2000-2006, Jelsoft Enterprises Ltd.
Reply With Quote
  #6  
Old 12-18-2006, 01:48 AM
wez wez is offline
Junior Member
 
Join Date: Oct 2006
Posts: 6
Geek Advertising Banner License Holder 
Default

just noticed the this is a test .htm would that cause a constant download ?
Reply With Quote
  #7  
Old 12-18-2006, 09:26 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

No, the test .html page is created as a test to see if gab can write to the upload directory. It cant most likely because the directory isnt chmodded right.
The other thing is that no ads will be pulled or displayed with the above configuration. Right now, its set up with only 1 billboard with ads tonly pulled from selected categories - and there are no categories selected, therefore no ads will be pulled.
I cant see for the life of me how this would cause any more than 1 query per page (and a teeny one at that). Are you sure that this is the script causing problems, I cant see how it could be.
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
How do i download? mackanga Geek Article and Review System 1 07-03-2008 03:38 AM
Download Module dieselpowered Geek Article and Review System 2 05-27-2008 02:18 AM
Can't download the Script! moskito-netz Geek Article and Review System 0 02-06-2008 03:02 AM
cant download ragtek Geek Article and Review System 1 01-04-2007 10:49 AM
I cannot download GARS Mapo Geek Article and Review System 4 12-13-2006 10:56 AM


All times are GMT. The time now is 06:26 PM.


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