Log in

View Full Version : Adding Images to Individual Forums


MThornback
03-06-2006, 10:00 PM
This is compatable with 3.6, but depending on how modified your templates are...you may need to revert. (The Revert is for functionality in the stock vbulletin, its not related to this addon...to be clear)

Have you ever wanted to put a picture at the top of one of your forums? Above all the posts or between the sub forums and the posts? This is for you!

Example:

find $navbar

Add Below


<if condition="$foruminfo[forumid] == xx"><div style="text-align:center"><img src="http://yoursite.com/images/image.gif"></div></if>

where xx is the forum id :)

This can be used as many times as you feel like it...I'd use comment tags to keep it all orginized, but thats my own preference....I dunno if this will mess with queries per page ( I doubt it....but what do I know? :p) so if your worried about such things, and don't know either, ask around....I'll support if needed, but like everything i've released so far....its pretty basic.

If you like my lil' mod, click install!


1.00- Initial Release
1.01- Included recommended change from Freesteyelz (thank you for your input)

hbalagh1
03-07-2006, 03:00 AM
cool :) and wow i have the first post ;) i might have a use for this

Zia
03-07-2006, 03:43 AM
would u mind to provide screen shot?
umm confused its like the Easy forum icon?

MThornback
03-07-2006, 04:36 AM
would u mind to provide screen shot?
umm confused its like the Easy forum icon?

It didn't turn out so well....but the red on top is the Navbar, the red on the bottom is the sub-menu list and the white spot is where the image went between them...thats the result from the example code I gave you.

blacklancer
03-13-2006, 03:13 PM
cool. works good. i have a sponsor section and now they can have banners in their section.

Allpower-Doug
03-25-2006, 09:06 AM
I've been wondering if this could be done because I want to vary the pics on mine. Thanks!

R1D1
03-25-2006, 10:25 AM
any better screenshot or description? didn't get the plot by now... i may guess, what it does, but im not sure about...

hiiped
03-25-2006, 04:03 PM
could you give better description
better screenshots
and better directions ?

what do you mean
find $navbar ?

< I already knows what you meant " find $navbar " . but for the sake of regular citizens, give better directions >

MThornback
04-11-2006, 12:57 AM
Its the same direction thats in every hack i've ever used from this site :p but for the sake of it...

put $navbar into the search field at the bottom of the FORUMDISPLAY template, add the instructed code below it.

Freesteyelz
04-11-2006, 01:41 AM
Rather than using <center> may I suggest:


<div style="text-align:center">
Content here...
</div>

PennylessZ28
04-12-2006, 01:15 AM
Hurm, useful for more than just images.

MThornback
05-26-2007, 02:17 AM
Rather than using <center> may I suggest:


<div style="text-align:center">
Content here...
</div>


I didn't check back on this in awhile, lol...thank you for the idea....its included in today's update :)