Announcement

Collapse
No announcement yet.

Reputation on a per forum basis

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

  • Reputation on a per forum basis

    I'd like to turn reputation on for my forums. However, at least to start, I don't want users to be able to give each other rep in the misc forums I have. I've looked around quite a bit, and am assuming I've just missed this - but after turning rep on for the whole forums, how do you turn reputation off for a specific forum?

  • #2
    You can do this using conditionals....

    <if condition="$foruminfo[forumid] === XXX>&nbsp;<else />show rep stuff</if>
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      Ahh... so it's not built-in? May I suggest this as an on/off feature for forums for a future version?

      Thanx for your help, I'll go set up my if = this or = that or = that and so on statement

      Comment


      • #4
        Is it possible to make it so that only Mods or admins can give out Reputation?

        Comment


        • #5
          That is currently not a feature.
          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


          • #6
            OK, thanks. Maybe in the future then.

            Comment


            • #7
              Originally posted by Wayne Luke
              You can do this using conditionals....

              <if condition="$foruminfo[forumid] === XXX>&nbsp;<else />show rep stuff</if>
              So I found this in the postbit template:
              Code:
              <if condition="$show['reputationlink']">
              <a href="#" onclick="return reputation($post[postid])">
              <img src="$stylevar[imgdir_button]/reputation.gif" border="0"
               alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" />
              </a>
              </if>
              (edited spacing to fit nicely)

              How would I do a multiple condition, let's say I want to check to see if should:
              show the rep link AND (forumid = 5 OR forumid = 6 OR forumid = 8)

              Sorry, I'm just not familiar with the syntax and would love an example before I changed it. Thanx!

              Comment

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