vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=174863

Social Networking Fieldset in User Profile & Postbit
by ChU v2
02 Apr 2008 04:08

2 Attachment(s)
This template modification adds links to user's social networking profiles like MySpace, FaceBook, Youtube, eBay, Xbox etc.

Instructions:

In order to add each site ie. MySpace, FaceBook, Youtube, etc. You will need to add Profile Fields via the Admin Control Panel. Like this:


Admin CP > User Profile Fields > Add new profile field

Title: *Social Networking Site*
Description: *Your Social Networking Site Profile*
Max length of allowed user input: 20
Field editable by user: Yes
Private Field: No

And a new profile field for each site. Each profile field will be represented by a field number. ie. field5 . You will need to know which field number represents which site in the template editing!

- Don't forget to upload the images to YOUR SKINS /misc folder.

:: Refer to the attached text file for template edits and further instructions! ::

*Please Mark as Installed*

Make the Fieldset not show when the user hasn't entered anything in the profile fields!

Go to the MEMBERINFO template:

Find:

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

Add Below:

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

Replacing the XX's with your field numbers.

Then Find:

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

Add After:

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


ChU v2 02 Apr 2008 04:11

1 Attachment(s)
Adding Social Networking Fieldset to User's Postbit

In the Postbit Legacy Template:

Find:

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

Add After:

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

Replace all the XX's with the correct field numbers and delete the sites you don't have Profile fields for.

ChU v2 03 Apr 2008 05:40

*Reserved to add more sites*

Lombardo 03 Apr 2008 05:47

Hello mate, do these show up in people's post bits?

Domenico 03 Apr 2008 11:01

It would be nice if one could be selected to be shown in the postbit.

Do you have the linkedin icon implemented?

ChU v2 03 Apr 2008 16:37

Quote:

Originally Posted by Lombardo (Post 1481659)
Hello mate, do these show up in people's post bits?

Added in 2nd post.

ChU v2 03 Apr 2008 16:40

Quote:

Originally Posted by Domenico (Post 1481835)
It would be nice if one could be selected to be shown in the postbit.

Do you have the linkedin icon implemented?

No but if you give me a link to a user profile on linkedin I could draw up the code, it's not hard. You can PM the link if you'd like.

Lombardo 04 Apr 2008 10:28

Will install later. Thanks mate.

ChU v2 06 Apr 2008 16:52

Your Welcome

funkmeister 08 Apr 2008 00:51

How do you prevent the added field information from showing up in the "Additional Information" section of the Member's profile?

Thanks, good work :up:

ChU v2 08 Apr 2008 02:07

Quote:

Originally Posted by funkmeister (Post 1485585)
How do you prevent the added field information from showing up in the "Additional Information" section of the Member's profile?

Thanks, good work :up:


Set the profile fields to private. You as an Admin still can see the private profile fields as far as I know.

funkmeister 08 Apr 2008 18:26

OK, thanks, got that working, but in my case, I had to set "Can View Private Custom Fields" to 'No' in the Usergroup permission section.

The problem I have left now is, that they're not showing up in the Postbit. Any clues where I should look to get that working? As an Admin, everything looks good, but as general user, they're not showing up there. One note of interest, is if I set "Can View Private Custom Fields" to 'Yes', the postbit works for Admin & general users, but then it won't display in the Member Profile for general users! So I'm going around in circles!

Any ideas, appreciated!!

Many thanks.

ChU v2 08 Apr 2008 21:56

Quote:

Originally Posted by funkmeister (Post 1486098)
OK, thanks, got that working, but in my case, I had to set "Can View Private Custom Fields" to 'No' in the Usergroup permission section.

The problem I have left now is, that they're not showing up in the Postbit. Any clues where I should look to get that working? As an Admin, everything looks good, but as general user, they're not showing up there. One note of interest, is if I set "Can View Private Custom Fields" to 'Yes', the postbit works for Admin & general users, but then it won't display in the Member Profile for general users! So I'm going around in circles!

Any ideas, appreciated!!

Many thanks.

Well come other options that I would check : Usergroup options > general permissions

Can view member info: Yes

Also maybe the profile field has to be NOT set to private.

And maybe in vBoptions > User profile options

vB code in non forum specific areas: Yes

funkmeister 08 Apr 2008 22:47

Thanks for the ideas, but the only option that helps is the one I was asking about initially.

If I make the new profile field NOT private, it does indeed work in the Postbit as well, but then I'm left with that field name and user info shown in the Member Profile, under "Additional Information". So it's displaying there on it's own and also to the right of that, in the new "Social Networking" section. Which is not really good to look at :(

Is this not what everyone else is experiencing? Am I alone with this? I don't understand what could be different for me? Or is this the way it's supposed to display?

Thanks.

Jenkins 10 Apr 2008 02:08

does this work with 3.7?


All times are GMT. The time now is 17:20.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.