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
  #452  
Old 06-30-2005, 06:32 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 waza
Uhu, indeed.
But you know, file change 101 was done, and file change 100 and 200 weren't ?? :s
ah.

Sometimes people miss the 'couldnt complete step xxx' message that is a link to the manual change.

nJoy
Reply With Quote
  #453  
Old 06-30-2005, 07:07 PM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
sorted you
sort of, you got the Master working, but, I still cant get adverts I create working.

Thoughts?
Reply With Quote
  #454  
Old 06-30-2005, 07:24 PM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tomshawk
sort of, you got the Master working, but, I still cant get adverts I create working.

Thoughts?
Bingo, got it now

Thank you The Geek

Most excellent, maybe its just me, you may want to revise the instructions a little, but, again, sometimes I'm a little thick headed.

You rock
Reply With Quote
  #455  
Old 06-30-2005, 07:41 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

I agree. I dont think its clear enough how to set up the ads - I am going to revise my readme
Reply With Quote
  #456  
Old 07-02-2005, 09:17 AM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Geek a further error, when you do a search the following error is displayed,

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)

mysql error: Can't open file: 'vb3_postindex.MYD'. (errno: 145)

mysql error number: 1016

Date: Saturday 02nd of July 2005 11:12:28 AM
Script: http://www.muslimprofessionals.org.uk/forums/search.php
Referer: http://www.muslimprofessionals.org.u...ms/search.php?
Reply With Quote
  #457  
Old 07-02-2005, 09:31 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 Hanif
Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)
Hey hanif - this cant have anything to do with GAB. Looks like you have a corrupt table.
Reply With Quote
  #458  
Old 07-02-2005, 10:55 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try repairing your tables (more then once if needed). This is a database file corruption and has nothing to do with vB or a hack.

Quote:
Error code 145: Unknown error 145
145 = Table was marked as crashed and should be repaired
Quote:
Originally Posted by Hanif
Geek a further error, when you do a search the following error is displayed,

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT postid
FROM vb3_postindex
WHERE wordid IN(760)

mysql error: Can't open file: 'vb3_postindex.MYD'. (errno: 145)

mysql error number: 1016

Date: Saturday 02nd of July 2005 11:12:28 AM
Script: http://www.muslimprofessionals.org.uk/forums/search.php
Referer: http://www.muslimprofessionals.org.u...ms/search.php?
Reply With Quote
  #459  
Old 07-02-2005, 04:30 PM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apologies for Geek and everyone on here thinking that it was something to do with GAB.

I should have researched a bit more before barging in.

Sadly, I have got a SQL database problem and the damn thing wont load up now.

So peed.

Kind regards,

Hanif
Reply With Quote
  #460  
Old 07-03-2005, 10:10 PM
Philipf Philipf is offline
 
Join Date: Feb 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Right, I dont normally post unless I absolutly have to. But I have tried installing this twice now, and both time I have got nowhere. The problem Im having is....well Im not sure, it doesn't kick out any errors or problems, but it doesn't show any banners either.

I am setting it up correctly, I am putting the required code into the correct templates, but stilll no luck, I am using 3.0.5, so could that be the problem? I didn't think there was much between the 2.

It is currently uninstalled because I was trying to implement phpadsnew, but that gave me the same problem. But I wanted something that was meant for vB anyway. Maybe its the skin?

Any help would be appreciated.

Thanks, Philip
Reply With Quote
  #461  
Old 07-04-2005, 06:31 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 Philipf
Right, I dont normally post unless I absolutly have to. But I have tried installing this twice now, and both time I have got nowhere. The problem Im having is....well Im not sure, it doesn't kick out any errors or problems, but it doesn't show any banners either.

I am setting it up correctly, I am putting the required code into the correct templates, but stilll no luck, I am using 3.0.5, so could that be the problem? I didn't think there was much between the 2.

It is currently uninstalled because I was trying to implement phpadsnew, but that gave me the same problem. But I wanted something that was meant for vB anyway. Maybe its the skin?

Any help would be appreciated.

Thanks, Philip
Hey Philip, have you checked your global.php file edits?

Then check the following settings:
1- Make sure the categories you upload banners into have the correct scripts and forums ticked
2- Make sure that the banners are active
3- Make sure that the categories are active
4- Make sure that the script is active
5- Make sure that the script has at least 1 ad block (or has the 'use master' option ticked. In that case make sure that the master script has at least 1 ad block)

Also, if you hazve multiple skins, make sure that $GAB_ads[0] appears in the style you are using.

HTH's
Reply With Quote
  #462  
Old 07-06-2005, 01:07 AM
[email protected] vbmenu_register("postmenu_731204", true);
Guest
 
Posts: n/a
Default

I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.
Reply With Quote
  #463  
Old 07-06-2005, 07:05 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 mmcgann11@mac.c
I'm tripping on on two things:

I seem to have the system installed (I get to the control panel)

But I can't figure out the right call to make (I'm not a PHP coder) get the ad into the template.

Also, unless I'm missing something, I can't see via FTP where the ads are being kept (I thought in GAB directory).

It's entirely possible I'm a moron, though, and missed something obvious.

Help.
The banners (images and flash files) will get uploaded into the gab folder as long as your settings are correct (i.e. the server path is correct and the url path is correct).

You also need to make sure that you have $GAB_ads[0] in your tempalte somewhere (i.e. the top of the navbar template) and make sure you moved over the edited files from gish/gab/rc1

IF still having problems, PM me an admin account to check it out.
Reply With Quote
  #464  
Old 07-06-2005, 01:54 PM
sm00nie sm00nie is offline
 
Join Date: Jun 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hiya,

I'm having a similiar prolbem as phillpf. The banner images are uploading to 'gab/0' . I have $GAB_ads[0] in my template aswell. Also, When I go to edit an image there is no image already displaying.

I've gone through your list and all looks checked off.
Any ideas ?

Thanks,
Shawn
Reply With Quote
  #465  
Old 07-06-2005, 03:43 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

Hey Shawn, was this an upgrade from the earlier beta?

Can you check that the templates listed in settings->templates exist in your styles? (i.e. gab_item_image)
Reply With Quote
  #466  
Old 07-06-2005, 05:37 PM
beatyourtruck's Avatar
beatyourtruck beatyourtruck is offline
 
Join Date: Jul 2005
Location: Wisconsin
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off, I am a new Vbulletin user (former phpBB2) and an very pleased to find this mod! It is exactly what I am looking for (I have never liked phpAdsNew...too hard to operate). Thank you for all the hard work and effort The Geek!

Anyway, downloaded and installed the mod today. No errors, only had to do the save phrase thing to get the words to show in the GAB menu. All is cool with that. Also was able to upload a banner! Excellent.

Now the problem, my forum (brand new 3.0.7 install with only CSS style changes done to it) just comes up with a blank screen. I placed the old Global file back in the root and the forum comes up! Hmmm! So I uninstalled the mod...reinstalled and the same thing.

Any ideas? Something goofed with Global or......?
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 03:04 AM.


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.07362 seconds
  • Memory Usage 2,371KB
  • 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
  • (8)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
  • (15)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