Adding Social Networking Fieldset to User's Postbit
In the Postbit Legacy Template:
Find:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
Add After:
Code:
<if condition="$post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX'] OR $post['fieldXX']">
<!--Social Networking-->
<div class="smallfont" align="left">
<fieldset><legend>Social Networking</legend>
<if condition="$post['fieldXX']">
<a href="http://www.myspace.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/myspace.gif"border="0"alt="View Member's Myspace Profile"></a>
</if>
<if condition="$post['fieldXX']">
<a href="http://www.facebook.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/facebook.gif"border="0"alt="View Member's FaceBook Profile"></a>
</if>
<if condition="$post['fieldXX']">
<a href="http://youtube.com/user/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/youtube.gif"border="0"alt="View Member's YouTube Profile"></a>
</if>
<if condition="$post['fieldXX']">
<a href="http://myworld.ebay.com/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/ebay.gif"border="0"alt="View Member's eBay Profile">
</if>
<if condition="$post['fieldXX']">
<a href="http://live.xbox.com/member/$post[fieldXX]"target="_blank"><img src="$stylevar[imgdir_misc]/xbox.gif"border="0"alt="View Member's Xbox Profile"></a>
</if>
</fieldset>
</div>
<!--/Social Networking-->
</if>
Replace all the XX's with the correct field numbers and delete the sites you don't have Profile fields for.