Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 May 2011, 09:48
Fergal C Fergal C is offline
 
Join Date: Dec 2004
Real name: Fergal Crawley
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!
__________________
Business Advice Forum
Forum Promotion
[Previous username HostBider.com]
Reply With Quote
  #2  
Old 22 May 2011, 10:15
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
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

Last edited by RobbieZ; 22 May 2011 at 11:07.
Reply With Quote
  #3  
Old 23 May 2011, 08:04
Fergal C Fergal C is offline
 
Join Date: Dec 2004
Real name: Fergal Crawley
Thanks RobbieZ, anyone else got a suggestion on how to do this?
__________________
Business Advice Forum
Forum Promotion
[Previous username HostBider.com]
Reply With Quote
  #4  
Old 28 May 2011, 11:54
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
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.


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

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:


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

AFTER ADD:


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

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.

Reply With Quote
  #5  
Old 28 May 2011, 12:57
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
See? You didn't need Boofo at all.

Actually, I just saw this thread for the first time.
Reply With Quote
  #6  
Old 28 May 2011, 14:30
Fergal C Fergal C is offline
 
Join Date: Dec 2004
Real name: Fergal Crawley
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.
__________________
Business Advice Forum
Forum Promotion
[Previous username HostBider.com]
Reply With Quote
  #7  
Old 30 May 2011, 21:07
Fergal C Fergal C is offline
 
Join Date: Dec 2004
Real name: Fergal Crawley
RobbieZ that's been implemented in the business forum in my sig and it worked perfectly, thanks again for your help.
__________________
Business Advice Forum
Forum Promotion
[Previous username HostBider.com]
Reply With Quote
  #8  
Old 24 Jan 2012, 22:04
Fergal C Fergal C is offline
 
Join Date: Dec 2004
Real name: Fergal Crawley
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?
__________________
Business Advice Forum
Forum Promotion
[Previous username HostBider.com]
Reply With Quote
  #9  
Old 27 Feb 2012, 22:51
cbiweb cbiweb is offline
 
Join Date: May 2004
Originally Posted by Fergal C View Post
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?
Reply With Quote
  #10  
Old 02 May 2012, 14:10
cbiweb cbiweb is offline
 
Join Date: May 2004
Originally Posted by Fergal C View Post
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?
Reply With Quote
  #11  
Old 20 Jul 2012, 23:01
cbiweb cbiweb is offline
 
Join Date: May 2004
Nobody???
Reply With Quote
  #12  
Old 20 Jul 2012, 23:12
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I think you could just change the instructions to tell users to enter only the part that comes after "http://www.linkedin.com/pub/", then change the template edit to use href="http://www.linkedin.com/pub/{vb:raw post.fieldX}".

I guess you might also want to run a query to fix the existing fields by removing "http://www.linkedin.com/pub/" from the beginning.
Reply With Quote
  #13  
Old 21 Jul 2012, 00:57
cbiweb cbiweb is offline
 
Join Date: May 2004
Thanks! I'll try that and post back. Might be a couple days before I get around to doing it, though.

--------------- Added 22 Jul 2012 at 00:03 ---------------

hmmm... I don't think that is doable without writing a plugin, which I have no idea how to do. The issue is, the LinkedIn profile field is a custom one, and uses the userfield_textbox template, which in turn is used for all profile fields. So I can't actually make a LinkedIn-specific edit to the template.
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Member's ebay linked in profile W/ image :Judge: vBulletin 3.5 Template Modifications 16 05 Dec 2006 13:56



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 14:50.

Layout Options | Width: Wide Color: