This topic has 9 replies, 2 voices, and was last updated 10 years by Abe.

  • Author
  • #8985
     nicholaus1221
    Participant

    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,
    Nicholaus

    #9106
     Abe
    Keymaster

    Hi, 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.

    #9212
     nicholaus1221
    Participant

    Hi 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,
    Nicholaus

    #9259
     Abe
    Keymaster

    You 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-8625

    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.

    #9285
     nicholaus1221
    Participant

    Hi 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,
    Nicholaus

    #9307
     Abe
    Keymaster

    Hi, 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.

    #9347
     nicholaus1221
    Participant

    Hi 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

    #9423
     Abe
    Keymaster

    Try 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.

    #9430
     nicholaus1221
    Participant

    Hi 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,
    Nicholaus

    #9434
     Abe
    Keymaster

    Hi, 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’);
    with

    COPY CODE
    
    locate_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.

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?