• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add Linkedin as one of the identities

R

ragtek

Guest
#3
I'm against this:p

It should be easier to create own identities, so each admin could add whatever he wants, without needing to code own files, instead of adding all possible services into the core product..
My 0.02$
 
F

Floris

Guest
#4
Until that's possible ragtek, I rather have linked in as a default, it's equally popular and used in professional sites as the other identities. Great suggestion, it has my vote.

That said, having an easier implementation for id-services has a huge vote too, but I understand that might not be until version 2 or 1.5 or something.
 

HydraulicJack

Well-known member
#6
+1 most emphatically re: LinkedIn... asap, please... At least a tutorial on how to add it as a custom link. My cornerstone social net as well.
 

Brogan

XenForo moderator
Staff member
#7
Adding a new identity service seems to be fairly straightforward.

I don't know what form Linked In IDs take so I just created a basic file (attached) and saved it in /library/XenForo/Model/IdentityService
This will need to be updated to ensure correct checking of IDs.

I also created a phrase for use with the service: please_enter_valid_linkedin_id | Please enter a valid Linked In ID

Then I created the new service in the ACP as shown in the screenshot.
linkedin.PNG

From what I can tell it seems to work.

You should be able to repeat that for any other service you want to add.
 

Attachments

Andy.N

Well-known member
#9
Adding a new identity service seems to be fairly straightforward.

I don't know what form Linked In IDs take so I just created a basic file (attached) and saved it in /library/XenForo/Model/IdentityService
This will need to be updated to ensure correct checking of IDs.

I also created a phrase for use with the service: please_enter_valid_linkedin_id | Please enter a valid Linked In ID

Then I created the new service in the ACP as shown in the screenshot.
View attachment 11661

From what I can tell it seems to work.

You should be able to repeat that for any other service you want to add.
Are you able to use vanity name as well?
http://www.linkedin.com/in/username
 

Brogan

XenForo moderator
Staff member
#10
Only one field is possible per identity service so you would have to specify one or the other.

The fields are just text fields though so there's nothing to stop you entering both names.
 

Dakis

Well-known member
#12
I am trying to implement the above solution to insert the new identity service, but i get the following error:

PHP Model Class Name:
Please specify a valid class that extends XenForo_Model.