Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Chosen Usergroups can hide Reputation Power & Points from Postbit Details »
Chosen Usergroups can hide Reputation Power & Points from Postbit
Mod Version: 2.00, by akz645 (Designer) akz645 is offline
Developer Last Online: Jul 2017 I like it Show Printable Version Email this Page

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 -> Thread Display Options (showthread) -> Reputation Power (tick). => 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 -> Usergroup Manager -> [Select Usergroup] Go -> Can Hide Reputation from Others: Yes
=> 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 -> postbit_legacy [Pick your style too] -> postbit_legacy (edit)
Note: If postbit_legacy doesn't work, search "postbit" which is located below Postbit Templates.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Go to settings (UserCP), General Settings and go to 'Reputation Level:' - 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 Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	Show Reputation.png
Views:	68
Size:	9.3 KB
ID:	153277   Click image for larger version

Name:	Hide Reputation.png
Views:	66
Size:	8.4 KB
ID:	153278   Click image for larger version

Name:	Thread Display Options (showthread).jpg
Views:	43
Size:	44.1 KB
ID:	153279   Click image for larger version

Name:	Reputation Power (tick).jpg
Views:	37
Size:	106.6 KB
ID:	153280  

Click image for larger version

Name:	Usergroup Manager.png
Views:	28
Size:	5.1 KB
ID:	153281   Click image for larger version

Name:	[Select Usergroup] Go.jpg
Views:	39
Size:	24.5 KB
ID:	153282   Click image for larger version

Name:	Can Hide Reputation from Others.jpg
Views:	45
Size:	17.7 KB
ID:	153283   Click image for larger version

Name:	Go to settings (UserCP), General Settings.jpg
Views:	50
Size:	62.0 KB
ID:	153284  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions Reputation Points in USERCP Raei vBulletin 3.6 Template Modifications 7 01 Jul 2008 11:31

Comments
  #2  
Old 11 Aug 2015, 17:50
akz645 akz645 is offline
 
Join Date: Jul 2015
Pick between:
  • Step A -> If you want to hide the reputation bar (green/empty)
  • Step B -> If you want to hide the reputation bar (green/empty) & relocate it's position below Rep Power & Reputation

Postbit or Postbit_Legacy Template (whichever one you use):
AdminCP -> Styles & Templates -> Search Templates -> postbit_legacy [Pick your style too] -> postbit_legacy (edit)
Note: If postbit_legacy doesn't work, search "postbit" which is located below Postbit Templates.

Step A:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Red: The essential code that I added in, for this to all work.

That's it

Step B:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

^Delete all of that
+
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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.
Blue: I just moved the deleted code over here.
Red: The end IF condition, for the change done in the first/original post.

That's it

------------------------------------------------------------------------------------------------------------------------------------------------------

If you want to force X Usergroups/Users Display Reputation On/Off from their profile, then check out my guide here:
http://www.vbulletin.org/forum/showt...58#post2555258

If you don't give them permission to Hide Reputation from Others, then whatever you want will stay permanently, until you/another admin decides otherwise.

Last edited by akz645; 19 Sep 2015 at 01:51.
Reply With Quote
  #3  
Old 03 Sep 2015, 02:31
akz645 akz645 is offline
 
Join Date: Jul 2015
"Mark as Installed" if you did this Template edit and/or just found this thread useful.


Note:
I don't know too much about html coding. However if you're unsure about postbit_legacy template edits, or require additional help regarding that, I think I should be able to help.

-------

Change Log:
v1.00 = Create a custom User Profile Field to add/remove reputation power/points from the postbit.
v2.00 = No longer need to create a custom User Profile Field. You can use vbulletin's built in Show/Hide Reputation from the UserCP.

Last edited by akz645; 19 Sep 2015 at 18:06.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:52.

Layout Options | Width: Wide Color: