![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
UKBL ~ FaceBook profile link on Postbit
![]() Developer Last Online: Feb 2012 ![]() ![]() ![]()
UKBL ~ FaceBook profile link on Postbit ~ Clickable !! Member on Facebook? Show other members that you have a Facebook presance by adding a facebook Icon to your postbit" ![]() This is a cool hack which will let your members add a facebook Icon to their Postbit template, They need to add their facebook Profile user ID in their user CPfor this to show, If they don't enter one, then the badge don't show ![]() ![]() ![]() Its really easy to do, as always, so if your sitting comfortably, lets begin ![]() Now we need to create a User Custome field, so..... AdminCP and add a custom field > User Profile fields > Add New User Profile Field Title = Facebook user ID Description = Enter the Number ID from your Facebook User Profile Default Value = Leave empty Max length of allowed user input = 12 Display Size = 10 Display Order = 10 or 15 Field Required = No as default Field Editable by User = Yes in case member wants to delete, Later Private Field = No Field Searchable on Members List = No Show on Members List = Yes Regular Expression = leave empty Save the field ![]() Once you've saved you can see what the field number is, So lets say its Field11 for example, Remember this as will need it for your Postbit Edits ![]() Thats the first bit done, now Part Two ![]() Go to the template you are using in Styles & Templates/Style Manager, and select Edit templates. Go to "postbit templates" and select the template you are using, either postbit or postbit_legacy. Find the following
Directly above it add
replace the RED Field attribute for your own now when members sign up their facebook badge and enter their profile user ID into the "Enter the Number ID from your Facebook User Profile" section in their UserCP, The Badge will automatically appear in their Postbit ![]() Don't forget to change the usergroup condition with the number of the usergroups that you want to be able to view this
That means that guests and banned users will not be able to view members facebook profile urls ![]() Members who do not add a user id will not be shown anything. Next, Upload the facebook icon to your forums/images/misc folder and add the full url to the part in the code which shows the image. if you are just seeing a red cross on your postbit, then its because your image url is not right ![]() Oh Forgot to say, Badge is fully clickable so members can click directly to facebook ![]() Hope you enjoyed this new hack, and thanks to DobieGillis© for the idea ![]() Please Click Installed and I'll support you 100% Thanks Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Mini Mods MySpace & FaceBook buttons in member profile and postbit | ChU v2 | vBulletin 3.6 Template Modifications | 74 | 24 Jan 2011 05:57 |
End-User Options UKBL ~ Selling on Ebay Link in Postbit | UKBusinessLive | vBulletin 3.8 Template Modifications | 18 | 15 Feb 2010 11:21 |
End-User Options UKBL ~ Selling on Ebay Link in Postbit | UKBusinessLive | vBulletin 3.7 Template Modifications | 10 | 21 May 2009 09:28 |
End-User Options UKBL ~ Selling on Ebay Link in Postbit | UKBusinessLive | vBulletin 3.6 Template Modifications | 1 | 15 Feb 2009 13:09 |
#61
|
|||
|
|||
now that facebook has released vanity usernames, can this be modified to include either the profile number or the profile name ...
If it's too complicated to make this happen automatically (if the user enters a number then the coding becomes different and if he enters a username the code automatically changes) then can there be an option to do this with the use of 2 text boxes ? I'd love to install this as I've also integrated Facebook connect but can't till the time both type of facebook users (with profile ID and with usernames) are able to get correct URLs ... No members have liked this post.
|
#62
|
|||
|
|||
^^
I am facing a problem as to how to retrieve the Facebook IDs as they have changed their model to vanity URL. Hope UKBL will come up with a solution to this.. !! No members have liked this post.
|
#63
|
|||
|
|||
nice one simply rocks
![]() No members have liked this post.
|
#64
|
||||
|
||||
I solved with a simply mod to it... No members have liked this post.
|
#66
|
|||
|
|||
I worked around the new vanity url issue by creating two custom fields, one for numerical id and one for users with vanity urls.
This is the code I used for the postbit template edits. Change fields XX & YY to whatever your custom fields are.
The first is for the numerical id & the second is used if the facebook profile uses a vanity url. No members have liked this post.
Last edited by blaize; 27 Oct 2009 at 01:14. Reason: clarification |
#67
|
|||
|
|||
Been playing around with this trying to get it to work in VB 4.0, obviously it needs to be recoded as it doesn't work, anyway its a cool little hack and would love to have it on my forum again.
Thanks No members have liked this post.
|
#68
|
|||
|
|||
I noticed when I set it up to use the vanity names you must include "?ref=nf" after you fill your vanity name in the user details field.
Is there a way around this so you can just enter your vanity name? No members have liked this post.
|
#69
|
|||
|
|||
For now I just added "?ref=nf" into the address on the style manager template and it seems to be working with only adding the custom Facebook URL in the details field.
No members have liked this post.
Last edited by greenbuildpost; 19 Nov 2009 at 14:21. |
#70
|
|||
|
|||
Great mod !!
I just think my forum members won't find easy to find the facebook member number (most don't understand this kind of stuff). Is there any way of associate their email with their member number, in order to fill out that field automatically? Maybe i'm asking for something impossible ![]() No members have liked this post.
|
#71
|
||||
|
||||
Is there a way so people can input their facebook IDor their screen name? Remember that now with FB you can have your own profile URL like: facebook.com/cobraws
I mean, Like a conditional field or something, you can enter the numerical ID or just the screen name ID. Cya!
__________________
cobraws No members have liked this post.
|
#72
|
||||
|
||||
Originally Posted by greenbuildpost
You figured this out see below and nice job ![]()
![]()
Originally Posted by taffy056
Send me a PM, I will update this but you cannot re-release it I want to wait for UKBL to re-release for 4.0 and he's busy in real life atm.![]()
There are some others FB mods out for 4.0 some similar some different sorta check them out and or look for more ![]() http://www.vbulletin.org/forum/showthread.php?t=228610 http://www.vbulletin.org/forum/showthread.php?t=229686
Originally Posted by greenbuildpost
![]()
![]()
Originally Posted by GTX2
When you create the profile field in admincp... the "Description area" allows you to enter in html ![]()
![]()
With an image and the number or vanity named circled in red ahh be creative ![]() ![]()
Originally Posted by COBRAws
Do what greenbuildpost did by tinkering with the codes and check your url's of friends who have and have not done this to see how to change the code ![]()
![]() Mike
__________________
Daddy Does Dios and Figs! https://www.linkedin.com/in/thelastsuperman Search - Use the search feature to find similar issues/answers. Information - Include screenshots, copy/pasted error codes, url etc. Fixed - Please return to your thread/post and let us know how it was fixed! Thanks - For participating! Click the "Like" ♥ on a post if someone helped you! No members have liked this post.
|
#74
|
|||
|
|||
Originally Posted by TheLastSuperman
That's great Mike, only just seen your post about this, sent you a PM in regards to it, thank you very much ![]()
![]() No members have liked this post.
|
#75
|
||||
|
||||
Installed! Excellent idea! Thank you!
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 14:35.