vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding Linked In to Member's Profile in VB4 (https://vborg.vbsupport.ru/showthread.php?t=264002)

Fergal C 05-22-2011 06:48 AM

Adding Linked In to Member's Profile in VB4
 
Is there an easy way to allow members to add a link to their LinkedIn profile on a VB4 forum? I've seen this mod, but it is for VB3 - Add Your LinkedIn Account To Your postbit/postbit_legacy.

Thanks!

RobbieZ 05-22-2011 07:15 AM

Edit: Sorry I though I nearly had it.

I need to find out how to make the link work for vb4 as it doesnt read this properly: http://www.linkedin.com/in/$userinfo[field[XX]

I think Boofo may know this :)

Fergal C 05-23-2011 05:04 AM

Thanks RobbieZ, anyone else got a suggestion on how to do this?

RobbieZ 05-28-2011 08:54 AM

Ok, this works for full LinkedIN URL path.

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 (Full URL) eg http://www.linkedin.com/pub/****
Max length of allowed user input: 100
Field Length 100
Field Required - no
Field Editable by User - yes
Private Field - no

6. Click "Save"

Keep in mind the field ID number.

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"

FIND:

Code:

$post[skypeicon]
AFTER ADD:

Code:

<vb:if condition="$post['fieldX']">
<a target ="blank" href="{vb:raw post.fieldX}"><img src="http://i43.tinypic.com/902b0l.gif" alt="LinkedIN"></a>
</vb:if>

You must change The field ID number to match yours, they are in red. You can also change the image link to match where you can uploaded your image.

https://vborg.vbsupport.ru/external/2011/05/3.gif

Boofo 05-28-2011 09:57 AM

See? You didn't need Boofo at all. ;)

Actually, I just saw this thread for the first time.

Fergal C 05-28-2011 11:30 AM

Thanks a million for that RobbieZ, I will update my forum with that in the next few days and post back here then to confirm it worked.

Fergal C 05-30-2011 06:07 PM

RobbieZ that's been implemented in the business forum in my sig and it worked perfectly, thanks again for your help.

Fergal C 01-24-2012 08:04 PM

I've been using RobbieZ's solution (post #4) and it has been working very well. I've recently noticed that some members have been using that LinkedIn profile to insert spammy links to other sites.

Would anyone happen to know of way to ensure that members can only add links to a LinkedIn profile in that field?

cbiweb 02-27-2012 08:51 PM

Quote:

Originally Posted by Fergal C (Post 2291930)
Would anyone happen to know of way to ensure that members can only add links to a LinkedIn profile in that field?

I'd like to know this as well. Anyone?

cbiweb 05-02-2012 11:10 AM

Quote:

Originally Posted by Fergal C (Post 2291930)
I've been using RobbieZ's solution (post #4) and it has been working very well. I've recently noticed that some members have been using that LinkedIn profile to insert spammy links to other sites.

Would anyone happen to know of way to ensure that members can only add links to a LinkedIn profile in that field?

Can anyone help with this?


All times are GMT. The time now is 10:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01563 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete