Back to vBulletin 3.8 Template Modifications

Add Your LinkedIn Account To Your postbit/postbit_legacy
Mod Version: 1.00, by metalguy639

vB Version: 3.8.1 Rating: (0 vote - 0 average) Installs: 15
Released: 21 Jun 2009 Last Update: Never Downloads: 1
Not Supported Template Edits Additional Files  

THIS TEMPLATE EDIT BROUGHT TO YOU BY:


http://www.skinsnstyles.com

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
6. Click "Save"

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]
6. AFTER ADD:

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>
You must change The field ID number to match yours, they are in red. You must also change the image link to match where you uploaded your image.

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...

Download

No files for download.

Screenshots

Click image for larger version
Name:	postbit.jpg
Views:	570
Size:	114.6 KB
ID:	100832  

Similar Mods

Add-On Releases Quick Ban & Unban in Postbit & Postbit_legacy! vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024