Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Geek Advertising Banner system RC1 Details »»
Geek Advertising Banner system RC1
Version: 1.00, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-10-2005 Last Update: Never Installs: 118
Is in Beta Stage  
No support by the author.

HowdA All.

From the makers of Hydrogen comes the latest mack - GAB (Geek Advertising Banners).

This has come about by needing an advertising system that no other hack seemed to totally fulfill. Personally - I really didnt want to burden myself with supporting another hack - but I felt it was significantly better than other hack systems out there so I thought many would be able to benefit from it.

Whats so freaking cool about it?

1- use flash, normal, text based (google adsense) or rotating banners
2- Decide which scripts run the banners
3- Define which forums run the banners
4- define which usergroups can turn off the banners
5- Make ads stop at x amount of hits
6- Make ads stop at x amount of views
7- Make ads start/stop at certain times
8- track views and/or hits
9- Wipes your bum

Why am I releasing this now? It seems to be hip and trendy to release Banner hacks. In all reality - this has been a very long work in progress that is finally rounding the finsihing stages. The current RC pacakge is considered complete except for the show stats segment (its recording stats, but you cant browse them easily yet).

LIke with any hack (especially a Beta) back up you DB and files needing change (global.php,admincp/index.php).

Known issues:
  • Flash ads can not appear on same page as a rotating banner ad.
  • After installing for the first time, you will most likely need to edit a phrase (any phrase) and click save to rebuild phrases
  • Flash banners hide drop down menus!!! Be careful where you put them or dont use them!
Basic install instructions:
  • Upload all files to relevant locations
  • chmod the gab and gish folders to 777 (or change the owner of the folders to whatever account your PHP process runs under).
  • Run the gab_install.php file in your admincp folder.
  • Follow the steps.
  • On the file changes - pay close attention to see if certain changes couldnt be made. If any changes could not be made, you need to manually make those changes.
  • When complete, move changed files from gish/gab/rc1.0 to their respective locations
  • Ad a new cron job to run daily (file: GAB_cron_daily.php)
  • Edit each gab category to include the forums you want the ads to appear in.
  • Ad $GAB_ads[x] to your templates where ever you want ads to appear (x represents the ad number depending on how many ads are set to run on that script. $GAB_ads[0] is the first ad block, $GAB_ads[1] would be the second, etc...)
  • Read The Freaking README!!!!!!!
Quick Upgrade instructions

For users of GAB Beta 2, uninstall it and then install this version. In all reality, you could just revert the file changes and delete the GAB_ tables from yur DB (heck, you dont even need to do that).

To upgrade from RC1.5 to RC1.6, just replace existing files with the latest from the downloaded package and run the template portion of the installer (you can skip the rest of the install steps). You may have to revert your GUSH_main and GUSH_ad_row

Donations

I have never asked for donations for any of the macks I have done - however since I have spent well over 60 hours coding this - I thought I would stick my neck out there. If you like my mack, it brings you some money and you want to keep my fridge stocked with beer and Cheetos, then feel free to drop some cash in my paypal account: geek@thenailgeek.com
If youre having difficulty keeping beer in the fridge yourself - fill yours before you fill mine.
If you think the mack sucks, or youre just a tight git then please dont bother

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 04-25-2005, 11:44 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the first porblem is just with a phrase. Dont sweat it.

Second is in regards to the settings for the test. Make sure you pass a valid script that has ads assigned to it.
Reply With Quote
  #193  
Old 04-25-2005, 06:11 PM
Visions Visions is offline
 
Join Date: Nov 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
the first porblem is just with a phrase. Dont sweat it.

Second is in regards to the settings for the test. Make sure you pass a valid script that has ads assigned to it.
I am having the same problem
I have created and saved an ad but I cannot get it to show..i have the same problem as metioned above also.
What exactly do you mean by pass a valid script? Very inexperienced here. Please give me the Gab for dummies on this. Thanks
Reply With Quote
  #194  
Old 04-25-2005, 07:18 PM
geezzaa geezzaa is offline
 
Join Date: Dec 2002
Location: uk
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got a new problem.
After signing up with an affilliate and entering the url
www.awin1.com/awclick.php?mid=xxx&id=xxxx when you hit save and check it back the link has changed to www.awin1.com/awclick.php?mid=xxx&id=xxx which causes an error when you click on the banner.
Any ideas ??
Reply With Quote
  #195  
Old 04-26-2005, 06:08 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geezza - edit GAB_admin.php and change this:
PHP Code:
}elseif($action == 'savead'){

    
globalize($_POST,array(
        
'id'=> INT,
        
'title' => STR_NOHTML,
        
'startdate',
        
'enddate',
        
'scripts',
        
'forumid',
        
'image'=>STR_NOHTML,
        
'url'=>STR_NOHTML
to
PHP Code:
}elseif($action == 'savead'){

    
globalize($_POST,array(
        
'id'=> INT,
        
'title' => STR_NOHTML,
        
'startdate',
        
'enddate',
        
'scripts',
        
'forumid',
        
'image'=>STR_NOHTML,
        
'url'=>STR
Notice its just the last line that changed (the rest was to give you a bearing

visions - in your settings, you must have a set of scripts ticked. These are the 'valid' scripts that ads can appear on.
Then on each ad, one or more valid scripts must be ticked (these are the scripts that the ad will appear on).
When you click test in the admincp, you must choose a script that has an add on it.
For example, if I only have scripts on forumdisplay but I test showthread - then no valid script is selected and no ad will appear.

Hope this helps
Reply With Quote
  #196  
Old 04-26-2005, 10:00 AM
geezzaa geezzaa is offline
 
Join Date: Dec 2002
Location: uk
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks geek, that sorted it
Keep me informed for the next update
Reply With Quote
  #197  
Old 04-26-2005, 11:01 AM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
in your settings, you must have a set of scripts ticked. These are the 'valid' scripts that ads can appear on.
Then on each ad, one or more valid scripts must be ticked (these are the scripts that the ad will appear on).
When you click test in the admincp, you must choose a script that has an add on it.
For example, if I only have scripts on forumdisplay but I test showthread - then no valid script is selected and no ad will appear.

Hope this helps
I did that and still no add showed up on any page and Im still getting the same error on the test I marked every form and everything else but still no luck.
could this be cause of the phrase GAB_setting_saved missing ?
how could I manually add this phrase?

EDIT:
I think I got it working for the test but I still want to fix thAt phrase and also its still not showing up on the site, do I have to edit somthing and put this somewere? $GAB_ad1
Reply With Quote
  #198  
Old 04-28-2005, 09:46 AM
Visions Visions is offline
 
Join Date: Nov 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same problem above for me too.

Variables passed varibales: Usergroup: Registered Users (2), script=index (0), forum=Main Guild Wars Forum(21)
Problem No script was passed therefore no ad can be pulled.
Usergroup Passed usergroup. This usergroup is set to view an ad.
Toggle Passed usergroup toggle test. This usergroup could toggle ads on or off.
Script Passed script test. We are in a script that is set to view an ad.
Results: $GAB_ad1



Geek- this is what im getting whenever I try to test. Still cant get it to work
Reply With Quote
  #199  
Old 04-28-2005, 10:01 AM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by visions1
Same problem above for me too.

Variables passed varibales: Usergroup: Registered Users (2), script=index (0), forum=Main Guild Wars Forum(21)
Problem No script was passed therefore no ad can be pulled.
Usergroup Passed usergroup. This usergroup is set to view an ad.
Toggle Passed usergroup toggle test. This usergroup could toggle ads on or off.
Script Passed script test. We are in a script that is set to view an ad.
Results: $GAB_ad1



Geek- this is what im getting whenever I try to test. Still cant get it to work
$GAB_ad1 needs to be in a template (like your navbar template).

visions - its saying that no valid script was passed. Are you sure you have the global scripts ticked and at least 1 add with the same scripts ticked?
Reply With Quote
  #200  
Old 04-29-2005, 10:36 AM
Harley D's Avatar
Harley D Harley D is offline
 
Join Date: Jan 2003
Location: WagnerTech.net
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also having the same problems as visions1, and djjeffa.
1) No ADDS showing up. also no choice to show adds in userCP
2) Problem No script was passed therefore no ad can be pulled. "All choices ticked"
3) WARING: Invalid argument supplied for foreach() in /admincp/GAB_admin.php on line 965. Get this and 4) when saving settings.
4) Could not find phrase 'GAS_settings_saved' I need a walk through on this one, should it not say GAB not GAS??

Thanks in advance
Reply With Quote
  #201  
Old 04-29-2005, 12:48 PM
Visions Visions is offline
 
Join Date: Nov 2004
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
$GAB_ad1 needs to be in a template (like your navbar template).

visions - its saying that no valid script was passed. Are you sure you have the global scripts ticked and at least 1 add with the same scripts ticked?

Where exactly are "global" scripts suppose to be ticked and what code is suppose to be in the template.
Reply With Quote
Reply


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 11:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13257 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete