![]() |
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...
|
Quote:
Cheers |
Quote:
That might be to your liking as well, it also displays the MySpace icon. |
Managed to get it working.
Quote:
|
Cheers Sly...
:) Installed |
Shouldn't it show a link there? It only show IDs...
|
Quote:
The link shows on the right hand side of the page on the member profile and also in the postbit. |
Quote:
thats already in your code Quote:
|
nice add !
thank u SLY LS1 |
can u do the same with Myspace?
|
Instead of the code
PHP Code:
PHP Code:
|
Cant get it to work.
|
Sorry, my mistake, forgot to change the fieldnumber in posbit.
thanks! |
Mine isn't working either and I have followed all the instructions, uploaded the image, etc.
Not sure what else to do. |
would be nice if something like this was made for linkden :)
|
Got it working! There is another fieldx and I was missing it :)
THANK YOU! love it! |
|
NOt Working, idid all instruction exactly and i entered my facebook ID in my profile and there is no facebook icon in my postbit
|
Quote:
Quote:
Quote:
Check post 22. |
Quote:
Quote:
You have to add OR $post[field6] after $post[skypeicon] so it looks like this Code:
$post[skypeicon] OR $post[field6] |
for 4.0.6 ?
|
All times are GMT. The time now is 01:24 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:
|