View Full Version : stacking rank help
psilocybin1
05-31-2009, 10:19 PM
i have rank stacked set to yes in the user rank acp...i have reset counters..the image and rank are still beside my avatar..shouldnt it be underneath? am i missing a setting?
HMBeaty
05-31-2009, 10:21 PM
"Rank stacking" means pretty much just as it says. I think I know what you're thinking its supposed to do, but no. If you rank stacking enabled, usually you have 2 rank images displayed as:
"Rank image 1"
"Rank image 2"
versus:
"Rank image 1" "Rank image 2"
psilocybin1
05-31-2009, 11:01 PM
ah ok, thanks for the info...is there anyway to get the ranks underneath the avatar?
HMBeaty
05-31-2009, 11:04 PM
Sure, are you using the default or custom vbulletin style?
psilocybin1
05-31-2009, 11:05 PM
custom...its the tech style
HMBeaty
05-31-2009, 11:37 PM
Personally, I would have to have a look at your postbit templates in order to tell you for a custom style. I don't want to tell you something and end up screwing up your layout
psilocybin1
05-31-2009, 11:47 PM
i have it backed up ..let me know how you think it can be done, and ill try it and restore my style if it doesnt work out
HMBeaty
05-31-2009, 11:50 PM
I'm sorry, one more thing, is this the postbit or postbit legacy you're trying to do this in?
--------------- Added 31 May 2009 at 20:57 ---------------
Either way, it should be fairly similar. Anyway, in postbit/postbit_legacy, find and delete:
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
And replace:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>
With:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a><if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if></td></if>
psilocybin1
06-01-2009, 12:43 AM
k thanks...ill try it tomorrow and post back with my results...thanks for your help
HMBeaty
06-01-2009, 12:59 AM
No problem
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.