The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add Your LinkedIn Account To Your postbit/postbit_legacy Details »» | |||||||||||||||||||||||||||||
Add Your LinkedIn Account To Your postbit/postbit_legacy
Developer Last Online: Jan 2014
CLICK INSTALLED TO GET SUPPORT FOR THIS ADD-ON. IF YOU DO NOT CLICK INSTALLED I CANNOT HELP YOU. This mod is based on the Twitter Profile Link mod. With the exception that this is for a different social networking type of web page following. If you have members who have LinkedIn accounts and you want to be able to add their LinkedIn accounts to their postbit or the postbit_legacy, you can use this little mod to do so. It's been tested in 3.8.1 so far, but I'm pretty sure that it would work with most recent copies of vbulletin 3.6X and up. YOU MUST CLICK INSTALL TO GET ANY SUPPORT FROM ME, THOSE WHO DO NOT CLICK INSTALL WILL BE IGNORED WHEN ASKING FOR HELP. Step 1: To set up your profile field for this mod you must first make/create a new profile field. 1. Login to your admincp as admin 2. Scroll down in your left side menu until you find "User Profile Fields" 3. Click on "Add New User Profile Field" 4. For Profile Field Type choose "Single-Line Text Box" 5. Put the following into your new profile field. Code:
Title: LinkedIn Account Description: Place your LinkedIn Profile URL = Only post the last part of the URL with the name or words you choose to use for your custom URL. If you have not set your custom URL, then do so first in your Profile on LinkedIn. Max length of allowed user input: 20 Field Length 25 Field Required - no Field Editable by User - yes Private Field - no Keep in mind the field ID number. Step 2: Now you will need to edit your postbit or your postbit_legacy whichever one you are currently using on your forum. 1. Scroll to "Styles & Templates" click on "Style Manager" 2. Find the skin that you want to make the changes to on the right and click the drop down box next to it choosing "Edit Templates" 3. In The "Controls" box to the right click the button to the left of the words "All Template Groups" to expand the templates. 4. Scroll down and find the postbit or postbit_legacy template and double click on it to open it. (Again this is which ever one you use on your site) 5. Now FIND: Code:
$post[skypeicon] Code:
<if condition="$post['field15']"> <a href="http://www.linkedin.com/in/$post[field15]" target="_blank"> <img alt="LinkedIn" border="0" src="http://www.yoursite.com/images/linkedin.gif" border="0"/> </if> 7. Click "save" Now go to your UserCP and edit your profile. Click on the "Edit Profile" link and scroll down until you find this in your profile add your Custom URL ending in the box and click save. Hack Limitations: 1. You MUST use only your Custom URL word(s) that you added to your profile. If you do not this hack will not work. To set up your custom URL in LinkedIn: 1. Login to your LinkedIn account. 2. Look to the far right at the top you should see a link called "Edit Public Profile Settings" click it. 3. Now at the top you will have a box called "Your Public Profile URL" click the edit link and put what you want your custom URL to be in the blank space. 4. Click the "Set Address" button. Use the LinkedIn button that I modified here: Just right click and choose "Save as" Screenshot can be seen below... Screenshots
Show Your Support
|
Благодарность от: | ||
sofrehkhune |
Comments |
#12
|
|||
|
|||
The reason I set it up that way was because it was the only way that the linkedin account would allow a direct link to a person's account. They have it set up where you HAVE to set the account up in that way or else it does not work.
|
#13
|
|||
|
|||
Thanks Nick
|
#14
|
|||
|
|||
Quote:
Code:
<a href="$post[field16]" target="_blank"> <img alt="LinkedIn" border="0" src="/forum/images/misc/linkedin.gif" border="0"/> |
#15
|
|||
|
|||
no prob, if it works for you.
|
#16
|
|||
|
|||
Some members have used the LinkedIn profile to insert spammy links to other sites. Is there a way to ensure that members can add links to only a LinkedIn profile in that field?
|
#17
|
|||
|
|||
No I'm afraid not. There maybe a way but its beyond my scope of coding. If its possible it would have to be a php fix or a plugin.
|
#18
|
|||
|
|||
Okay then, thanks for the reply.
|
#19
|
|||
|
|||
No prob.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|