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 |
#72
|
||||
|
||||
Here is your answer and you said this yourself:
Duplicate column name 'banner' Means that when you tried to run the SQL commands it tried to installed a column called banner but it could not because there is one already there. |
#73
|
||||
|
||||
I have a problem. Baner prevents to use search.
Essence of a problem: having pressed a button SEARCH leaves panel search in which we hammer themes for search. Panel leaves here only for banerom. Any ideas? |
#74
|
|||
|
|||
It would be nice if there was something in the instructions that said that you had to go to into forum manager and then the options would be there for each forum. I couldn't find them, and then after a little bit of looking found them, but I shouldn't have had too.
|
#75
|
||||
|
||||
Quote:
It's up on my site for last 7 months. http://www.gzhq.net/forums/ |
#76
|
||||
|
||||
This hack has worked well for some time now at ENWorld, though we use it in the $header file to construct a forum specific logo. Our header looks like this...
Code:
<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"> <a href="$foruminfo[bannerlink]" target="_blank"> <img src="images/banner/$foruminfo[banner]" alt="$foruminfo[banner]" border="0" /> </a><else /> <if condition="$foruminfo['banner']"> <img src="images/banner/$foruminfo[banner]" alt="$foruminfo[banner]" border="0" /> <else /> <img src="images/banner/default.gif" border="0"> </if></if> |
#77
|
||||
|
||||
One small problem with the above comes with the popular VBAdvance CMPS hack. This hack doesn't set a forum, so the header falls to the default. In order that we "not" need to use a seperate header for the CMPS pages, the following code was put into our phpinclude_end file.
PHP Code:
|
#78
|
||||
|
||||
thank you
[high]* turbidblue clicks install [/high] |
#79
|
||||
|
||||
May I direct people to
https://vborg.vbsupport.ru/showthread.php?t=67942 where there is a fairly simple alternative allowing multiple rotating banners in specific forums? |
#80
|
|||
|
|||
i using vb 3.0.2 and nowt happened!
|
#81
|
||||
|
||||
Anyway to add a line break after this, cause it touches the top of subforums within the forums
Watson /me clicks install, thanks for this |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|