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
  #2  
Old 04-11-2005, 09: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

Discsussions for RC1 start here-:

https://vborg.vbsupport.ru/showthrea...p=727952&pp=15

Info on setting up ads.

Its become apparent that the readme isnt clear enough on how to create ad blocks, so until I update it - here is some extra info

Ad blocks are blocks that contain 1 or more ads (either images side by side, rotating, or static.) Essentailly an ad block is whatever comes out in the Standard Wrapper (the block that says 'Please visit our sponsor' at the top).

You define the ad blocks in the Scripts section.

Unless you want different configurations on different pages, use the Master script to define your ad blocks.

Edit the Master script by clicking on its link in the admincp.
There you will see 1 ad block (installed by default).
If you want additional ads, click the 'add new' button whilst editing the script and another ad block will appear for configuring.

In your templates, each ad block will appear as $GAB_ads[x] where x=the ad block (starting at 0). In other words, the first block in the page appears as $GAB_ads[0], the second $GAB_ads[1], etc...

Its pretty simple really
Reply With Quote
  #3  
Old 04-11-2005, 10:55 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

geez everyone has a banner system>_>
Reply With Quote
  #4  
Old 04-11-2005, 11:40 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, but do any of the others wipe your bum? Didn't think so!

No, in all seriousness.. if I were to ever implement a banner system, I'd go with Geek's. He offers such good support on his hacks it's hard not to turn them down. Even if you have no use for them.
Reply With Quote
  #5  
Old 04-11-2005, 11:44 PM
nexialys
Guest
 
Posts: n/a
Default

/me give complete support to Geek on this one... he can even take everything from my other hacks and integrate to his needs... as i'm not giving more support after my own license is ended...

good luck on this one, it's promissing!
Reply With Quote
  #6  
Old 04-12-2005, 12:13 AM
Koutaru's Avatar
Koutaru Koutaru is offline
 
Join Date: Feb 2003
Location: IL
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking forward to this one.. screenshots?
Reply With Quote
  #7  
Old 04-12-2005, 01:11 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finally, my vB wipes my BUM (with the help of a hck) Now I can die a hapy man.

Looking forward to the finished masterpiece.
Reply With Quote
  #8  
Old 04-12-2005, 01:33 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reading the install file u forgot to say what is the first file to edit ?
Reply With Quote
  #9  
Old 04-12-2005, 03:28 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lasto
reading the install file u forgot to say what is the first file to edit ?
I believe you need to edit global.php
Reply With Quote
  #10  
Old 04-12-2005, 05:55 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any screenshots of the admin panels?? Please!!
Reply With Quote
  #11  
Old 04-12-2005, 06:16 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

just added

The file edits are in global.php (sorry )

Personally - I think the community would benefit by all the banner hack writers getting together and teaming up to build one. No sense in having 50 different banner hacks that are all slightly different enough to confuse the hell out of people.

The only reason I released this was because I needed one and I couldnt get the functionality I needed from existing hacks. All my hacks are stuff I use on my site because I have a need for them and cant find it somewhere else. Though I will totally support this - it would be nice if some decent coders and other banner writers want to team up and see what happens

nJoy
Reply With Quote
  #12  
Old 04-12-2005, 06:41 AM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is statistics avaible for anyone to see ? Also can we make this like only unregistered users or some usergroups can see the banners ?
Geek it looks like you did a very good job again.
Reply With Quote
  #13  
Old 04-12-2005, 07:11 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

Thanks Lizard.

Yes you can make so only unregistered view. You would just need to add a new profile field (a use a radio button) and set a default. Then put that default in the usergroup section of your GAB settings. I guess I can also add a mechanism whereby it simplifies that process though - wouldnt be hard.

I am bustnig butt on this hack as I need to go live with a full advertising system on my site by the end of this week. That will include:
1- Users able to create their own ads by 'purchasing' from admin designed packages.
2- Users able to manage their own ads (upload new, view reports on frequency of hits, views, etc..)
3- Users able to purchase packages via paypal.

I may not get the full user management side done this week (doubt I will). But that is where I am going with it. I just need to make sure everything else is working well.
Reply With Quote
  #14  
Old 04-12-2005, 09:11 AM
reteep reteep is offline
 
Join Date: Mar 2004
Location: Germany
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds very cool.

But if I click on a banner I get:

Quote:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /*/vb/global.php on line 13

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /*/vb/global.php on line 14
PHP5 Problem?
Reply With Quote
  #15  
Old 04-12-2005, 09:33 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

Try the new package (overwrite all files).. not sure if that will help as I cant reproduce it.

New package addresses:

fixed minor typo in README (didnt say which file to edit)
Put some info on how the banners are pulled in README
Added settings for which usergroups see ad
removed extra isactive setting
Fixed flash banners not appearing
Added new setting for #of ads in rotating banner
Flash ads now appear when editing ads
To update from 1.00 just overwrite GAB_admin.php, GAB_redirect and functions_gab.php
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:20 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.05513 seconds
  • Memory Usage 2,349KB
  • Queries Executed 28 (?)
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_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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (14)postbit_onlinestatus
  • (15)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