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
  #422  
Old 06-29-2005, 06:29 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dont see where I can add the banners menu.

Installed successfully without a problem but unless I'm missing something can't see the menu to add adverts???

Wot am I missing?

Hanif
Reply With Quote
  #423  
Old 06-29-2005, 06:32 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you copied the altered files from the /gish/gab/RC1.0 directory to their respective places?
Reply With Quote
  #424  
Old 06-29-2005, 06:33 PM
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 steadicamop
Reading thru the readme file, the scripts page is for entering what template (?) the ads will be on ... in my case I went for forumhome, so I put that in the ID and Description .. and ticked both boxes, clicked save and nothing appeared, did this 3 or 4 times, nothing has shown - I'm presuming this isn't right?
The scripts will have been set up to begin with. You shouldnt have to add additional scripts just to get an ad to appear in the forum home.

Do this:
Go into your admincp, expand GAB
Click scripts
You should see a bunch of scripts set up already. All of them should have all of their boxes ticked. If not, tick them and save.
Click categories
edit the cateogry in question
ensure all scripts and forums are ticked
save

You shouldnt have to change templates, nor ad scripts. The forumhome script is actually called index

If you are still having problems, PM me an admin account and ill look at it for you
Reply With Quote
  #425  
Old 06-29-2005, 06:34 PM
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 Hanif
Dont see where I can add the banners menu.

Installed successfully without a problem but unless I'm missing something can't see the menu to add adverts???

Wot am I missing?

Hanif
Hanif, you may also have to edit a phrase (any phrase) and click save to rebuild the cache
Reply With Quote
  #426  
Old 06-29-2005, 06:39 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
The scripts will have been set up to begin with. You shouldnt have to add additional scripts just to get an ad to appear in the forum home.

Do this:
Go into your admincp, expand GAB
Click scripts
You should see a bunch of scripts set up already. All of them should have all of their boxes ticked. If not, tick them and save.
Click categories
edit the cateogry in question
ensure all scripts and forums are ticked
save

You shouldnt have to change templates, nor ad scripts. The forumhome script is actually called index

If you are still having problems, PM me an admin account and ill look at it for you
There's no scripts listed at all -- blank, will PM you now with details for log in ... thank you, very appreciative of your help.
Reply With Quote
  #427  
Old 06-29-2005, 06:39 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Have you copied the altered files from the /gish/gab/RC1.0 directory to their respective places?
sorry do you mean FTP all the files over...I've done that.

And looked at the phrases again to what the Geek has said but again no GAB menu or banners???

Strange.

Hanif
Reply With Quote
  #428  
Old 06-29-2005, 06:44 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the installed puts the amended files in the /gish/gab/RC1.0 directory, global.php needs to go to the root, and in the admincp directory, index.php needs to go to your admincp/ directory ... hope this helps!
Reply With Quote
  #429  
Old 06-29-2005, 06:47 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should ftp both global.php and admincp/index.php from the gish/gab/rc1 folder to your computer, then upload them to the forum folder.

Essentailly your changed files are stored in gish/gab/rc1 until you physically move them yourself as a safety measure. It looks like they are still there (check out the readme)

Update:
I fixed the unchecked array just mentioned. It was occuring if the script had no ads assigned to it. To upgrade from the previous RC versions, just download the latest package and overwrite your physical files.
Reply With Quote
  #430  
Old 06-29-2005, 06:56 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok bit lame here just to be sure then
RC1.0 folder
has global.php and index.php
and a backup and admin folder

now those two files need to go to the root of the forum folder?

and admincp folder holds
index.htm and index.php that needs to go in admincp folder right?

Just to be sure before I overwrite them?

Ta,

Hanif
Reply With Quote
  #431  
Old 06-29-2005, 07:05 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The two files (global.php and admincp/index.php) should go to their locations as The Geek mentioned above, the backup directory holds the unchanged files - DON'T DELETE THESE JUST IN CASE! Don't copy index.htm to the admincp directory - your admincp disappears!! Only copy index.php.

If you're really not sure, download global.php and admincp/index.php before you overwrite them - better to be safe than sorry!
Reply With Quote
  #432  
Old 06-29-2005, 08:11 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it figured nice one geek,

one thing that I dont understand is I want two adds to appear on my page however,

I'm following your instructions as per :

"For instance, lets say you had GAB configured to produce 2 ads on a page (one at the top and one at the bottom)... You could then place $GAB_ads[0] in your navbar template and $GAB_ads[1] in your footer template.
The more ads you have configured in your settings, the higher $GAB_ads will go. That means you could theoretically have 9,999+ ads on a single page (you would just need to have $GAB_ads[9998] somewhere ;-)"


yet only one fails to load. And that is at the top of the Navbar...

Would idelly like one to have at the bottom of the footer as well, yet placed an entery as $GAB_ads[1] in the footer, yet no joy.

Any ideas?

Kind regards,

Hanif
Reply With Quote
  #433  
Old 06-29-2005, 08:14 PM
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 Hanif
Got it figured nice one geek,

one thing that I dont understand is I want two adds to appear on my page however,

I'm following your instructions as per :

"For instance, lets say you had GAB configured to produce 2 ads on a page (one at the top and one at the bottom)... You could then place $GAB_ads[0] in your navbar template and $GAB_ads[1] in your footer template.
The more ads you have configured in your settings, the higher $GAB_ads will go. That means you could theoretically have 9,999+ ads on a single page (you would just need to have $GAB_ads[9998] somewhere ;-)"


yet only one fails to load. And that is at the top of the Navbar...

Would idelly like one to have at the bottom of the footer as well, yet placed an entery as $GAB_ads[1] in the footer, yet no joy.

Any ideas?

Kind regards,

Hanif
I assume all of your scripts have 'use master' ticked?

If so, make sure that the master script has 2 ad entries in it. All you have to do is click scripts->Master

There will be 1 block per ad. If you want more, click the add new button and configure appropriately
Reply With Quote
  #434  
Old 06-29-2005, 09:33 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geek, got an error, is this related to the ads???

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT ad.id,ad.url, ad.img imgpath,c.track_views, c.track_hits, ad.max_views, ad.width, ad.height, ad.views, ad.template, ad.frequency,
c.template cat_template
FROM vb3_GAB_ads ad
INNER JOIN vb3_GAB_cats c ON ad.catid=c.id
WHERE ((ad.startdate<1) or (ad.startdate<1120084106)) and ((ad.enddate<1) or (ad.enddate>1120084106))
AND (forumid = 15)
AND c.scripts like '%,forumdisplay,%' AND ad.id IN (-1,4,7) ORDER BY RAND() LIMIT 6
mysql error: Unknown column 'forumid' in 'where clause'

mysql error number: 1054

Date: Wednesday 29th of June 2005 11:28:26 PM
Script: http://www.muslimprofessionals.org.u...splay.php?f=15
Referer: http://www.muslimprofessionals.org.uk/forums/index.php?
Username:
IP Address: 81

Any ideas????

Kind regards,

Hanif
Reply With Quote
  #435  
Old 06-29-2005, 09:47 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I figured it out Geek but need your thoughts on this...

I went in to Master to say I want two adverts to be displayed..so I clicked on Add and had two entries displayed.

I also specified that 2 banners in the ad to be displayed.

Once I clicked on save, go to the forum home page and voila ! I can see two adverts on the home page, very neat !!!

Yet if I go into any of the forums then it comes up with that previous sql error.

I thus went back and reverted to previous settings and only have one add displayed. And the error message goes.

I'm sure it's something trivial.

Must say very impressed with it.

Kind regards,

Hanif
Reply With Quote
  #436  
Old 06-29-2005, 10:17 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Last one for tonight I hope

Entered a URL to direct users on how to learn more about advertising does not work for me, shows up advertising.php even though a value is present that differs from advertising.php

I like it

Hanif
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 09:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06136 seconds
  • Memory Usage 2,375KB
  • Queries Executed 30 (?)
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
  • (5)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
  • (16)post_thanks_box
  • (16)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (16)post_thanks_postbit_info
  • (15)postbit
  • (16)postbit_onlinestatus
  • (16)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