The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
UKBL ~ FaceBook profile link in Postbit ~ Clickable !! Details »» | ||||||||||||||||||||||||
UKBL ~ FaceBook profile link in Postbit ~ Clickable !!
Developer Last Online: Oct 2023
This is a super simple template edit that will allow your members to share their Facebook Profile with others .
You simply create a new user profile field and make one template edit and then your members do the rest and your all set! Full Credit for this mod goes to UKBL, requested by taffy056 for use with vBulletin 4.0 Series here: https://vborg.vbsupport.ru/showthread.php?p=1929367 And via PM to me I did not realize UKBL had stated "Re-Usable" Code or I would have released this sooner However again I must make it clear that full credit goes to UKBL and per his thread the idea was presented to him by DobieGillis. You can add your own links to postbit by following this same method just redoing the code snippets a bit so in essence you can have Facebook, Twitter, Myspace, LinkedIn and many more just by playing with the code a bit . Screenshots are in UKBL's original thread and I just tested and verified this to be working on a 4.0.1 forum however it should be perfectly usable on any 4.0.x series. Please refer to the Install.txt file in the .zip for instructions on how to add this to your forum and Enjoy! Sincerely, TheLastSuperman Download Now
Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
This is a very simple mod but has been made very hard by the way the instruction have been written, they need to be writtin in the standard mod form. Heres some more if anyone wants them, Facebook - Twitter - Youtube - My Space - Car Domain Just add a new profile field as per this mod for each one, then change the profile fields XX below to match, save the images at the bottom of this post to your forum/images/misc folder - anyone who has done the mod above will get the drift Code:
<vb:if condition="is_member_of($bbuserinfo, 2,5,6,7,10)"> <vb:if condition="$post['fieldXX']"> <a href="http://www.facebook.com/home.php/#/profile.php?id={vb:raw post.fieldXX}&ref=profile" target="_blank"/> <img src="images/misc/facebook.png" alt="My Facebook" style="border-style: none" ></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7,10)"> <vb:if condition="$post['fieldXX']"> <a href="http://twitter.com/{vb:raw post.fieldXX}" target="_blank"/> <img src="images/misc/twitter.png" alt="My Twitter" style="border-style: none" ></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7,10)"> <vb:if condition="$post['fieldXX']"> <a href="http://www.youtube.com/{vb:raw post.fieldXX}" target="_blank"/> <img src="images/misc/youtube.gif" alt="My Youtube" style="border-style: none" ></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7,10)"> <vb:if condition="$post['fieldXX']"> <a href="http://www.myspace.com/{vb:raw post.fieldXX}" target="_blank"/> <img src="images/misc/myspace.gif" alt="My Space" style="border-style: none" ></a> </vb:if> </vb:if> <vb:if condition="is_member_of($bbuserinfo, 2,5,6,7,10)"> <vb:if condition="$post['fieldXX']"> <a href="http://www.cardomain.com/ride/{vb:raw post.fieldXX}" target="_blank"/> <img src="images/misc/cardomain.gif" alt="My Car Domain" style="border-style: none" ></a> </vb:if> </vb:if> |
#23
|
|||
|
|||
I added works great ... I had to do some tweaking though to meet the style I wanted.. I added Facebook, Twitter, YouTube, FriendFeed, and ArticleProductions (my own site has user profiles).
James |
#24
|
|||
|
|||
This is still working great thanks
But got a question about the code abqtj posted that is in post 2, I would like to force my users to place their facebook id, so that means that if they supply it in one field they don't need it in the other, but the fields don't appear to work in that way, is there some way to do this ? Thanks |
#25
|
||||
|
||||
Quote:
So use the top or bottom half only, the bottom will display the vanity name if you wish. |
#26
|
||||
|
||||
I installed this mod and it does work, but it isn't inline with the yahoo and aol icons...
any idea on how to fix it? thanks. *EDIT-nevermind I placed the code after the </div> and that was messing it up...it's fixed now. thanks. |
#27
|
||||
|
||||
Great Mod, but I'm having alignment problems as well.
One profile it shows up exactly where I want it (Sombeech) but on another (and there have been a few others) it shows up right next to the avatar. The one difference is the "BigShot" badge under the avatar. How can I make the fb image appear under all of that, and next to where the others would be, say Yahoo IM? I've got a shot of my settings, and the edit to my postbit_legacy template. I'd love to get this fixed. Thanks. |
#28
|
||||
|
||||
Quote:
|
#29
|
||||
|
||||
Quote:
YES! Awesome, thanks. That did it. |
#30
|
||||
|
||||
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> |
#31
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|