Chosen Usergroups can hide Reputation Power & Points from Postbit
What is this?
This is a small Template edit that lets you choose from the Usergroup Manger (AdminCP) which Usergroups you want to allow permission from their UserCP to hide Reputation Power from their Postbit. In green is the coding for Reputation Points, in case you want to add that into your Postbit. I've only tested this on vbulletin 4.2.3- Although it should work on all vBulletin 4.X.X products. This is how to globally enable/disable Rep Power/ Reputation for your postbit: Admin CP -> Settingss -> Options -> http://www.vbulletin.org/forum/attach/images/153279.jpg -> http://www.vbulletin.org/forum/attach/images/153280.jpg. => If disabled (not ticked), regardless of what users do, it will not appear in the Postibt. This is how to enable/disable chosen Usergroups the option to hide their Reputation via UserCP: AdminCP -> Usergroup -> http://www.vbulletin.org/forum/attach/images/153281.png -> http://www.vbulletin.org/forum/attach/images/153282.jpg -> http://www.vbulletin.org/forum/attach/images/153283.jpg => If disabled (No), that usergroup will always have their Reputation shown (if Reputation isn't globally disabled from AdminCP). Instructions Postbit or Postbit_Legacy Template (whichever one you use): AdminCP -> Styles & Templates -> Search Templates -> &d=1441250074 -> &d=1441250113 Note: If postbit_legacy doesn't work, search "&d=1441250113" which is &d=1441250113. Find: Code:
<vb:if condition="$show['infraction']"> <dt>{vb:rawphrase infractions}</dt> <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd> </vb:if> <vb:if condition="$show['reputation']"> <vb:if condition="$show['reppower']"> <dt>{vb:rawphrase reppower}</dt> <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd> </vb:if> </vb:if> </dl> </vb:if> Code:
<vb:if condition="$show['infraction']"> <dt>{vb:rawphrase infractions}</dt> <dd>{vb:raw post.warnings}/{vb:raw post.infractions} ({vb:raw post.ipoints})</dd> </vb:if> <vb:if condition="$post['showreputation']"> <vb:if condition="$show['reputation']"> <vb:if condition="$show['reppower']"> <dt>{vb:rawphrase reppower}</dt> <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd> <dt>{vb:rawphrase reputation}</dt> <dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputation}</dd> </vb:if> </vb:if> </vb:if> </dl> </vb:if> Red: The essential code that I added in, for this to all work. Note: Nothing else has been changed. If you have done custom edits before, then feel free to only add in the red and/or green parts only, into the correct positions. SAVE That's pretty much it http://www.vbulletin.org/forum/attach/images/153284.jpg - Users (if Usergroup has permission) can choose their preference. Note 2: If you want the same thing as my screenshot, then look at the post below- Step B. Download No files for download. Screenshots |
Similar Mods
Major Additions Reputation Points in USERCP | vBulletin 3.6 Template Modifications |