The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Can I remove fields from the user profile?

View previous topic View next topic Go down

Solved Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 12:16 am

Hi,

I'd like to change the Information tab in the user profile to remove some fields. For example, I'd like to hide the Twitter, Pinterest, and ICQ Number fields from users' own profiles. (So if I click on my own profile I would not see these fields available to edit.)  Can you help?

Thanks,
Nancy

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Sir. Mayo on October 16th 2013, 1:33 am

acp>Users & Groups> Users > Profile> Contact fields
find the Editacross from the ones you want to edit, then uncheck display in messages and profiles

Sir. Mayo
Forumember

Male Posts : 960
Reputation : 84
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 4:05 am

Thanks for the quick response. The method you suggest changes it so that when one user looks at another user's profile he won't see the fields I've unchecked. I want to change it so that those fields don't show when a user looks at his own profile. I hope that makes sense.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by SLGray on October 16th 2013, 4:08 am

Are you referring to the page where you entering the information or the profile itself?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 4:17 am

I'm talking about when a user is logged in clicks Profile to look at his own profile page.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by SLGray on October 16th 2013, 4:18 am

If you uncheck the profile box in the administration panel, then no one should see the profile fields.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 4:23 am

I'm testing it right now. The fields I want to hide say "No" under Display Profiles and under Display Messages. They show when I look at my own profile but don't show when I look at another user's profile. Is there a way for me to let you see what I mean?

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by SLGray on October 16th 2013, 4:25 am

Please post screenshots.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 4:46 am

Here's the admin page where I've turned off display of Twitter, Pinterest, etc.



Here's my profile after I save the changes above, and below is the page of another user I'm viewing. In my own profile I'm still seeing the fields I turned off, but in the other user's page I don't see them. What I'm trying to do is turn them off so I don't see them on my profile page or anyone else's.


Here's the profile page of another user. The fields I turned off don't show.


svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by levy on October 16th 2013, 9:42 am

Can you provide me , what icons you want to remove please ( what icons have pinterest , twitter on your forum )

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 2:03 pm

In the middle picture, I want to remove the fields called Pinterest and Twitter.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by levy on October 16th 2013, 7:46 pm

I know that but that fields had and some icons , for example : , provide us your.

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 8:30 pm

I guess I don't have any icons. Or I don't understand what you're asking for.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 16th 2013, 10:18 pm

@svadmin wrote:I guess I don't have any icons. Or I don't understand what you're asking for.
Hello svadmin,

candy_fear is talking of these icons under..
Administration Panel > Display > Pictures and colors > Pics management > Advanced > Buttons

As for removing those profile fields under profile settings from Administration sight, I do not believe that is possible. The highest you can set these fields to, visibility wise is 'Administrators' no one else will be able to see except the Admins of the site.


You could probably hide the field tags with CSS using nth-child, and grab the unique textarea selector and hide that as well, but I wouldn't recommend that. As long as its set to Administrators, you and any staff Admins should be the only ones to see those fields.

Edit:
As I said above you can remove the editable textarea however, removing the dt tags is another story. The code below should remove the ability to edit or see those textareas that you mentioned in your first post.

You can apply it by going to..
Administration Panel > Display > Pictures and color > Colors > CSS stylesheet

Paste the code below into the sheet and submit.
Code:
#profile_field_3_-22, #profile_field_3_-23, #profile_field_3_-15{
display:none;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 10:35 pm

Thank you for trying to clear it up for me. I have a feeling we are talking about two different things.

The icons you guys are talking about only show up (on my site at least) when one user looks at another user's profile. i do have several fields set to only show for users that are at least Administrator, and it works fine.

The thing I'm trying to solve is, I don't want to see those fields when I look at my own profile. In that case, which I showed with screenshot number 2, I don't see icons, just long text boxes with the headings of Pinterest, etc. Those are the ones I'm trying to delete, hide, whatever. Does that make any sense?

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 16th 2013, 10:41 pm

svadmin,

My last post was edited with updated information however, this will only remove the stated textareas, not the titles: Twitter, Pinterest, ICQ.

SethC1995 wrote:As I said above you can remove the editable textarea however, removing the dt tags is another story. The code below should remove the ability to edit or see those textareas that you mentioned in your first post.

You can apply it by going to..
Administration Panel > Display > Pictures and color > Colors > CSS stylesheet

Paste the code below into the sheet and submit.
Code:
#profile_field_3_-22, #profile_field_3_-23, #profile_field_3_-15{
display:none;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by runawayhorses on October 16th 2013, 10:45 pm

I think hes talking about when you view the profile, for example going to "Memberlist" then click your name and then click the tab "Contact".

I tried the code also just to try and figure this out and it didn't work for that, and I tried a few other things to no avail.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 16th 2013, 10:56 pm

@runawayhorses wrote:I think hes talking about when you view the profile, for example going to "Memberlist" then click your name and then click the tab "Contact".

I tried the code also just to try and figure this out and it didn't work for that, and I tried a few other things to no avail.
For the contacts page on the profile this should suffice however, there will be a bit of a pile up with the div separators, I would recommend hiding those.
Code:
#field_id-22, #field_id-23, #field_id-15{
display:none;
}
As for the dt titles in the profile settings I have a formula set for that using nth-child, but it may not work if you have custom contact fields.

CSS for that:
Code:
div.panel:nth-child(6) > div:nth-child(1) > fieldset:nth-child(2) > dl:nth-child(n+3):nth-child(-n+5){
display:none;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by runawayhorses on October 16th 2013, 10:58 pm

Well I'm not interested in this for my forum I want the fields just how they are, showing, I was just trying to help the OP.

Hope this works for him and its what he wanted.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 16th 2013, 11:20 pm

I was actually talking about when you just click "Profile".

runawayhorses wrote:I think hes talking about when you view the profile, for example going to "Memberlist" then click your name and then click the tab "Contact".

I tried the code also just to try and figure this out and it didn't work for that, and I tried a few other things to no avail.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 16th 2013, 11:31 pm

@svadmin wrote:I was actually talking about when you just click "Profile".
If that is the case add this code to your stylesheet and see if it removes: Twitter, Pinterest, and ICQ.

Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet

Paste the code below and submit.
Code:
#profile_field_3_-22, #profile_field_3_-23, #profile_field_3_-15, div.panel:nth-child(6) > div:nth-child(1) > fieldset:nth-child(2) > dl:nth-child(n+3):nth-child(-n+5){
display:none;
}

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by levy on October 16th 2013, 11:31 pm

If you use phpBB3 go in Administration Panel -> Display -> Colors -> CSS Stylesheet ->

Code:
#cp-main .panel fieldset dl:nth-child(8) {
 display:none!important;
}

#cp-main .panel fieldset dl:last-child{
  display:none!important;
}

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 17th 2013, 12:07 am

SethC1995 wrote:If that is the case add this code to your stylesheet and see if it removes: Twitter, Pinterest, and ICQ.

Administration Panel > Display > Pictures and colors > Colors > CSS stylesheet

Paste the code below and submit.
Code:
#profile_field_3_-22, #profile_field_3_-23, #profile_field_3_-15, div.panel:nth-child(6) > div:nth-child(1) > fieldset:nth-child(2) > dl:nth-child(n+3):nth-child(-n+5){
display:none;
}
Yes, that's it, thanks!! I want to remove some of the other fields (Facebook, AIM, MSN, Yahoo, Skype) and don't understand a thing about CSS yet but I'll try and find a tutorial somewhere.

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 17th 2013, 2:17 am

@svadmin wrote:Yes, that's it, thanks!! I want to remove some of the other fields (Facebook, AIM, MSN, Yahoo, Skype) and don't understand a thing about CSS yet but I'll try and find a tutorial somewhere.
Oh why didn't you say so. So you just want the website contact field then? If so remove the other code I gave you and add this in:
Code:
div.panel:nth-child(6) > div:nth-child(1) > fieldset:nth-child(2)
> dl:nth-child(n+2):nth-child(-n+9){
display:none;
}
If you don't want the website field just edit this piece to:
It sets a range for dl 1-9.
Code:
nth-child(n+1):nth-child(-n+9)
Also if you add any custom contact fields make sure they're directly below all of the ones that were removed. That way the range we set will work correctly.

If you want to get to know some basic CSS this is a good place to learn.
http://www.w3schools.com/css/

Good luck! thumleft

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by svadmin on October 17th 2013, 2:42 am

This is really great, thanks a lot for the fix and the link. I'm looking forward to making some more changes!

svadmin
New Member

Posts : 15
Reputation : 1
Language : English

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by Ange Tuteur on October 17th 2013, 2:53 am

You're welcome, if you have anymore questions let us know. ^^

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Can I remove fields from the user profile?

Post by SLGray on October 17th 2013, 3:14 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum