![]() |
Forum Images next to the Description for every Forum
What this hack does:
This hack adds an image next to every forum description for every forum you want. Installation: in Template forumhome_forumbit_level2_post find: Code:
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> and replace it with: Code:
<if condition="$show['forumdescription']"> Code:
/* Forum Images next to the Description for every Forum */ Code:
/* Forum Images next to the Description for every Forum */ Now you simply need to create images called: ForumID.png for each forum you want to have an image and put it into /images/statusicon/ Example: 22.png DEMO: http://www.elternfragen.net Hope you like it StarBuG ps: As far as I can remember Andreas gave me the tip how to do it. So all credit goes to him. |
Edit:
Ok Ive had a chance to look it over and I think it has a lot of potential, but my problem with it is that it does not stay in the area as the text, rather it sits below it extending the tables vertically which makes the forum much more bulky. Heres and example of what I mean: https://vborg.vbsupport.ru/external/2007/03/5.jpg Now if there was any way to make this float right without interfering with the tables I think it would be great. I hope you are able to mix it up a bit! |
if we could perfect this, id be very interested
|
Thanks....
|
What do you mean by interfering with the table?
It does exactly what it should do. It places an image next to the forum description. If it makes your table higher then you need to resize your image. You could add the code next to the forum title to reduce a little of the hight but that's it ;) StarBuG |
Quote:
|
Quote:
What I was hoping for was something that would float right of both the description and the forum title - is that at all possible with what you've got? Right now its strictly designed for forum description which is great but for forums with small descriptions it leaves a lot of whitespace. |
Any support for this?
|
Not sure why you would need to define the CSS....I just added:
Code:
<span><img src="$stylevar[imgdir_statusicon]/$forum[forumid].gif" border="0" align="left"></span> Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span width="100"><img src="$stylevar[imgdir_statusicon]/$forum[forumid].gif" border="0" align="right"></span><strong>$forum[title]</strong></a> DEMO: www.palmettostaterivals.com |
Of course it is possible without css but you have more controll regarding spacing ;)
|
All times are GMT. The time now is 01:29 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:
|