Individual pictures inside sub-forums?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vishalsachar
    Senior Member
    • Jun 2004
    • 126
    • 3.0.1

    Individual pictures inside sub-forums?

    Hi,

    I need a facility whereby, upon click a forum - say general chat, a photo appears on the top. Then going into another forum, for example, motors, a car image should come up.

    I can get pictures in the forum display (via adding html to the description), but I know there is a way to do what i want.

    Can someone help?
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    You can use code like this in the FORUMDISPLAY template:

    Code:
    <img src="[color=red]path/to/[/color]image_$forumid.gif" alt="" border="0" />
    Change the path appropriately. Then upload your images to that directory using this naming scheme:

    Code:
    image_<forumid>.gif
    For example, if you want an image to show in forumid 3, then its image would be named:

    Code:
    image_3.gif
    That should work.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...