Version: 1.00, by tnguy3n
Developer Last Online: Sep 2010
Version: 3.5.2
Rating:
Released: 01-03-2006
Last Update: Never
Installs: 210
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
Banner Ads System
Author: Thinh Nguyen (tnguy3n)
Support: www.vbviet.org
###############
Banner Ads System Expanded version supports Adsense, Adbrite, Flash, Inframe, etc.
Click on the link below for more info & to purchase: http://www.vbviet.com/index.php?act=...od&productId=8
###############
This simple rotational banner ads system get random ads from your database and display globally under navbar on your board.
It's been fully tested on vb 3.5.2, but it should work fine for all 3.5 Gold version.
FEATURES:
- Banner stats tracker
- Ability to enable/disable
- Admin ability to add/modify/delete banners
- Admin ability to view banner stats/detail for each banner
- more
#################
STRUCTURE:
- New Files: 3
- New Template: 1
- New db tables: 2
- Product: 1
#################
INSTALLATION:
1. Upload files to appropriate dir in your forumroot
2. UPload product xml file in your Product Manager
#################
If you find this hack useful or wish to sponsor/support future development of the hack, you can donate to
If you need custom version of this hack, pls contact me.
:::::UPDATE:::::
The product xml above will add 2 plugins and the ads stays fixed under navbar. This, however, may not be working with some custom skins if navbar template's codebit are changed. To fix that problem, open Banner System plugin (at global_start hook), replace the whole content with:
PHP Code:
// Banner Ads System by tnguy3n
if($vbulletin->options['bannersys_mode'])
{
$getads = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "
bannersys_banners WHERE status = '1' ORDER BY RAND() LIMIT 1");
$ads = $vbulletin->db->fetch_array($getads);
Next step, you'll have to modify some templates in order to display the ads, place this following code:
HTML Code:
$bannerads
anywhere you want to show the ads.
If you want to show the ads globally on your forums, put that code in either header or navbar or footer template.
To enable/disable or change other settings of Banner System: vBulletin Options -> Banner System Settings
- Banner System Mode: yes = enable, no = disable
- Show Banners to Logged In Users: yes = everyone (including logged in users), no = only guests
- Ads In New Window: yes = open in new window, no = open in same window
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
[solved] I hate to feel stupid..but the plug in is showing up, but where do i find the banner manager to edit the banners?
Never mind...
When i logged out of acp, and logged back in it was there. Thanks..
Just a note for people having problems with banners justified left when you want another way...if this has already been posted, sorry
In the banner system's global start plugin, find the textsearch call (the default is "<!-- / nav buttons bar -->" as mentioned in the hack) find that line in your navbar template and on the line above add an alignment ta, and the close tag on the line below (with a space for the insertion).
[solved] I hate to feel stupid..but the plug in is showing up, but where do i find the banner manager to edit the banners?
Never mind...
When i logged out of acp, and logged back in it was there. Thanks..
Called me stupid too, but I can see the plugins, see the bannerads template, but how do I edit the banners?
I really am having a dunce moment.:surprised:
Ignore me, ignore me. Remember to copy the relevant files in the admincp, includes/xml to their respective board folders and remember to copy the banner.php to your forum root.
I uploaded all the files and imported the XML document, now when ever I go to the control panel and try to mess with the options, I get a blank admincp screen. Any suggestions?
After you install the banner system. I was not able to see them in admin ACP untill I logged off, closed the browser, and logged back in. ACP, Banner System, Banner Manager.