The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add a banner image to each forum Details »» | |||||||||||||||||||||||||
Works on: VB3 RC3 - 3.1+
This modification will Add an image banner w/ link option per forum. This hack modifies/adds : 1 php file 2 templates 4 query / table field 4 added phrase *1.6 Update 12.18.05 Useage: This modification will Add an image banner w/ link Or paste in your own HTML code option per forum. These files can be any image. (png, jpg, gif, ect). This will be located after the $navbar on FORMDISPLAY. This images can be located on the localhost or on a remote server. Admincp -> Forums & Moderators -> Forum Manager -> Edit Forum -> Fill out the banner info. Banner Image - (location of image) Banner URL - (Link that you go to when u click the banner) Alt Tag (if you mouse over the banner; pop-up text) HTML Paste (added) You can also fill out the info when you make a new forum. NOTES: Changes: -------- 1.6 Banner shows up on each thread adds: 1 more template edit to the install *1.5 +Added HTML option *1.2 + Added Alt text for each banner(admincp) + Images no longer must be on the server You can use a local image off your webserver or use a image at another location. EX: /images/banner/someimage.jpg or http://www.yoursite.com/someimage.jpg *1.1 + Added option for image to have a link *1.0 + Image banner for every forum under the $navbar *// JAVA BANNER ROTATION FYI- I did some playing around took the <if></if> statement added to the ForumsDisplay template. You can insted place it in the header / footer template and it will show up also. VB3.5X ver https://vborg.vbsupport.ru/showthread.php?t=94119 Show Your Support
|
Comments |
#52
|
|||
|
|||
Hello.
The banner image doesn't appear in my forum, although I have followed all the steps you indicate. The new banner image is in the folder: ... mywebsite.de/images/banner/ ... Bernd Z. |
#53
|
|||
|
|||
Just a question.. so dont shoot
I like the assigned Banner... great hack Would it be possible so that we you can add a html code also? Its nice to have a banner then also add some information about the company.. like what they sell and so forth. Just a idea |
#54
|
||||
|
||||
Look folks, we seem to have lots of people wanting this and that included above specific forums.
I personally want one banner displayed at random from several and in addition some static HTML pages containing news read in and displayed. Let's do something which caters for everyone. Is this technically possible? How about we have one new field in the forum table called, say, 'topinclude'. This field is the url of a file. When the forum is displayed, the contents of this file are evaluated and displayed at the top. Could this file be a .php file? If so then we could all put whatever we want into this file and hey presto it gets displayed at the top. Can we do this? |
#55
|
|||
|
|||
I just couldn't figure out how to add more than one banners yet. Could someone break this down again, please?
So in fact 3 different banners at 3 different spots. Thanks! |
#56
|
|||
|
|||
You know to catter to them why not just add 2 fields? 1 for just the banner image name which is in $home/images/banner, then and advanced option to allow for HTML to be placed there instead. Then you guys can install some free banner rotating script (www.hotscripts.com).
If the basic field is empty ignre, if advnaced field is empty ignore. Just some suggestions, I will try and edit this for you guys! |
#57
|
|||
|
|||
I know this may be a stupid question but where do I add the banners? lol
|
#58
|
|||
|
|||
Quote:
|
#59
|
|||
|
|||
The correct Query is
Code:
ALTER TABLE `testing`.`forum` ADD `banner` VARCHAR(50) NOT NULL AFTER `description`, ADD `bannerlink` VARCHAR(250) NOT NULL AFTER `banner`; |
#60
|
|||
|
|||
This should not be limited to images only. Having "HTML" per forum would be a lot more functionable. Just my .02 rubbles.
Great hack. I will try it out. |
#61
|
||||
|
||||
I am working on some updates. Should have something by monday 05.24.04
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|