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
  #332  
Old 06-03-2005, 03:39 PM
monkeyjoe monkeyjoe is offline
 
Join Date: Mar 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't work for me or would have been good and what i was looking for
Reply With Quote
  #333  
Old 06-03-2005, 03:45 PM
uReside.com uReside.com is offline
 
Join Date: Oct 2003
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine acts like it works... but... doesn't show an ad, plus i get the "Could not find GAB_Settings_Saved" error
Reply With Quote
  #334  
Old 06-03-2005, 07:28 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to fill in a value for "what to display if no ad is available" or something along those lines under settings. It didn't work on my site until I did that.
Reply With Quote
  #335  
Old 06-03-2005, 07:50 PM
rrr rrr is offline
 
Join Date: Oct 2004
Location: California
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have members "earn" advertising impressions for each post they make?

That way it can be a shared advertising co-op kinda thing that would encourage members to be active in the forum?

Like one post equals 1 impression (or 1 post equals 10 impressions -- or 1 post equals 100 impressions after you are in X membergroup). When you reach X membergroup you get 1000 bonus impressions, etc.

That would make this hack the awesomest
Reply With Quote
  #336  
Old 06-04-2005, 05:05 AM
uReside.com uReside.com is offline
 
Join Date: Oct 2003
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bernd
You have to fill in a value for "what to display if no ad is available" or something along those lines under settings. It didn't work on my site until I did that.
where is that setting?!

how do i view the stats also, like views and hits??
Reply With Quote
  #337  
Old 06-04-2005, 05:12 AM
uReside.com uReside.com is offline
 
Join Date: Oct 2003
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Variables passed varibales: Usergroup: Administrators (6), script=index (0), forum=Apartments Inside!(30)
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

when i test it, thats what i get
Reply With Quote
  #338  
Old 06-04-2005, 08:57 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

If no ads are showing up, it usually means that there is either:
1- no $GAB_ad set in a template
2- and/or the global settings are not set right (check to ensure the correct scripts are ticked there as well as forums, usergroups set to view ad AND make sure that if the usergroup setting to allow usergroups to toggle ads is ticked, that the field value isnt blank)
3- and/or the forums/scripts settings in the ad itself isnt set right

rrr - Im not sure what you man exactly. I think it wouldnt be hard to do a tie in to Ucash where users get points for clicking ads - but ads getting points for impressions?

Guys - there are many installation bugs with this thing still. All workarounds are minor and listed in this thread but I wouldnt suggest someone install this unless they are cool with doing some playing.
The next version isnt far off but I havent had much time to play with it and the impending vb3.5 is hindering my drive to spend much time in development.
Ill see if I can get a smoother running install for this weekend - but I cant promise anything.

Thanks
Reply With Quote
  #339  
Old 06-04-2005, 02:45 PM
Bernd Bernd is offline
 
Join Date: Apr 2005
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has been mentioned before that the ad system only rotates 3 banners at a time despite the settings in the admin section.

Is there an easy fix for this? (manually changing settings in the database perhaps?).
I've currently found 5 sponsors for my site and would like to show a working rotation before we go live

Thanks a billion.
Reply With Quote
  #340  
Old 06-04-2005, 08:05 PM
rrr rrr is offline
 
Join Date: Oct 2004
Location: California
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
rrr - Im not sure what you man exactly. I think it wouldnt be hard to do a tie in to Ucash where users get points for clicking ads - but ads getting points for impressions?
Well, I don't really want to encourage members to click on the banners unnecessarily by giving them points.

I run a business type forum, so my members would benefit if they could have their banners shown in the forums.

The more you post, the more banner impressions you get.

For example if your postcount is 100 posts, that would equal 1000 impressions (ad views).

Or it might be easier to award banner ad impressions (ad views) by the membergroup the person is in.

That way, if a person reaches say "supercool membergroup", then they are awarded 10,000 banner impressions. If they reach the superdupercool membergroup, then they are awarded 50,000 banner impressions.

Hope that make sense?
Reply With Quote
  #341  
Old 06-06-2005, 04:31 AM
Mr.D Mr.D is offline
 
Join Date: Feb 2005
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rrr
Well, I don't really want to encourage members to click on the banners unnecessarily by giving them points.

I run a business type forum, so my members would benefit if they could have their banners shown in the forums.

The more you post, the more banner impressions you get.

For example if your postcount is 100 posts, that would equal 1000 impressions (ad views).

Or it might be easier to award banner ad impressions (ad views) by the membergroup the person is in.

That way, if a person reaches say "supercool membergroup", then they are awarded 10,000 banner impressions. If they reach the superdupercool membergroup, then they are awarded 50,000 banner impressions.

Hope that make sense?
I agree with rrr this is what i was looking for great idea rrr. Geek can this be done. Will make us all happy :banana:
Reply With Quote
  #342  
Old 06-10-2005, 07:15 AM
kafi kafi is offline
 
Join Date: Apr 2004
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just can't wait for full version :-((((((
Reply With Quote
  #343  
Old 06-10-2005, 10:44 AM
grecostimpy grecostimpy is offline
 
Join Date: Mar 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack! I have it mostly working except no ads are showing up.

I have all the scripts ticked on the setting tab as well as my ad.

I added $GAB_ad1 to my breadcrumb template for the navbar

Here's the results of my test:

Variables passed varibales: Usergroup: (COPPA) Users Awaiting Moderation (4), script=index (0), forum=Knowledge Base(85)

Problem No script was passed therefore no ad can be pulled.

Usergroup Passed usergroup. This usergroup is set to view an ad.

Toggle Failed usergroup toggle test. This usergroup could not toggle ads on or off.

Script Passed script test. We are in a script that is set to view an ad.

Results: $GAB_ad1


Why no script?


Am I adding this to my navabr correctly (pardon the newb question)...this the very end of the code in breadcrumb....

Code:
		</table>
	</div>
	<!-- / mypopupmenu -->
<!-- / NAVBAR POPUP MENUS -->
</if>

$GAB_ad1
Not sure if I did that right?
Reply With Quote
  #344  
Old 06-13-2005, 12:52 PM
EchoZA EchoZA is offline
 
Join Date: Apr 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

O.K. I ran the install and all reported fine, I then uploaded the altered files over the old ones, and now my admincp does not show, just a blank page. Restored the backs and I have access to admincp again. I have gone through this process 5 times and the same each time. Any ideas?
Reply With Quote
  #345  
Old 06-13-2005, 12:58 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

Do you get the navigation page but not the actuall GAB admin page?

There is a bug in the file change for admincp/index.php that leaves an orphaned =false; line. You can just remove that from that page.
Some users had reported problems with the javascript that is in GAB_admin.php (toward the top of the page).
Do one of the following to sort it:
1- After the javascrtipt, change the <? to <?PHP
2- Delete the javascript.

My guess is that the first should sort it for you.

Greco - a common mistake that you may want to check is that you do not have a usergroup set to turn the ads off with a blank value in the - er - value box (hope that makes sense!).

rrr & madman. So you want to give banners based on postcounts? Im sure that wouldnt be too hard to do - but I will reserve that one for the GUSH add on.
Reply With Quote
  #346  
Old 06-13-2005, 03:31 PM
EchoZA EchoZA is offline
 
Join Date: Apr 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Geek
Do you get the navigation page but not the actuall GAB admin page?

There is a bug in the file change for admincp/index.php that leaves an orphaned =false; line. You can just remove that from that page.
Some users had reported problems with the javascript that is in GAB_admin.php (toward the top of the page).
Do one of the following to sort it:
1- After the javascrtipt, change the <? to <?PHP
2- Delete the javascript.

My guess is that the first should sort it for you.

Greco - a common mistake that you may want to check is that you do not have a usergroup set to turn the ads off with a blank value in the - er - value box (hope that makes sense!).

rrr & madman. So you want to give banners based on postcounts? Im sure that wouldnt be too hard to do - but I will reserve that one for the GUSH add on.
I get a blank white page, no admin login, nothing... which option should I try?
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 07:29 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.08553 seconds
  • Memory Usage 2,372KB
  • 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
  • (1)bbcode_code
  • (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
  • (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