← Back to vBulletin 3.8 Template Modifications

Status of PHP 8.5 support: Possible. Open Contacts for details.

User's Ranks Display
Mod Version: 1.00, by Tasking Mickey

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 2
Released: 22 Apr 2011 Last Update: Never Downloads: 0
Not Supported Template Edits  

Before I do anything with this template mod, I wanted to thank BOP5, (Bird0Prey5) for allowing me to use his code he gave me, and allowing me to share it with the rest of you guys, all credit is going to him.

Ever wonder on postbits, right under the user's name, it shows their ranks? Sometimes it can be annoying to some users, such as me, and I have gotten help on how to disable it via 'Edit Options"

== INSTALL ==

1.
Navigate over to ACP - User Profile Fields - Add new Profile Fields - Single Selection Menu

2. Put these following settings,

PHP Code:
 Title: User's Ranks Displayment
    Description : Choose this option, if you want to show user'
s ranks on postbit or if you do want to see them, and it hides them, but not from profiles.
   
Options: Yes
                No
    Set 
Default: Yes, but no blank option
    Field Required 
: No
    Field Editable by User 
: Yes
    
Private Field: No
    Field Searchable on Members 
List : No
    Show on Members 
List : No
    Which page displays this option
? : Options: Thread Viewing 
3. Now, once you've done that, head over to ACP - Style Manager - (Your Style) - Edit Templates - postbit

Find where it says:

PHP Code:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if> 
Replace with this:
PHP Code:
<if condition="$post['rank'] AND $bbuserinfo['fieldxx'] != 'No' "><div class="smallfont">$post[rank]</div></if> 
Replace the XX with the User's Ranks Displayment profile field number.

4. Your all set and ready to go!

== NOTES ==

This allows any user to not display the ranks via postbit, however, the ranks will always show within the profile, this is just the postbit.
User's will always have the ability to re-show them again, this time going to UserCP - Edit Options, finding the option, and putting "Yes" and the ranks would show up on the postbits again.

Enjoy everybody!

Download

No files for download.

Screenshots

Click image for larger version
Name:	Ranks.JPG
Views:	537
Size:	50.5 KB
ID:	128389  


vblts.ru supports vBulletin®, 2022-2025