Announcement

Collapse
No announcement yet.

How do I change when the reputation images change?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I change when the reputation images change?

    I dont see any options for setting when the reputation images change. I changed the rep levels and then they change, but the images do not coordinate with the varying ranks.

    Ideas?

  • #2
    Do you mean how many images show with x number of points? If so, this is hard-coded and requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
    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


    • #3
      There is actually a way to do this in the template. But it requires you to make an image for each rep level.
      So for example, for reputation image level 10, you would create an image that displayed all the pips you want to appear for level 10. Name the image 10.gif and put it in the /images/reputation/ folder. Repeat for each rep level.

      Then in your postbit template add this:
      HTML Code:
      <img src="$stylevar[imgdir_reputation]/$post[reputationlevelid].gif" alt="Total: $post[reputation] $vbphrase[reppower]: $post[reppower]" border="0">
      To make the alt text appear, you can just wrap the IMG tag in an <a> tag that links somewhere like thier profile.
      I did this template mod for the same reason. That and the rep pips are spaced too far apart even if you make the images smaller.

      Comment


      • #4
        Originally posted by Kyrnel View Post
        There is actually a way to do this in the template. But it requires you to make an image for each rep level.
        So for example, for reputation image level 10, you would create an image that displayed all the pips you want to appear for level 10. Name the image 10.gif and put it in the /images/reputation/ folder. Repeat for each rep level.

        Then in your postbit template add this:
        HTML Code:
        <img src="$stylevar[imgdir_reputation]/$post[reputationlevelid].gif" alt="Total: $post[reputation] $vbphrase[reppower]: $post[reppower]" border="0">
        To make the alt text appear, you can just wrap the IMG tag in an <a> tag that links somewhere like thier profile.
        I did this template mod for the same reason. That and the rep pips are spaced too far apart even if you make the images smaller.
        this sounds like something i wanna do. instead of green dots it was suggested to use a set of symbols, maybe ten, each one for certain levels of rep. is that possible?

        Comment


        • #5
          Sure, you can use any images you like. The basic concept is that you create a specific image for each reputation level. Then you name that image the same thing as the ID number for the corresponding level (you can see the ID numbers for each level in the Reputation Level Manager).
          The code above basically references 10.gif when a user has a reputation that falls into the level with the ID of 10. This gives you complete control over what appears at any level. You can have as many or as few levels as you want.
          The image can be anything you want. The main issue with this is that if you want a symbol to appear multiple times, then you need to create an image that symbol appears WITHIN multiple times. This template modification will not make a specific image appear multiple times.

          Im my case, I am using much smaller gems. I created the following transparent gif images for use on my site.
          2.gif -
          3.gif -
          5.gif -
          6.gif -
          10.gif -

          Just some examples. Good luck with it!

          Comment


          • #6
            How can we suggest that this stuff not be hardcoded in a future release? Seems kinda silly that it isn't now...

            Comment


            • #7
              Quick question - at what point will the one green dot change to two, three, etc.? I thought that they would change based on each rep level that I set but apparently I am wrong. Any help?

              Comment


              • #8
                These are one green dot per 100 reputation points.
                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


                • #9
                  Originally posted by Steve Machol View Post
                  These are one green dot per 100 reputation points.
                  Thanks. And if I read this thread correctly that is hardcoded into the software, it isn't a setting - correct?

                  Comment


                  • #10
                    Yes.
                    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

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