PDA

View Full Version : How to Add Space Between Stacked User Ranks


BoostedK20
11-13-2012, 05:53 PM
Simple enough, but I have no idea how to do this. Check out this link on my forum, the user has 3 different ranks and they are stacked, but with no spaces between them. I'd like to add a 1-2 pixel space between. http://www.boostedk20.com/forums/showthread.php/473-What-Is-This-About?p=6825&viewfull=1#post6825

Also, I'd like to add a field so users can include their name above their 'posts' and underneath 'Join Date'

Stefan118
11-13-2012, 08:57 PM
1:
In your postbit_legacy template: find: span class="rank"
After loading the image there is a <br> tag.
You could put an other <br> tag behind it and it will add a space.

2:
I beleave this requirs a mod.

snakes1100
11-13-2012, 09:05 PM
Use proper code for vb4

<br />

2. Add a new text field

BoostedK20
11-14-2012, 04:34 PM
This is what I found, I added a <br /> but it didn't add any spaces. Can you show me where to insert it? <span class="usertitle">
{vb:raw post.usertitle}
</span>
<vb:if condition="$post['rank']">
<span class="rank">{vb:raw post.rank}</span>
</vb:if>
{vb:raw template_hook.postbit_userinfo_left}
<vb:if condition="$show['avatar']">

Also, snakes 1100, can you give me a walk through on how to add that field please? I'm not great at this all yet

BoostedK20
11-16-2012, 12:43 AM
BUMP

snakes1100
11-16-2012, 02:25 PM
<a href="http://www.yourdomain.com/vb/admincp/profilefield.php?do=add" target="_blank">http://www.yourdomain.com/vb/admincp...eld.php?do=add</a>

You can add a profile/text field there.

BoostedK20
11-18-2012, 10:56 PM
^ Added that, thank you. Now, how can I space out my user ranks? Other way didn't work.

BoostedK20
12-12-2012, 02:41 PM
Bump!