![]() |
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> |
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> |
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> |
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> |
Quote:
Quote:
Quote:
Quote:
https://vborg.vbsupport.ru/showthread.php?t=233432 ... it was already done for 4.x ;) |
Quote:
I have 3.8.6 is there special install for that? Sorry new to adding Badges and such |
Quote:
This was very helpful, thank you blaize :) |
BTW, I cut off "&ref=profile" from the code above to validate the code.
It seems to be working fine in the latest versions of all major browsers. |
All times are GMT. The time now is 09:36 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|