![]() |
Banner Ads System
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 https://vborg.vbsupport.ru/external/2010/02/12.gif 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:
HTML Code:
$bannerads 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 |
very usefully thanks for sharing
|
thanks, very nice
|
nice & cool
|
Whoa this is great! Thanks! :D
|
will this work with Adsense?
|
is this just a simplified version of PHPadsnew?
|
Great I had one for 3.07 and have been looking for something like this. Quick question, are the banners linked to the advertiser or are they just images that rotate? Asking because I really need something that links to the sponsor's site. Either way, nice work!
|
Great one.. thanks
it's working smoothly. |
wonderful thanks
|
Great work. You forgot the Banner added phrase though. ;) Also try having it in a template instead of how it is currently, its cutting off my skins navbar.
|
thanks
|
Exactly what Ive been looking for, will install and test when I get home and then donate something for your trouble, thanks.
|
Ahh question, can we put the banner wherever we want or does it just stick it where it sticks it??
|
It stays fixed below navbar, but if you need to put it somewhere else, that would be easy to do too.
|
Hallo,
ich habe auch installiert aber obwohl im Admin funktioniert, in Hauptseite sehe ich keinen Banner. Wo mache ich Fehler? |
Hallo akakios,
doch es funktioniert aber du musst nach der installation Erlaubnis geben für die Mitglieder okei? unter AdminCP> Banner System> Banner Settings> Show Banners to Logged In Users?> Yes und speichern |
Hallo Hasann
leider das hat auch nicht geholfen. Bei mir steht "You can set whether to show banner ads to logged in users here." und habe ich YES Markieren und gespeichert. Ader trotzdrm erscheint keiner Banner. Soll ich vielleicht ein "include" oder so was in Template schreiben? Übrigens, es gibt keine "neue Template" in zip ordner. |
hmm..,
hast du schon mal product_bannersys.xml datei durch admincp> plugin manager importiert? und welche version von vBulletin hast du? |
I wish I know what you guys talk about. :D
|
Quote:
Ich habe die 303 Version. Ich habe aber andere Template. Blue Wonder. Ist vielleicht das sProblem? |
Quote:
I have problem with Banner Ads System. I have installed but I can not to see the Banner. But in Admin I see th Banner. I have 303 version und Blue Wonder Template. That is my problem. :disappointed: |
This banner hack is for vbulletin version 3.5.x. It wouldn't work in vb 3.0.3.
|
Ok! Thank you.
Do you know a good banner programm for 3.0.3? |
im running 3.5.1 and the .org banner shows when a guest shows but thats all I see. Seems like I'm missing a bunch of stuff. Only screen I can find in my boards from the screenshots is the 1st one. I'm noob and probably missing something. Any help is appreicated.
|
vBulletin Options -> Banner System Settings, check Yes to "Show banners to logged in users".
|
Hi,
How would I let display at the top right hand corner? |
I have a problem, when i click the link on my forum home, it doesnt take me to the place. Its an error, 404... IT adds "amp;" to my link
|
IT would be nice if there was some documentation or a post explaining what the 'call' is named and where it is placed, so we could relocate it as needed. I am not a coder, but I didn't find the code in navbar or forumhome with a cursorary search. It does work on my current theme, but a theme I have in developement has side nav bar and not the horizontal ones on top, hence I thought it would be in the nav bar template. Anyway, if some one could post what I am looking for I imagine I could relocate it! :cool: Thank you for your time.
|
I have managed to add it to the top, however, it stays in the middle instead of right aligning. Anyone know how to do that?
|
I'll write the docs for this later. For those who want to show the ads somewhere else, alter the codes in Banner System plugin.
|
Database error in vBulletin 3.5.3:
Invalid SQL: CREATE TABLE IF NOT EXISTS bannersys_banners ( bannerid int(10) NOT NULL auto_increment, bannername varchar(200) NOT NULL, bannerdesc varchar(250) NOT NULL, bannerurl varchar(250) NOT NULL, imgurl varchar(250) NOT NULL, bwidth mediumint(4) NOT NULL, bheight mediumint(4) NOT NULL, status tinyint(1) NOT NULL default '1', PRIMARY KEY (bannerid) ) ENGINE=MyISAM AUTO_INCREMENT=1; MySQL Error : You have an error in your SQL syntax near 'ENGINE=MyISAM AUTO_INCREMENT=1 ' at line 11 Error Number : 1064 Date : Sunday, January 8th 2006 @ 11:15:54 AM IP Address : 68.148.132.214 Username : kristoff Classname : vb_database |
works fine after you remove the MyISAM etc ...
A few suggestions that would really help boost this package would be: - Scheduled Banner Expiration (give a start / end date to which the banner is valid) - Allow the banners to be uploaded to the board into a folder or the db, instead of linking from an external source - if there is no link for the banner, remove the <a href> and just show it as a normal image. some people just dont have a website to link to and are just interested in showing their banner. other than that great job! nice package. helps alot. |
Quote:
|
Quote:
|
I actually had to click no then yes again to get it to work lol. Works great though. Does exactly what it needs to, well done.
|
Quote:
I had the same problem, removed the MyISAM line, re-upload the .xml file and all ran fine, but now when I try log into my ADMIN CP I get the following error, Code:
Database error in vBulletin 3.5.3: |
^^^ I'm going to install phpmyadmin see if I can add the tables manually, looks like the tables were not added :(
|
If I add the code from the .xml in via phpmyadmin, as follows.
Code:
("CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "bannersys_banners ( Code:
#1064 - You have an error in your SQL syntax near '("CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "bannersys_banners ( |
Quote:
try: PHP Code:
|
All times are GMT. The time now is 06:43 AM. |
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:
|