vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Insert images into Forum (https://vborg.vbsupport.ru/showthread.php?t=25281)

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 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 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
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
Code:

<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. :)


All times are GMT. The time now is 06:24 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
  • Page Generation 0.01825 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete