Quote:
Originally Posted by silverfox_uw
That has worked, thanks.
The only problem that i now have, is that it shows at the bottom where the symbols use to be, so it pushes the size of the gamercard out of the postbit area. Can you tell me how to do it so that i can move the gamercard to be displayed directly underneath the avatar.
Thanks in advance
|
The postbit width in default vB4.0 style is smaller than gamercard actual size. but you can find postbit css class and resize it.
to using the gamercard underneath of avatar you need custom coding.
go to postbit_legacy template:
find:
Code:
<vb:if condition="$show['avatar']">
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
</a>
</vb:if>
add after:
Code:
<vb:if condition="$post['fieldX']">
<a class="postuseravatar">
<iframe src="http://gamercard.xbox.com/{vb:raw post.fieldX}.card" scrolling="no" frameBorder="0" height="140" width="204">{vb:raw post.fieldX}</iframe>
</a>
</vb:if>
change the '
X' with your xbox live field number!
note: this code in no way related to my mod and you can use it without any plugin.