Index of /forums

 NameLast modifiedSizeDescription

 Parent Directory   -  
 Changelog.txt 2008-01-24 22:31 1.6K 
 DONTUPLOAD/ 2014-07-11 04:03 -  
 FORUMDISPLAY.txt 2008-01-24 22:31 25K 
 INSTALL.txt 2008-01-24 22:31 1.0K 
 TFW Sponsor/ 2014-07-11 04:03 -  
 Warn.php 2008-01-24 22:31 17K 
 admincp/ 2008-01-24 22:31 -  
 advertisement.php 2008-01-24 22:31 1.2K 
 advertising.php 2008-01-24 22:31 9.6K 
 ajax.php 2008-01-24 22:31 15K 
 alldonors.php 2008-01-24 22:31 4.7K 
 announcement.php 2008-01-24 22:31 16K 
 archive/ 2008-01-24 22:31 -  
 attachment.php 2008-01-24 22:31 15K 
 boostlogic.gif 2008-01-24 22:31 1.9K 
 boostlogic.jpg 2008-01-24 22:31 17K 
 boostwerx.gif 2008-01-24 22:31 1.9K 
 calendar.php 2008-01-24 22:31 73K 
 clear.gif 2008-01-24 22:31 43  
 clientscript/ 2008-01-24 22:29 -  
 cpstyles/ 2008-01-24 22:29 -  
 cron.php 2008-01-24 22:31 3.2K 
 customavatars/ 2008-01-24 22:31 -  
 customprofilepics/ 2008-01-24 22:31 -  
 docs/ 2014-07-11 04:03 -  
 donate.php 2008-01-24 22:31 9.1K 
 editpost.php 2008-01-24 22:31 43K 
 external.php 2008-01-24 22:31 28K 
 faq.php 2008-01-24 22:31 9.0K 
 favicon.ico 2008-01-24 22:31 9.9K 
 forumdisplay.php 2008-01-24 22:31 32K 
 forumhome_forumbit_l..>2008-01-24 22:31 1.6K 
 forumhome_forumbit_l..>2008-01-24 22:31 2.3K 
 forumhome_forumbit_l..>2008-01-24 22:31 2.0K 
 forums/ 2014-07-11 04:03 -  
 fusion/ 2014-07-11 18:06 -  
 gab/ 2008-01-24 22:31 -  
 gallery/ 2014-07-11 17:38 -  
 garage/ 2014-07-11 04:03 -  
 gish/ 2008-01-24 22:29 -  
 global.php 2008-01-24 22:31 28K 
 global.php_ 2008-01-24 22:31 22K 
 history/ 2008-01-24 22:31 -  
 image.php 2008-01-24 22:31 6.9K 
 images/ 2008-01-24 22:31 -  
 includes/ 2008-01-24 22:31 -  
 index.php.smps 2008-01-24 22:31 1.1K 
 index.php_nogarage 2008-01-24 22:31 13K 
 index2.php 2017-10-13 12:59 2.0K 
 index3.php 2008-01-24 22:31 17K 
 info.php 2008-01-24 22:31 16  
 infobar.css 2008-01-24 22:31 884  
 infobar.wav 2008-01-24 22:31 20K 
 infraction.php 2008-01-24 22:31 42K 
 inlinemod.php 2008-01-24 22:31 135K 
 install/ 2008-01-24 22:31 -  
 install_vbgarage.php 2008-01-24 22:31 20K 
 joinrequests.php 2008-01-24 22:31 10K 
 languages/ 2014-07-11 04:03 -  
 login.php 2008-01-24 22:31 9.1K 
 member.php 2008-01-24 22:31 30K 
 memberlist.php 2008-01-24 22:31 33K 
 misc.php 2008-01-24 22:31 23K 
 modcp/ 2008-01-24 22:29 -  
 moderation.php 2008-01-24 22:31 27K 
 moderator.php 2008-01-24 22:31 6.6K 
 modmanagement.php 2008-01-24 22:31 2.9K 
 modules/ 2008-01-24 22:29 -  
 newattachment.php 2008-01-24 22:31 18K 
 newreply.php 2008-01-24 22:31 35K 
 newthread.php 2008-01-24 22:31 17K 
 online.php 2008-01-24 22:31 19K 
 payment_gateway.php 2008-01-24 22:31 7.2K 
 payments.php 2008-01-24 22:31 11K 
 phpinfo.php 2010-03-08 10:09 21  
 poll.php 2008-01-24 22:31 25K 
 postings.php 2008-01-24 22:31 70K 
 ppverify.php 2008-01-24 22:31 14K 
 printthread.php 2008-01-24 22:31 6.4K 
 private.php 2008-01-24 22:31 54K 
 product-_vbgarage.xml 2008-01-24 22:31 15K 
 product-bannerrotato..>2008-01-24 22:31 11K 
 product-brotator.xml 2008-01-24 22:31 8.9K 
 product-crucial_ad_m..>2008-01-24 22:31 11K 
 product-tfw_sponsors..>2008-01-24 22:31 8.9K 
 product-vbsponsors.xml 2008-01-24 22:31 17K 
 profile.php 2008-01-24 22:31 92K 
 readme.htm 2008-01-24 22:31 5.2K 
 register.php 2008-01-24 22:31 38K 
 report.php 2008-01-24 22:31 14K 
 reputation.php 2008-01-24 22:31 13K 
 root.php 2008-01-24 22:31 41  
 search.php 2008-01-24 22:31 113K 
 sendmessage.php 2008-01-24 22:31 20K 
 showgroups.php 2008-01-24 22:31 10K 
 showpost.php 2008-01-24 22:31 10K 
 showthread.php 2008-01-24 22:31 64K 
 signaturepics/ 2008-01-24 22:31 -  
 sponsor.php 2008-01-24 22:31 1.2K 
 sponsors/ 2014-07-11 04:03 -  
 subscription.php 2008-01-24 22:31 30K 
 subscriptions.php 2008-01-24 22:31 7.7K 
 subscriptions/ 2008-01-24 22:31 -  
 threadrate.php 2008-01-24 22:31 8.4K 
 timeslips.php 2008-01-24 22:31 12K 
 traderratings.php 2008-01-24 22:31 21K 
 uploads/ 2014-07-11 04:03 -  
 usercp.php 2008-01-24 22:31 22K 
 usernote.php 2008-01-24 22:31 18K 
 vB.Sponsors/ 2014-07-11 04:03 -  
 vBChat.php 2008-01-24 22:31 35K 
 vb_ad_management.xml 2008-01-24 22:31 67K 
 vbgarage.php 2008-01-24 22:31 17K 
 vbgarage_readme.txt 2008-01-24 22:31 3.4K 
 vbgconfig.php 2014-07-11 17:31 793  
 warning.gif 2008-01-24 22:31 630  
 warning2.gif 2008-01-24 22:31 631  
 xspowerlogo.gif 2008-01-24 22:31 1.9K 

Geek Advertising Banner RC1.0 Readme File
 
 
 
vB.org release thread Install Settings Troubleshooting 404 error


Geek Advertising Banner System RC1.0 Readme File
Introduction
Welcome to the your new found bud: GAB
You should have a good backup before installing any hack.

GAB has been the direct result of crap loads of hours spent coding and then recoding (and then recoding, etc...) the end-all-be-all banner system mack for vb3.

This system is designed to be able to produce mega simple static banners, flash banners, rotating banners, text ads (i.e. Google Adsense), popup ads, and even butter your freaking toast as and when you feel like it. This system is part of the (soon to come) GUSH system (Geek Ultimate Sponsor Hack) though it is totally not needed to run (thank heaven as it hasnt been fully written yet!). I STRONGLY suggest you read this file (as boring as it looks) BEFORE you install it. This can be a very complex system and I really hate seeing postings on vb.org about crap that would have been answered if you would have simply read this thing.

YOU ARE INSTALLING PRE RELEASE MATERIAL
In other words - there are still changes to be made to this package (though there shouldnt be many)
If you are a doofus with handling beta/RC hacks - please put down the modification and slowly walk away until its done.
Saying that, to my knowledge, here are the
KNOWN ISSUES
  • The Cron job isnt done yet. The cron job unpacks impression counts and does them later. This isnt too much of a big deal to wait for as the system is still recording impressions - it just wont show them correctly until the cron job is ready (shouldnt be more tha a couple of days.
  • The stats viewer isnt done yet. This should be done this weekend. As mentioned above, the stats are still recording though.
  • The TEST function doesnt work yet either. No biggy there.


Change log
28.06.05
  • Completely re-wrote from the ground up for the 17th time
06.07.05
  • Fixed a couple of minor issues
  • Created a debug info dump. If having problems, click Debug from the settings in your admincp as these can help identify the issue
  • Though its still a bit of a way off, I started to devlop the stats viewer. Its crude, but works (this release caught me off guard so I didnt have time to unwire it!)
  • Changed some terminology to make it a tad clearer about setup (i.e. the scripts nav link now says Ad Blocks which makes a bit more sense)
  • Reworked some of the readme to try and make it clearer (also started a troubleshoot section)

A word about the installer file editing system
Well, you are a freak then. I hate the things. File edits make upgrading vB a serious time wating butt pain. I have worked over 60 hours on producing a new install/upgrade/uninstall script that will do all of it for you.
That means that upgrading vB couldnt be easier. Simply overwrite your hacked files with new vB files and re-run the auto file install portion of the installer and it will re-hack them for you.

O no! Im a control freak - I like the sadisticness of doing manual file edits!

Right. Well no worries then. You have the option to manually hack your files.
During the install/upgrade process simply skip the last step (file changes) and click the manual file change link to see step by step instructions on the file edits needed.
This also comes in handy if your board is already hacked up and the installer can not complete all of the steps by itself.

I think its wise to talk about the GISH autofile hacking process so you understand it fully.
I think it is important to understand whats happening so dont skip this stuff (I didnt write it because I was bored).

  • The install script will allow you to Install (clean install), Upgrade, or Uninstall (only for losers that dont want the hack anymore).
  • The script will copy all vB files that need changing to gish/gab/RC1.0 (the install script will create the folders it needs as long as you have gish in your forum root chmodded to 0777).
  • The script will also create backups of the files it tries to change in gish/gab/RC1.0/backup (the installer will not touch those. They are there in case you need them)
  • From there, it will attempt to apply the changes to the copied files.
  • If for some reason it can not make a change (i.e. you have hacked a bit of code it is looking for) - it will skip the step and then inform you of the 'step' that failed. It will also provide you with a link to popup the code to change in a seperate window.
  • Make note of the steps (if any) as you will have to manually apply change those yourself (luckily - it only happens in rare situations - even on hacked boards)
  • Once all changes are done, you will need to copy the files from gish/gab/3.00 to their respective forum location.
  • I would also download and save the backup files just in case you ever need a quick revert.
  • I would then suggest that you delete your gish/gab/RC1.0 folder
Important!
  • You must upload all files in package to their respective locations (including the gish folder)
  • Make sure that the gish folder (and its contents) are chmod'ed to 0777
  • If your admincp folder has been renamed. I would rename it to admincp until the install is done - then you can revert it back
  • In a couple of instances, the folder structure in gish/gab/RC1.0 doesnt get made and the files do not get copied over. Manually creating the structure and copying the files seems to do the trick so here is the structure for reference:
    • gish/gab/RC1.0
      • admincp
        • index.php
    • global.php
  • The backup folder (gish/gab/RC1.0/backup) is the exact same
  • Each folder also has an index.html file in it. Dont copy those back into the forums folder. That is just to prevent directory browsing
  • Installation
    • Copy the files included with this package into their corresponding folders. overwrite existing files.
    • Ensure the gish folder is chmod 0777
    • Run the /admincp/gab_install.php file and follow it through. This will install phrases, settings, and the DB changes needed.
    • IF YOU ARE MISSING PHRASES AFTER INSTALLATION - THIS IS A COMMON PROBLEM WITH PHRASE INSTALLATIONS - all you have to do is edit an existing geek phrase (do a search for GAB_ in your phrases variable names and edit it. Then save it without making any changes) and that will rebuild them all.
    • If you are tracking impressions, you need to set up a VB cron job to unpack rolled up imression tracking.
      The script is included with the install and should go in your includes/cron folder. I am not about to go into setting up a VB cron job - Its easy stuff though (just look in your admincp->scheduled tasks area). I would recommend that you run the cron job at least once a day however this is totally dependant on How many links require tracking and your server load.
    Ads
    You will need to edit your templates to specify where the ads should appear.
    Depending on your settings, ads will spit appear where you stick the $GAB_ads[] array.
    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 ;-)
    Categories
    All banners need to have a category. Categories are a way to...er, categorise banners that share common properties and essentially make your banners much easier to manage.

    • Title - What you want to call the category (duh)
    • Track Impressions - If ticked, then all Banners in this category will be tracked whenever they appear (please read below about this!)
    • Track Click-thru - If ticked, then all Banners in this category will be tracked whenever they get clicked on (there are limitations on Flash ads and adsense - read below)
    • Template Name - This is the template that the banners in this category use. Read up on how the templates work below
    • Ordinal - The order in which the cateogry appears in the display window (really just a convienece tool)
    • Active - A quick way to turn off all ads in a category
    • Scripts - The scripts that the categroy qualifies for. To add or remove scripts, read below.
    • Forums - On applicible forums, these are the ads this category is eligible for
    I strongly suggest keeping standard images and Flash images in their own category - otherwise you will have template problems.
    note: If a category is inactive, it AND its ads will not appear in the Banners dispaly window!
    Banners
    Banners are any images or flash items potentially availible for appearing in your ads.

    • Title - What you want to call the Banner. This value appears in mouseovers on the ad (when applicible)
    • URL - The URL that clicking on the banner takes you too (there are limitations with Flash banners - read below)
    • Category - The category for the banner
    • Upload new banner - Allows you to upload direct from the admincp
    • Height/width - The size of the banner (this can be left blank
    • Type - An image or Flash banner are the only types. This is important so you dont screw up a rotating ad!
    • Active - If not active, the ad wont appear.
    • Frequency - The probability of the ad appearing (read below)
    • Start/end date - The start and end date for the ad (leaving blank or less than 1971 will mean indefinate)
    • Max impression/clicks - The amount of impressions or click thrus until the ad expires (leave 0 for n/a - read below on expiries)
    • Userid - The owner of the banner (this is so that users can manage their own banners with the GUSH system) - you can leave it blank for none.
    NOTE! You do not enter text/adsense/custom template ads in the banners section! There is no need to!
    NOTE! Only ads where the category is active will be shown in the Banner section!
    Frequency
    GAB allows you to use a weighted system for the probability of the ad coming up. The higher the frequency value, the more likely it is to appear during selection.
    For instance an ad with a low (1) frequency will appear 5 times less than an ad with a Mega Striesand frequency (5).
    You can add or change your frequencies how you see fit by clicking Settings->Frequency from your GAB admin page.
    Templates
    GAB allows you to customise your templates used for greatest flexability.
    There are 3 kinds of templates:
    • Item Template- Any template that starts GAB_item_ is designed to put an individual banner or ad in. Each ad MUST have an individual item template unless otherwise mentioned.
    • Wrapper template Any template that starts GAB_wrapper_ is designated as a wrapper template. A wrapper template takes the item templates and 'wraps' iteself around it. The wrapper template is the frame that the banners sit in (the one that says 'Please visit our sponsor'
    • Custom template A custom template starts GAB_custom_ and is designed to be used with adsense, popups, or whatever else your heart can dream up. Essentially they are templates that you put HTML or text into and it then gets wrapped up in a wrapper template.
    You can add or edit GAB templates by going to settings->templates in your GAB admin page.
    Ad Blocks (Scripts)
    Each vb file has an associated script name (i.e. showthread or forumdisplay). GAB uses this script name to allow you to customize which pages ads appear on. This also allows you to cusomtize what type of ads and how many ads come up on a page by page level.
    Each page you want to have a script on MUST have an entry in the scripts section and MUST be active!
    You will also notice a special script entry called MASTER. The MASTER script allows all other entries to simply 'inherit' the ads from the MASTER script which saves you butt loads of time setting up all the various pages you want ads to appear on. If your page has the same ad layout as the MASTER script, just make sure the 'Uses Master' box is ticked.
    • ID - The actual script name as defined in the code. This needs to be the same case as well.
    • Description - A user friendly version of ID
    • Use Master - If ticked, then this script will use whatever ads configuration there is in the MASTER script.
    • Active - Whether this page is active for processing or not.
    Ads
    Each script can have 0 or more ads assigned to it (unless the Uses Master option is ticked). You make an ad appear by clicking the Add New button when editing the script.
    • Type - There are 3 options. Either the ad will be a static ad (image or flash), a rotating banner or a custom text ad.
    • Number of banners - How many banners to pull for ad. If using a rotating banner, this is how many ads will be in the rotatin. When using a static banner - its how many ads will appear side by side in an ad block. When using a text/custom block - this value is ignored.
    • Template to wrap results in - This is the template that the ad results will get wrapped in.
    • Custom/Addsense Item Template - This value is ignored unless the tpye is a custom/text/adsense option. If it is - this is the template that will be contained in the ad 'wrapper'
    Settings
    • Sever path to banners folder - The physical path to the folder that the banners are in (should end in a /)
    • URL to banners folder - The URL to the banners folder (can be relative to forum directory AND MUST END IN A /)
    • URL to direct users on how to learn more about advertising - If you have a page outlining your advertising policy, put the URL here. If there is a value here, the 'Learn more about advertising' link is displayed on the ad wrapper
    • URL to direct users on how to turn ads off - Same as above, but it directs users to a page where they can learn about disabling ads (i.e. an article on becoming a premium subscriber)
    • Redirect Page - The page to capture redirects
    • Persist Throttle - This lets you throttle the amount of queries on a page. The number entered here is the number of maximum impression queries that gab will perform before it decides to 'roll them up' and unpack them via a cron job.
      Lets say you had 6 ads appearing on a page that you wanted to track impressions on. That means there are 6-12 additional queries on that page as the system needs to record the fact that they appeared. If Persist Throttle is set to a lower number than the number of queries needed, it will instead 'roll them up' into 1 query that is unpacked later.
      Why not always do that? Because to pack up queries still takes 1 query. To unpack takes 1 query, and then 1-2 more per unpacked impression!
      In a nutshell, keep this to a figure around 3 :-)
    • Cycle Rate -The number of milliseconds between rotating banner change (i.e 4300=15 seconds)
    • Usergroups that view ad - The suckers that are eligible to view the ad
    • Usergroups that can toggle off ads - Those can can yurn ads on and off in their UserCP
    • User field to toggle ads on/off - The custom Profile Field that signal whether or not ads are turned on
    • Value of field to indicate no ads - The value of the above field that indicates that the user does not want to see ads!
    NOTE! If using the ability to toggle ads off, you will most likely need to add a new user profile field.
    Upgrading from RC1.x
    Replace all your files with the new ones from this package.
    Run the installer (admincp/gab_install)
    Choose the install path
    Install only Settings, phrases and templates
    Scroll to the bottom of the page for the manual install listing
    Click it and follow step 200 (the admincp change. Its minor)
    Upgrading from Beta 2
    • Totally remove the old bag of crap from your server before replacing with this one.
    • To be honest, all you need to do is revert your admincp/index.php file and your global.php file. The installer will upgrade the rest.
    • If you dont have the old Beta 2 install package to find the fole changes, search through the files for GAB. THere are only a few entries.


    Troubleshooting
    No ads are appearing though everything looks fine!
    • Make sure that your Ad Blocks are set up correctly
      • In your admincp, click Ad blocks
      • Make sure all listed there are active
      • For simplicity sake, make sure all are ticked to 'use master'
      • Edit the Master script
      • There should be at least 1 Defined ad block. If not, ad one.
      • Make sure that the correct ad type is chosen and the other settings are correct
    • Make sure that your category is set up correctly
      • In your admincp, click Categories
      • Make sure all listed there are active
      • Edit each one at a time
      • Make sure all scripts are ticked
      • Make sure all forums are ticked
    • Make sure that your Banners are set up correctly
      • In your admincp, click Banners
      • Make sure all listed there are active
    • Make sure that have $GAB_ads[0] somewhere in your templates (i.e. your navbar)
    • If you are still having problems, post me the details from clicking Settings->Debug