Stop users from adding rep to each other.. without disabling the rep bot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Distance
    Senior Member
    • Jul 2006
    • 143
    • 3.6.x

    Stop users from adding rep to each other.. without disabling the rep bot

    Hi i have got the thanks-hide hack where when a user clicks thanks it adds one rep point to the user whos post it was also showing the hidden content

    I want to keep this but i want to stop users from being able to add rep by clicking the button and apporving the post. How do i do this, or how do i remove the link to approve/disaprove someones post

    Josh
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Without disabling rep for that group? You can edit the postbit:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

    Find and remove this block of code:

    Code:
    			<if condition="$show['reputationlink']">
    				<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
    				<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>&nbsp;
    			</if>

    Comment

    • Distance
      Senior Member
      • Jul 2006
      • 143
      • 3.6.x

      #3
      Thanks, im now more advanced with vB but other users reading this thread, thats good but not brilliant advice

      Many custom modifications over on vbulletin.org in the template mods ask you to search for this to add other buttons etc


      Much better idea adding <!-- before and --> after this block of code, making it invisable to users but visable in the template mods

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Be careful not to nest HTML comment tags by way of commenting template variables which parse to other templates containing comments.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        😀
        😂
        🥰
        😘
        🤢
        😎
        😞
        😡
        👍
        👎