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: 350
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:	455
Size:	79.1 KB
ID:	96339   Click image for larger version

Name:	fackbook2.png
Views:	416
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 04:57
End-User Options UKBL ~ Selling on Ebay Link in Postbit UKBusinessLive vBulletin 3.8 Template Modifications 18 15 Feb 2010 10:21
End-User Options UKBL ~ Selling on Ebay Link in Postbit UKBusinessLive vBulletin 3.7 Template Modifications 10 21 May 2009 08:28
End-User Options UKBL ~ Selling on Ebay Link in Postbit UKBusinessLive vBulletin 3.6 Template Modifications 1 15 Feb 2009 12:09

Comments
  #2  
Old 12 Mar 2009, 21:38
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Reserved
Reply With Quote
  #3  
Old 12 Mar 2009, 21:40
DobieGillis© DobieGillis© is offline
 
Join Date: Feb 2009
you are the best!
Reply With Quote
  #4  
Old 12 Mar 2009, 22:14
DobieGillis© DobieGillis© is offline
 
Join Date: Feb 2009
again, my humbelest thanks!
Reply With Quote
  #5  
Old 12 Mar 2009, 22:35
Jasem's Avatar
Jasem Jasem is offline
 
Join Date: Feb 2006
Location: www.menokia.com
Good work, thank you......

Installed
__________________
games
Forum Nokia
Reply With Quote
  #6  
Old 12 Mar 2009, 23:16
DobieGillis© DobieGillis© is offline
 
Join Date: Feb 2009
going to try one with Myspace. lol
Reply With Quote
  #7  
Old 13 Mar 2009, 00:46
macc's Avatar
macc macc is offline
 
Join Date: Feb 2008
Nice work - Thanks

regards

macc
__________________

Welcome to Libar
Reply With Quote
  #8  
Old 13 Mar 2009, 01:24
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Thanks again everyone

You can by all means do one for myspace, bebo and the such, simply by replacing the destination url and adding the fieldX attribute where the member id belongs.

Don't forget to add the image url too

Have fun

Reply With Quote
  #9  
Old 13 Mar 2009, 02:24
trotskid trotskid is offline
 
Join Date: Feb 2009
Thanks for this hack

How can I modify the position of the icon?

Reply With Quote
  #10  
Old 13 Mar 2009, 05:50
scottny scottny is offline
 
Join Date: Nov 2008
I want to install but where is the number on Facebook? Sorry I am really computer challenged when it comes to things like this.
Reply With Quote
  #11  
Old 13 Mar 2009, 07:12
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?

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
Reply With Quote
  #12  
Old 13 Mar 2009, 07:18
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by scottny View Post
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.


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

This is what we have in the code, with the user number replaced with the custom profile file number, in red also


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

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.

Last edited by UKBusinessLive; 13 Mar 2009 at 18:09.
Reply With Quote
  #13  
Old 13 Mar 2009, 17:03
K4GAP K4GAP is offline
 
Join Date: Mar 2008
Which of the profile field selections do I use for this? There are 6 to choose from.
Reply With Quote
  #14  
Old 13 Mar 2009, 17:08
UKBusinessLive UKBusinessLive is offline
 
Join Date: Sep 2008
Real name: Gerry
Originally Posted by GaryT View Post
Which of the profile field selections do I use for this? There are 6 to choose from.
Hi Gary

The User profile file which you've created just for this, You can't use an existing one
Reply With Quote
  #15  
Old 13 Mar 2009, 23:21
Sweeks's Avatar
Sweeks Sweeks is offline
 
Join Date: Jul 2008
Wouldnt it better to use
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

wrapped around the edit so that all members can see it, but guests cant? Also you have added two
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

's to the edit
________
Alcohol rehab advice

Last edited by Sweeks; 06 Apr 2011 at 12:35.
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 08:02.

Layout Options | Width: Wide Color: