Custom Forum Icons

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Reece^B
    Senior Member
    • Jan 2006
    • 290
    • 3.6.x

    Custom Forum Icons

    Someone over @ vb.org said that it's now built into vB to be able to change the forum images.

    How can this be done?
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    Its done per forum, edit each forum and there is a prefix setting for custom images.

    Comment

    • Reece^B
      Senior Member
      • Jan 2006
      • 290
      • 3.6.x

      #3
      Right okay, however I add the 'prefix' but no image gets displayed.

      Comment

      • bbcentral
        New Member
        • Apr 2006
        • 1
        • 3.5.x

        #4
        Just figuring this one out myself now.

        First of all, here's the help section on custom forum image prefixes:
        The following images are currently in use for status icons, you will need to create images with the specified prefix to match.
        • forum_link.gif
        • forum_new.gif
        • forum_new_lock.gif
        • forum_old.gif
        • forum_old_lock.gif
        So every single custom forum icon is going to need 5 different variations (I'd probably just build some kind of template in photoshop and then replicate it multiple times, and splice the images).

        If your forum is called News, then your prefix could be news_.
        If the image originally being shown is forum_old.gif, then your forum will instead show news_forum_old.gif.

        The reason why the image didn't change for me when I put the prefix in was because I was missing the code in my custom style.

        It's located in two templates, in forumhome_forumbit_level1_post and forumhome_forumbit_level2_post.

        You're basically looking for this:
        Code:
        <img src="$stylevar[imgdir_statusicon]/[B]$forum[imageprefix][/B]forum_$forum[statusicon].gif"
        I was missing the part in bold:
        Code:
        <img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif"
        Add that to your two templates and it will work

        Comment

        • Zachery
          Former vBulletin Support
          • Jul 2002
          • 59097

          #5
          forum_link.gif would not be used too often.

          Comment

          • Reece^B
            Senior Member
            • Jan 2006
            • 290
            • 3.6.x

            #6
            I really can't get this to work, why can't you just type the location of the image, that will then be displayed?

            Comment

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