The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I've made social icons a part of my postbit_legacy so that users can list their favorite social networks or websites and have the icons appear in their posts.
I'm having some issues though. If a user is using an avatar, the icons show up in one location, and if the user is not using an avatar, it shows up in another. I CANT FIGURE IT OUT (ahem, excuse the outburst...) Here is where I've placed the code: In postbit_legacy - I found the code: HTML Code:
{vb:raw template_hook.postbit_userinfo_right}
<div class="imlinks">
{vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
</div>
HTML Code:
<vb:if condition="is_member_of($bbuserinfo, 2,5,6,7)"> <vb:if condition="$post['field6']"> <a href="{vb:raw post.field6}"> <img src="images/misc/facebook_icon.png" alt="My Facebook" style="border-style: none" target="_blank"/></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7)"> <vb:if condition="$post['field7']"> <a href="{vb:raw post.field7}"> <img src="images/misc/twitter_icon.png" alt="My Twitter" style="border-style: none" target="_blank"/></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7)"> <vb:if condition="$post['field8']"> <a href="{vb:raw post.field8}"> <img src="images/misc/myspace_icon.png" alt="My Myspace" style="border-style: none" target="_blank"/></a> </vb:if> </vb:if> |
|
#2
|
|||
|
|||
|
Move the icons inside the div.imlinks, not after.
|
|
#3
|
|||
|
|||
|
You're a hero, thank you
|
|
#4
|
|||
|
|||
|
I wish.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|