Image attached to user titles?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • christmas
    Member
    • Sep 2007
    • 54

    Image attached to user titles?

    Hi,

    I like to add images to "user titles", so people gets a new little picture next to avatar when they change "titlename" after lets say 50+ posts, 150+ posts etc. I do not see any picture upload options under "user titles" in admin.

    Can I use "user ranks" for this and how to do it? Do I need a mod?

    Thanks
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    User Ranks is thew best way to do that. Here is the online documentation for User Ranks:

    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • christmas
      Member
      • Sep 2007
      • 54

      #3
      Hi,

      I have now made custom pictures for ranking, so forummembers will get a new rank-pictures after x posts. Its great, but now I like the rankpicture to be clickable and send people to an URL.

      Any know how?

      Comment

      • Floris
        Senior Member
        • Dec 2001
        • 37767

        #4
        You have to edit the postbit template and add custom xhtml/css code around the variable that displays the images.

        Comment

        • christmas
          Member
          • Sep 2007
          • 54

          #5
          Thanks,

          I found this in postbit template:

          ----

          <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
          <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
          $template_hook[postbit_userinfo_left]

          ----

          Is this the right place and now how to add link to the rank picture?

          Comment

          • peterska2
            Senior Member
            • Oct 2003
            • 8869
            • 3.7.x

            #6
            Depending on the total length of the HTML for the link and the image, you can use the Text Field instead of the Image Path field for the user rank and add the full HTML for the link and image eg

            <a href="http://www.vbulletin.com/forum"><img src="path/to/some/image.gif" /></a>

            This then does not require any template editing.

            Comment

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