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
  #552  
Old 07-20-2005, 05:16 AM
beansbaxter's Avatar
beansbaxter beansbaxter is offline
 
Join Date: May 2005
Location: Seattle
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i direct linked to the admincp admin file for the system, and it just isnt working. i followed the instructions verbatim, using 3.0.7 but cant get it to work. im gonna give up till the final release is out.
Reply With Quote
  #553  
Old 07-20-2005, 08:21 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 there is no link in the admincp, then either the autoinstaller couldnt make the change to your admincp-index.php page, or you simply didnt copy it from gish/gab/rc1/admincp

Nothing much can speed things up anymore than they are. IMO, this is totally usable. The couple of things that need tweaking are of minimal consequence. The biggest problem is making it a little more obvious how the system works however once you have it up and running its pretty obvious.

ANyhooo - right now Im on vacation in Spain so there isnt a great deal I can do until I get back. The release of vb3.5 is causing most mackers to spend most of their time rewriting and porting all their stuff over and Im no exception there
Reply With Quote
  #554  
Old 07-20-2005, 02:16 PM
beansbaxter's Avatar
beansbaxter beansbaxter is offline
 
Join Date: May 2005
Location: Seattle
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I went to bed last night and woke up this morning determined to get this to work. I created a brand new database and created a fresh new instance of vbulletin 3.07 (just did this for testing purposes before I take it over to the live forum that needs this mod). Did a fresh install of vb and then did a fresh clean install of this GAB modification.

I looked through the install notes...everything was a success. You're right about the phrases not working until you rebuild them, so I did that to correct that problem.

Still no GAB link in the Admin CP Panel, not a problem, I just type in the link to access GAB_admin.php

So I go there to add a new banner. I notice if I choose to upload the banner, I get the following error:

Warning: move_uploaded_file(/home/danielm/domains/randomtime.com/public_html/forum/gab//0/randomcomputers.gif): failed to open stream: No such file or directory in /includes/gab_class_admin.php on line 400

Warning: move_uploaded_file(): Unable to move '/tmp/phpFBi63B' to '/home/danielm/domains/randomtime.com/public_html/forum/gab//0/randomcomputers.gif' in /includes/gab_class_admin.php on line 400
Got some freaky error.

So the banners are not uploading, that's where I'm stuck at.
Reply With Quote
  #555  
Old 07-20-2005, 10:40 PM
RGSMDNR RGSMDNR is offline
 
Join Date: Jun 2005
Location: Calgary, Alberta
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RGSMDNR
banners show up fine in both IE and firefox, but when i click one in IE, it brings me to a condensed page of my forum?
so what about my issue?
Reply With Quote
  #556  
Old 07-21-2005, 07:17 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

do you have a gab folder in your forum dir? Also, check your settings for a trailing slash for your server path. You will see there in the error message that you have 2

rgsmdr - sounds to me like an odd URL option in the banner. Its the same basic redirect regardless of the browser you are using. Can you provide a link?
Reply With Quote
  #557  
Old 07-21-2005, 11:59 AM
RGSMDNR RGSMDNR is offline
 
Join Date: Jun 2005
Location: Calgary, Alberta
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well now it wont work in any browser...

http://forums.fordpower.ca
Reply With Quote
  #558  
Old 07-22-2005, 05:45 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

chances are its just a misconfiguration in the settings.
Can you paste the results from settings->debug?
Reply With Quote
  #559  
Old 07-22-2005, 10:55 PM
SportBikeAddict SportBikeAddict is offline
 
Join Date: May 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Clicked install. Great hack, and awesome work.

Just two things that I'm having problems with:

1) Created a custom template for an HTML ad I have. This template has been added as a banner in the MASTER Ad Block along with a static banner, but users only see one banner no matter what page the view in their session.

2) When the uploader PUTs a file in the banner directory, it's permissions are set to 600. I have to manually change permissions on each banner. Server config issue on my end?

Thanks so much for taking a glance at this.
Reply With Quote
  #560  
Old 07-23-2005, 07:24 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 only thing I noticed at a quick glance is that you only have 1 $GAB_ads in your templates but 2 blocks defined in your Master script which means you need $GAB_ad[1] somewhere to display your other ad block. Stick $GAB_ads[1] somewhere and you will see the second ad block.


Off the top of my head, the banner CHMOD shouldnt be a problem. What happens if you dont chmod it and what are you changing it to?

HTH´s
Reply With Quote
  #561  
Old 07-23-2005, 08:42 AM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just upgraded to 1.6 from 1.1, and I have something strange on advertising.php - top left hand corner, screen grab attached to show what I mean.

Will advertising.php be where people can sign up for new banners? I always thought it would be this, as a place where they can it all themselves .... or am I wrong?

Cheers!

Jason
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 08:39 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.07292 seconds
  • Memory Usage 2,316KB
  • 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
  • (1)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
  • (3)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