Quote:
Originally Posted by sdfontanini
I also noticed the </a> was missing, wasted about 20 min figuring it out. :-) LOL
Here's the code for VB 4
<vb:if condition="$post['field25']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field25]&ref=profile">
<img src="http://www.yoursite.com/forums/images/misc/fb.bmp"></a>
</vb:if>
|
Quote:
Originally Posted by sdfontanini
here's another modification to the vb 4 version, where i have made the ID code appear on hover
<vb:if condition="$post['field25']">
<a href="http://www.facebook.com/home.php/#/profile.php?id=$post[field25]&ref=profile">
<img alt="{vb:raw post.field25}" border="0" src="http://www.coloradoevo.com/forums/images/misc/fb.bmp"></a>
</vb:if>
|
Quote:
Originally Posted by sdfontanini
Last but not least I fixed all the issues with the coding. this was a real pain, here's the new vb 4 version. it directly links to your friends facebook accounts
<vb:if condition="$post['field25']">
<a href="http://www.facebook.com/profile.php?id={vb:raw post.field25}">
<img alt="My Profile" border="1" src="http://www.yourforum.com/forums/images/misc/fb.bmp"></a>
</vb:if>
|
Quote:
Originally Posted by sdfontanini
finally one more, this one opens the links in a new page
<vb:if condition="$post['field25']">
<a href="http://www.facebook.com/profile.php?id={vb:raw post.field25}" target="_blank">
<img alt="Facebook Profile" border="1" src="http://www.yoursite.com/forums/images/misc/fb.bmp"></a>
</vb:if>
|
Similar here:
https://vborg.vbsupport.ru/showthread.php?t=233432
... it was already done for 4.x