-
Author
-
January 2, 2014 at 01:22 #8985nicholaus1221Participant
Hi,
I added a checkbox profile field for the privacy policy and terms and conditions agreement for user registration, but I don’t want that field to show up in the user’s “About Me” part of the profile header or in the profile edit page.
Is there a way to hide specific profile fields after a user has registered as I only want the checkbox to appear on the registration page?
Thank you for your help,
NicholausJanuary 4, 2014 at 21:44 #9106AbeKeymasterHi, Follow this similar topic and change with your field name: https://archived.seventhqueen.com/forums/topic/hide-fields-in-profile-accordion
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 6, 2014 at 11:53 #9212nicholaus1221ParticipantHi Abe,
I just tried that and it didn’t work. I’m assuming I need to make edits in the member-header.php file instead??
Thanks,
NicholausJanuary 6, 2014 at 23:59 #9259AbeKeymasterYou won’t find much in member-header.php since most of them are generated with functions
oh… that change is affecting the user profile when you go to the Profile tab. See my reply here: https://archived.seventhqueen.com/forums/topic/hide-members-real-names#reply-8625Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 7, 2014 at 02:15 #9285nicholaus1221ParticipantHi Abe,
Thank you for your help, I tried out the directions in the link you provided and it didn’t work. The profile field is still viewable in the “About Me” profile tab 🙁
Anything that might be interfering with it or any reason why it wouldn’t work?
Thanks again,
NicholausJanuary 7, 2014 at 10:44 #9307AbeKeymasterHi, In wp-content/themes/sweetdate/custom_buddypress/class-bp-tabs.php you should find those occurrences and change the “Name” field with the one you want to hide
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 7, 2014 at 20:48 #9347nicholaus1221ParticipantHi Abe,
I added the two additional fields that the link said (https://archived.seventhqueen.com/forums/topic/hide-members-real-names) to add and changed the “Name” field to the one I want to hide in the child theme, but the field is still visible 🙁
Nicholaus
January 9, 2014 at 11:43 #9423AbeKeymasterTry doing the change in the main theme file to see if it has any effect. If it is not, then you are not doing the right change
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.January 9, 2014 at 13:58 #9430nicholaus1221ParticipantHi Abe,
It worked once I made the change in the main theme file! 🙂 Is there a reason why the child theme file wasn’t working? I don’t want to have to change that file every time I update sweetdate.
Thank you for your help,
NicholausJanuary 9, 2014 at 16:53 #9434AbeKeymasterHi, make the change in the child theme and in custom_buddypress/bp-functions.php replace:
require_once(get_template_directory(). ‘/custom_buddypress/class-bp-tabs.php’);
withCOPY CODElocate_template('custom_buddypress/class-bp-tabs.php', true);
And I will include this fix in next theme update so you won’t have to worry about the change in bp-functions.php
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.