How to add threads/posts icons?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry Lee
    New Member
    • Mar 2011
    • 12
    • 4.2.X

    [vB4] How to add threads/posts icons?

    I am hoping someone can tell me how to do this. I have tried searching for the answer myself to no avail.

    I want to add a graphic (see my attach) to the number of threads/posts.

    Any guidance much appreciated.

    In the attachments - one is mine (no image) and the other is his (with the image)

    Any help?
    Attached Files
  • BirdOPrey5
    Senior Member
    • Jul 2008
    • 9613
    • 5.6.3

    #2
    This would require manually editing the template to change it to show threads and posts next to each other and adding the images above each- this may not be so simple.

    To figure out which template it is, first turn on template names in HTML comments-

    Go to Admin CP -> Settings -> Options -> General Settings -> Add Template Name in HTML Comments -> Yes

    Then reload your page and view the HTML Source in your browser. Scroll down to the code corresponding to what you want to edit and look for the first comment above that place, it will be the name of the template you need to edit. Off-hand I believe it is one of the forumbit_ templates but not sure exactly which.

    If you need help with the code for actually doing the customization please ask on www.vbulletin.org.

    Comment

    • Jerry Lee
      New Member
      • Mar 2011
      • 12
      • 4.2.X

      #3
      Thank you for the reply.

      I was able to get figure out I need to use the forumhome_forumbit_level2_post to make the required change. I can get my image to appear, but it is out of alignment with the number.

      I'm also not sure if adding the image - like this -
      Code:
      <img src="http://www.mysite.com/forum/custom/site/thread.png">
      is the right way to do it - even tho the image does appear.

      I just have to figure out the alignment issue.

      Perhaps if I search for putting the posts/threads on the same line - I think I saw that somewhere? It should work?

      Thanks again for the pointer.

      /Jerry
      Attached Files

      Comment

      • BirdOPrey5
        Senior Member
        • Jul 2008
        • 9613
        • 5.6.3

        #4
        The only thing I would change about your <img> tag is to add an / at the end for proper xhtml and it is strongly suggested you have a border and alt text:

        Code:
        <img src="http://www.mysite.com/forum/custom/site/thread.png" border="0" alt="Icon" />

        Comment

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