![]() |
Banners & Ads System
Banners & Ads System
--------------------------------- by AnhTuanCool Fully Tested on vb 3.0.5 Description: Banners & Ads System allows you to have a slot on every pages in your forum for showing banners and ads. Banners and ads in database will randomly pickout to show everytime new page is loaded. Admin options in admincp allow you to fully administrate your banners and ads. Feautures: - Show Random Banner or Ad on everypage - Clickable Link (of course :D) Admin Feautures: - Master Switch on/off - Fully Add/Edit/Delete Banners, Ads Factors (such as title, dimension, links, etc...) - Enable/Disable Banners To Be Shown (if you set Disable to a banner, it will not show) - Banner Template Layout Alterable - Show Banner Anywhere on your global templates Updates: Jan 28th - Add update to display banner anywhere rather than the nav Install Instruction and Screenshots: See attachments. If you find this hack useful, also get informed by any new release & update, please click INSTALL. Thanks, |
Sound interesting tuan. Thnx man. I will give it a try
|
Looks interesting.
Any way for you to add banner clicks and have them counted ? Also would be nice to have a user interface to show the stats of the banner to the purchaser. Thanks, Itworx4me |
Interesting idea. It would be nice to have an option with each image to allow the admin to select which usergroups will be shown which banners. For instance I may want all non-registered userd to see banners for my site, and then reigstered users would see a different set of banners, and then moderators would see none, or only a few, etc. based on the prefs set up by the admin.
|
Hi,
cool hack. However, a option to choose in which Forum or Category the Banner shows up would be very nice! |
It would be better if the banner was central. Other than that, excellant hack.
|
Quote:
Does this hack allow me to only rotate one slot? What if I wish to show two banners or more at once? |
@yoyoyoyo, stormblast - those need some or more lines of code and would be easy to made, if you really want a custom work, you can contact me individually :)
@snyx, Itworx4me - I will consider making that Add-Ons soon, thanks for suggest! @snyx - if you want to have two or more slots running simultaneously, contact me individually ;) |
great hack,but in this picture the banner not come in middle of the page,i don't way !
https://vborg.vbsupport.ru/attachmen...&stc=1&thumb=1 thank you |
Can I use show random banner? If yes, how can I do?
And can I add multiplace banner? Ex: I have 2 banners, I wanna show 1 at top and 1 at bottom, coudn't I? |
Quote:
Replace banner templates with Code:
<!-- Banner Rotation by AnhTuanCool --> |
Can we have a demo site plz?
There is a "similar" hack like this available, but that one, doesnt work for Netscape or Firefox users..and want to test if yours hack is working ok:) Excellent hack, hope u add to it some features soon(like stats mostly). Ps Its "appear" in all pages or just forum home? :) |
It's appeared in all pages because the extra banner template that I added is on the nav bar, and you see your nav everypage ;)
|
lol:) clever i have to admit:)
Hope someone can show us a demo link, so i can test it with firefox/netscape use:) |
I guarantee you this hack works on both IE and FireFox, but still unsure about Netscape because I don't have this kind of browser. But technically I can say that it will also work, because I combine both EMBED and OBJECT tag for flash type banner - standard way to make the flash show up in most of the browsers.
If you prefer a demo, check out my site http://yeuamnhac.com/music/ , login is not required. |
Damn just tryed to test it with Netscape and i see the following message:
There seems to have been a slight problem with the database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience I also see that, with my IE:( Anyway i will give it a try tommorow, its 5 in the morning here, better to sleep little:D Its a great hack mate, u should feel proud :) Ps Any possible stats to be added(i only ask as i am ready to install after i test:D) |
The server had been overloaded lately, but it's up right now.
Thank you for your appreciation, I will work on the stats as soon as I can. Thanks, :) |
Yep just checked, it works fine with Netscape, Firefox and of course IE.
Waiting for the stats addon, to install it:)(u may i think also add in the main page of the hack, the directions to center the "banner" in the pages(i think its in the previous page :P) ) Well done mate, i am curious that this hack didnt got yet at least 4 pages of replies yet...there are not any "adv" hacks available(any good at least :) ) Ps Can u please release also an uninstall script for this hack? No need really yet, as i havent installed it, but i ask from now on, every hack designer i am intrested, to have it just in case:) |
But it didn't works if you had install Welcome panel :(
@AnhTuanCool: answer my question, please! Thanks |
I installed this hack. And it won't display the banner in the Header template. I put the code in the navbar template and it works great. But I don't want to display it there. Any Ideas how to get this to work in the Header template???
Thanks, Itworx4me |
hey, I installed the script, but I don't want it to show up in the navbar (have other stuff there). I am wanting it to be above the Advertising Section of my site (http://forums.probe-enthusiast.com/) When I have it in the navbar, it works fine, but anywhere else, it doesn't want to show up at all... any help?
|
I found that this works in the phpinclude_start template. Make sure you delete this file from the gobal.php file or it won't work.
PHP Code:
Thanks, Itworx4me |
Place $banner where you want your banners to be displayed. Make sure you remove $banner in your navbar template if you don't want it to show one banner twice at a time.
@Itworx4me - what do you mean by the script doesn't rotate? |
For some reason the banner doesn't rotate. Just stays on the first banner all the time. Not sure what can be done to fix this.
Thanks, Itworx4me |
alright, cool, works for me now... rotates and everything... thanks!
|
@xtreme2 - thanks ;)
@Itworx4me - to make a banner to display, you have to set its status to ON. Otherwise I cannot find any problem along with my forum and other customer ones. |
I have it all installed but my banner is not showing up where I placed the $banner. I made sure that it is turned on and it show the banner correctly in the acp.
Any ideas? |
Same here, it works only inside the main page, not above the navbar for example
|
I've added the update allow you to display your banner anywhere else you want depend on where you place your $banner variable. Have fun ;)
|
i installed this in 3.0.3 works great Question i have is there anyway to have this display a few banners at the same time i have it displaying currently under my header what i ean is like 3 diffrent banners same time.
|
i installed this in 3.0.3 and it wont dosplay the banner but it is inside of my admincp will thius work with this version of Vb.
|
anyone care to explain why it appears in navbar for me and not in the footer or any other place i insert the tag too?
www.ragezone.com |
I'm lost. Into what table or page does this go?
2. Master switch ================================== INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_title', 'Enable Banners & Ads System', 5000); INSERT INTO phrase (languageid, varname, text, phrasetypeid) VALUES (0, 'setting_enbanners_desc', 'If this option set to Yes, overal show banners and ads on navbar function will be turned on.', 5000); INSERT INTO setting (varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES ('enbanners', 'general', '1', '1', 'yesno', '1000', '0', '0'); ================================== |
@Rastus - just run them as you run other queries.
@mentalrz - Did you INSTALL the Update? @shadyguy1 - I'll try to install this hack on vb 3.0.3 later, see if it needs something else ;) |
Ok, so I can make the banners now, see them in the CP, but when I choose save I get this error : "Could not find phrase 'save_banners_x_successfully'."
|
Great hack!
One question, I have 2 ad spots (top & bottom) and I was wondering if there was a way that they could show different banners instead of rotating in the same ones at the same time? |
Ok. I still cannot get this to show up. The banner shows up in my ACP. But there is nothing on the forum.
Can someone please help me? |
@Rastus - Did you ADD the phrase as Control Panel Stop Message phrase type? If you ain't sure then re-add it and remember to choose Control Panel Stop Message as phrase type.
@PAWS - 1. Install the Update which I attached as txt file at this thread 2. Do this: In your forumroot/global.php Look for the whole code you've put in your global.php and REPLACE it with PHP Code:
@LauraFL - try to install the Update txt which I attached in this thread. |
No, I did not. somehow I missed those
the "phrase" is another SQL Query ? |
Take a look at the attachment see what I was talking about ;)
|
All times are GMT. The time now is 06:19 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:
|