Custom User Rank Box in Posts
This mod will allow you to create a custom box around your member's user rank images or text under their avatar in posts.
This is done via one simple template edit and a couple CSS entries in your additional.css file. Step 1 - In your Postbit_legacy template via > style manager > edit templates > Postbit Templates Find: Code:
<vb:if condition="$post['rank']"> Code:
<div class="badgesbox"> <div class="badgesboxlabel"> <center> <u><b> <font color="black"> {vb:raw post.username}'s Badges </font> </b></u> </center> </div> Code:
<span class="rank">{vb:raw post.rank}</span> Code:
</div> At the very BOTTOM add: Code:
.badgesbox { padding-left:4px; padding-top:1px; padding-bottom:4px; margin-right:21px; margin-bottom:2px; background-color:#ccc; } .badgesboxlabel { padding-bottom:5px; } margin-right:21px; value to adjust the box to the correct position. Also you can change background-color:#ccc; to whatever color you want the box background color to be. Just a little way to give some more attention to your members who have various achievements or paid subscriptions you have user-rank badges for. Check out my other Template Modifications for 4.x! [Postbit-Legacy Hack] Attractive User Info Boxes for Posts http://www.vbulletin.org/forum/showthread.php?p=2393460 Sidebar Anywhere Enhancement - Custom Blocks Per Forum or Page Change Thread Title Color for Specific Forums on Homepage Change Background Color for Specific Forums on Homepage Change Title Color of Specific Forums on Homepage Thread Starter Image in Postbit for OP CUSTOM BUTTONS that look like your forum! Download No files for download. |
Similar Mods
Statistics Modifications User Rank by Posts | vBulletin 3.6 Add-ons |
Custom Rank Image for each User | vBulletin 3.5 Add-ons |