![]() |
Facebook button in postbit
I couldn't find this anywhere else so I made my own using Bratz-Designs Myspace mod as a start.
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: Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon] Code:
<!-- Facebook display start --> Upload the attached image to your: /images/misc folder! 4. Add link in members profile "Contact Info: section Edit template - "memberinfo" Find: Code:
<if condition="$show['homepage']"> Code:
<if condition="$userinfo[fieldX]"> |
Ah First post - Great Add!!
I will add it for sure in the future! |
I add it ..
wonderfull .. Thanks :) |
Added... Thanks :D
|
added but its not working
|
Quote:
|
SLY LS1 I have Facebook id :)
i did add the fieldX = my Id and i added all the modification to postbit_legacy and postbit , then follow with members on members info,,,edited and saved added the new fields ot the "Add New User Profile Field" Save and refresh ....nothing happen i double check the info on my userCp ,,,,doesnt view the FACE BOOK modification :) some thing not right,,, and ist [fieldX] should be my Example: [89749819] id .... thanx |
Any one !!! could help
|
Quote:
No the [fieldX] should be the number of the field you created, NOT your facebook number, if you go to userfields in your Admin control panel and look for the field you named "Facebook Profile" it will have a field number next to it, you need to change all the X to that field number. Check through the instructions from the start again and you will work it out. Your facebook number gets added in your UserCP. Hope this helps |
It isn't showing up for me...
|
All times are GMT. The time now is 01:55 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:
|