Back to vBulletin 4.x Template Modifications

Chosen Usergroups can hide Reputation Power & Points from Postbit
Mod Version: 2.00, by akz645

vB Version: 4.2.3 Rating: (2 votes - 5.00 average) Installs: 4
Released: 11 Aug 2015 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

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>
Replace with:
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>
Green: That's the code for reputation points to appear in your postbit. Don't add that, if you don't want to display it.
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

Click image for larger version
Name:	Show Reputation.png
Views:	78
Size:	9.3 KB
ID:	153277   Click image for larger version
Name:	Hide Reputation.png
Views:	74
Size:	8.4 KB
ID:	153278   Click image for larger version
Name:	Thread Display Options (showthread).jpg
Views:	51
Size:	44.1 KB
ID:	153279   Click image for larger version
Name:	Reputation Power (tick).jpg
Views:	47
Size:	106.6 KB
ID:	153280  

Click image for larger version
Name:	Usergroup Manager.png
Views:	34
Size:	5.1 KB
ID:	153281   Click image for larger version
Name:	[Select Usergroup] Go.jpg
Views:	45
Size:	24.5 KB
ID:	153282   Click image for larger version
Name:	Can Hide Reputation from Others.jpg
Views:	51
Size:	17.7 KB
ID:	153283   Click image for larger version
Name:	Go to settings (UserCP), General Settings.jpg
Views:	56
Size:	62.0 KB
ID:	153284  

Similar Mods

Major Additions Reputation Points in USERCP vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024