![]() |
DHC Banner Ads - Upgrade [1.4]
Upgrade now available
DHC Banner Ads Hack This script allows you to manage the banner advertisments on your vBulletin board from within the Admin Control Panel. Currently not integrated with PayPal, NoChex so payment will have to remain seperate, although this is set for later releases. Features ? Display Banner Ads on every page ? Limit display of ads to so many clicks or views ? Turn off display of ads for certain usergroups ? Count clicks and views through Admin CP ? Keep banner ads in database but dont include them in rotation (ie: If maximum views has been reached) ? Auto deactivate when maximum clicks/views are reached ? Displays stats of ads in specified users control panel ? End date and time for banners (Limit or Unlimited) ? Multiple banners per page, using a locations script Please don't forget to hit the Install button if you use this hack - It helps me judge how popular this hack is and how far to carry on supporting it *UPDATE* [17th Apr 05] v1.4 Released! Download new ZIP file and either do fresh install or upgrade from previous version! v1.2.1 - All queries now include TABLE_PREFIX for boards that use this function Steps have also been taken to prevent SQL Injection |
Quote:
|
Thanks for sharing your work. A few remarks though after a quick view of the code:
- You are not using TABLE_PREFIX in all your queries, so this hack will not work for boards using a table prefix. - There are some places in the coding vulnerable to SQL injections. Please validate all values before using them in a query. |
Does this hack check secondary user groups?
|
Quote:
Quote:
Quote:
|
this looks very promising!!
|
Very cool! How about instead of expiring after so many views or clicks, how about also just after so much time? I am interested but it would be really cool to be able to set how long the ad should be active too. Maybe have it show how much time it has left in the AdminCP?
~006 |
Future releases will include the ability to limit by time as well.
This was originally coded into the script on my own site, but due to sloppy coding I decided to elave it out until future releases. |
UPDATED!
alright well i fixed it for the controls to be put in the admincp find: (in admincp/index.php) Code:
$printhr = false; Code:
construct_nav_option($vbphrase['banner_view'], 'dhcbannerads.php?do=view', '<br />'); first- phrase type: global varname: banner_view text: View Current DHC Banners Second- phrase type: global varname: banner_add text: Add a DHC Banners Then in footer template: find: Code:
<br /> Code:
<br /> |
Very Awesome..>Can't wait for the PayPal integrated version...This will be very cool.
|
All times are GMT. The time now is 02:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|