Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
UKBL ~ FaceBook profile link on Postbit Details »
UKBL ~ FaceBook profile link on Postbit
Mod Version: 1.00, by UKBusinessLive (Designer) UKBusinessLive is offline
Developer Last Online: Feb 2012 I like it Show Printable Version Email this Page

vB Version: 3.8.1 Rating: (18 votes - 4.67 average) Installs: 110
Released: 12 Mar 2009 Last Update: Never Downloads: 351
Not Supported Template Edits Re-usable Code Translations  

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

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Directly above it add


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Click image for larger version

Name:	facebook1.png
Views:	460
Size:	79.1 KB
ID:	96339   Click image for larger version

Name:	fackbook2.png
Views:	420
Size:	35.3 KB
ID:	96340  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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

  #16  
Old 14 Mar 2009, 22:36
DobieGillis© DobieGillis© is offline
 
Join Date: Feb 2009
all good!

Last edited by DobieGillis©; 14 Mar 2009 at 23:34.
Reply With Quote
  #17  
Old 16 Mar 2009, 20:09
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by trotskid View Post
Thanks for this hack

How can I modify the position of the icon?

Did you manage to move your icon Trotskid ??
Reply With Quote
  #18  
Old 16 Mar 2009, 21:01
obmob obmob is offline
 
Join Date: Nov 2001
Oh, i was wondering about this, a good idea ^^
Reply With Quote
  #19  
Old 16 Mar 2009, 21:11
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by obmob View Post
Oh, i was wondering about this, a good idea ^^

Thanks
Reply With Quote
  #20  
Old 17 Mar 2009, 01:09
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Real name: Steve
I was going to try this however the line to search for doesnt exist.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is this compatible with (vBulletin 3.8.1 Patch Level 1)

or maybe been changed?
Reply With Quote
  #21  
Old 17 Mar 2009, 01:24
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by Red-Devil View Post
I was going to try this however the line to search for doesnt exist.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is this compatible with (vBulletin 3.8.1 Patch Level 1)

or maybe been changed?
Is what compatible with 3.8.1 the hack or the above code??

The Hack Should be, I'm not sure what your trying to do with that condidtional?
Reply With Quote
  #22  
Old 17 Mar 2009, 01:29
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Real name: Steve
Originally Posted by UKBusinessLive View Post
Is what compatible with 3.8.1 the hack or the above code??

The Hack Should be, I'm not sure what your trying to do with that condidtional?

I was trying to find it in the postbit template, its ok found it its broken into 2 lines made it more challenging to find lol.

cant get it to display will have to mess about not over good at codeing
Reply With Quote
  #23  
Old 17 Mar 2009, 01:46
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Real name: Steve
Nice got it working, after a bit of trial and error works better for me place above $template_hook[postbit_userinfo_right] as where your code said it messed up the side display.


It would be nice to be able to have it inline with the msn aim etc if possible, but its ok now.

Reply With Quote
  #24  
Old 17 Mar 2009, 19:15
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by Red-Devil View Post
Nice got it working, after a bit of trial and error works better for me place above $template_hook[postbit_userinfo_right] as where your code said it messed up the side display.


It would be nice to be able to have it in line with the msn aim etc if possible, but its ok now.

Try and move it further down the postbit code or add it after the other icons and see???

Sometimes Postbits are heavily modified and its a bit of a job to keep everyone happy

Glad you enjoy it though

Reply With Quote
  #25  
Old 18 Mar 2009, 20:54
010081 010081 is offline
 
Join Date: Sep 2006
nice mod thankx for sharing
Reply With Quote
  #26  
Old 19 Mar 2009, 15:26
trotskid trotskid is offline
 
Join Date: Feb 2009
Originally Posted by UKBusinessLive View Post
Did you manage to move your icon Trotskid ??
Finally! And looks great



Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings
Reply With Quote
  #27  
Old 19 Mar 2009, 19:35
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by trotskid View Post
Finally! And looks great



Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings
Nice
Reply With Quote
  #28  
Old 21 Mar 2009, 18:40
RedDevil's Avatar
RedDevil RedDevil is offline
 
Join Date: Mar 2008
Real name: Steve
Originally Posted by trotskid View Post
Finally! And looks great



Just followed by the last icon:

....$post[skypeicon]<if condition="is_member_of($bbuserinfo, 6, 5, 10,.......

Greetings
cheers
Reply With Quote
  #29  
Old 25 Mar 2009, 14:33
down.low down.low is offline
 
Join Date: Mar 2009
I'm a 3.8.1 user
|
This code doesn't work:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

|
It's missing a </a>

Has an extra border="0"

Why URL for href?
|
|
|
If you'd like to get you're facebook icon here:
|



|
|

First, upload to your server in this directory: images/misc/

Then edit postbit_legacy and look for this string:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

|
|

Below it add this string after changing both ?? to your field number:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

|
Save the template and you're done.
|
Reply With Quote
  #30  
Old 25 Mar 2009, 19:39
RedHacker RedHacker is offline
 
Join Date: Jan 2009
<if condition="is_member_of($bbuserinfo, 6, 7, 9)">

In there what put...?

My team members or my team members who dont show facebook ID....?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:30.

Layout Options | Width: Wide Color: