1. Make a profile field
In Admin CP go to - User Profile Fields - Add New User Profile Field
Profile field type = Single-line text box
Title: Facebook Profile
Description: Type your Facebook ID number
You can leave the rest to default
**Note down the number of the field! Example: field16. You need to replace the fieldX in the next code with the number!**
2. Template changes - In postbit_lecacy & Postbit
Find:
After add:
3. Button Upload
Upload the attached image to your: /images/misc folder!
4.
Your members then just put their Facebook ID number in the profile field and it will link to their Facebook page.
In Admin CP go to - User Profile Fields - Add New User Profile Field
Profile field type = Single-line text box
Title: Facebook Profile
Description: Type your Facebook ID number
You can leave the rest to default
**Note down the number of the field! Example: field16. You need to replace the fieldX in the next code with the number!**
2. Template changes - In postbit_lecacy & Postbit
Find:
PHP:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
After add:
PHP:
<!-- Facebook display start -->
<if condition="$post[fieldX]"><a href="http://www.facebook.com/profile.php?id=$post[fieldX]" alt="View my Facebook" target="_blank">
<img src="images/misc/im_facebook.gif" border="0"></a>
</if><!-- Facebook display end -->
3. Button Upload
Upload the attached image to your: /images/misc folder!
4.
Your members then just put their Facebook ID number in the profile field and it will link to their Facebook page.