Quote:
Originally Posted by PiroX
i modified it a bit so that you also can enter your facebook username
Code:
<vb:if condition="$post['field27']">
<vb:if condition="is_numeric($post['field27'])">
<a href="http://www.facebook.com/profile.php?id={vb:raw post.field27}" target="_blank">
<vb:else />
<a href="http://www.facebook.com/{vb:raw post.field27}" target="_blank">
</vb:if>
<img width="18" height="17" alt="Fb" title="Facebook profile" border="0" src="http://www.yoursite.com/forum/images/misc/facebook.png" /></a>
</vb:if>
it works now with "Username" like www.facebook/test
|
A big high five for that addition!