PDA

View Full Version : Insert images into Forum


Guz
08-13-2001, 03:17 PM
Is there a hack that would insert an image in the each seperate forum just above the threads area? I am running a vbboard for the major label band Tantric and would like each forum for the individual band member to include an image just above threads area and I had posted this somewhere else and received a reply that someone was working on a hack for it and to look thru the hacks forum. I did that and didn't see anything but, could have missed it somewhere.

Thank You.

chilliboy
08-13-2001, 03:36 PM
If I'm correct in what you are getting at, you don't need a hack for this - you just need to edit the templates. If your looking to get the image above the list of threads then you should look at the 'navbar' template.

Guz
08-13-2001, 06:23 PM
Thanks for your reply chilliboy. I as well need each forum to have it's own picture. I obviously am a major newbie here and now have found myself asking for help in the wrong forum for which I apologize. I went into the navbar template and insterted my image and it put it in globally. I am trying to have a different image within each band members forum just above the threads.
How do I go about a different image for each forum?

I'm so sorry this got in the wrong place. I was pointed in this direction by another vb member here.

Thanks.

Admin
08-14-2001, 02:57 AM
Do you want something like SitePoint (http://www.sitepointforum.com) has?
That's not very hard, but first tell me if that's what you're looking for. :)

Guz
08-14-2001, 02:03 PM
Yes that is what I want the look to be like without all the text near the image. Tho I would like the image to be different for each forum. Tantric Board (http://www.tantriczen.com/forums) is the board I am working on. You will see there is a forum for Jesse, Joey, Todd, Matt, & Hugo..... I would like their individual picture inserted just above the thread.

I did take the advice above and inserted an image within the navbar template and it put it on every page. Is there somewhere else that the image can be inserted so that it doesn't show in every forum.

Thanks so much for your time.

Admin
08-14-2001, 03:12 PM
Alright. You can use the forumid to display an image.
Use this code
<img src="$forum[forumid].gif">
on the template forumdisplay_forumbit_level1_post. That way, for a forum with ID 44, it will display 44.gif.

Hope you understand, tell me if you don't. :)

Guz
08-14-2001, 10:16 PM
The only thing I don't understand is how I know what number my forums are. And does this line of code just go at the end of the forumdisplay_forumbit_level1_post code? I found code in there that looked like this --> "$forum[forumid].gif"> is that where I adjust this?

I want this image within the forum. So if I click on the Jesse Vest forum and go in see all the threads the image will be right above the threads. I don't want it on the main forum page listing all of the forums. Just wanted to be sure I clairified myself.

Thanks

Steve Machol
08-15-2001, 12:23 AM
You can find the forumid by going into the Admin CP Forum and Moderator section and placing your cursor over the 'edit' link of the forum in question. The forumid will show up in the URL locator.

Admin
08-15-2001, 06:05 AM
I understood you wrong then, Guz.
For that, you will need to add
<img src="{imagesfolder}/$forumid.gif" border="0">
In your forumdisplay template, right above $forumdisplay[forumslist].
:)

Guz
08-15-2001, 04:55 PM
I want to thank you so much for your help Firefly!

It worked out great! Just what I wanted. Now I just need to move it over a little so it isn't right to the left of the page. Need to line it up with the edge of the thread list.

Now I am off to getting images up. Thank You again for your patience with me. :)

Admin
08-15-2001, 05:26 PM
Anytime. :)