Version: 1.00, by UKBusinessLive
Developer Last Online: Feb 2012
Category: Forum Home Enhancements -
Version: 3.8.1
Rating:
Released: 03-11-2009
Last Update: Never
Installs: 111
Template Edits
Re-useable Code Translations
No support by the author.
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
How to install.
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 :up:
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.
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
by looking at your picture you'll want to move it down a bit more, Just add it down the code a bit further in the postbit template, not sure without looking at your postbit, but just move it down below the Yahoo icon, you'll see the code for it, just make sure its on a new line and not in the middle of a line of code
I want to install but where is the number on Facebook? Sorry I am really computer challenged when it comes to things like this.
below is what a normal profile page looks like in facebook, with the user id Colored red, thats the Url of the page when your logged onto your facebook profile.
The thing that makes this show up or not in the postbit, is the custom user field in the edit options of the users CP
When they enter there user number from their facebook profile in this profile field the code is complete, without this number the facebook logo is not shown.