Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide the whole Base profile field group


  • bid9jafd
    Participant

    @bid9jafd

    Hi,

    I want to hide the entire Base Profile Field Group on my site.

    I have followed the steps outlined by @shanebp in this topic &, while the Base Profile Fields have been hidden, the tab for the Group is still visible.

    I have posted a screenshot of the issue here.

    I want just the profile group ‘user info’ to be visible & editable.

    I’m using the Kleo theme – version 4.1.5, WordPress 4.6.1.

    I’d greatly appreciate some help.

Viewing 6 replies - 1 through 6 (of 6 total)

  • danbp
    Moderator

    @danbp


    bid9jafd
    Participant

    @bid9jafd

    Hi @danbp,

    Thanks for your reply.

    I tried that & the outcome was the same, ie the fields are hidden but the ‘Base’ profile group field is the same, like this

    I guess a solution would be to put all fields in the ‘Base’ group & delete the “User Info” group, but this would mean that all fields would show up on registration (albeit, not all ‘required’). This is something I wanted to avoid, as I want to make it as quick & easy as possible for visitors to sign up – I don’t want to overwhelm them on sight of the registration form.


    danbp
    Moderator

    @danbp

    Have you tried what’s explained for the second example ? Ie.:

    // remove field from edit tab
    if(  bp_is_user_profile_edit() ) {		
       $retval['exclude_group'] = '1'; // ID's separated by comma
    }

    If not enough, you use CSS display:none; for the BASE markup on profile edit tab.


    bid9jafd
    Participant

    @bid9jafd

    @danbp

    Thanks again.

    I’d missed the second example, but, unfortunately, it doesn’t solve the issue.

    If not enough, you use CSS display:none; for the BASE markup on profile edit tab.

    I attempted to do this but I’m unable to target the BASE group without also affecting the USER INFO group

    I noticed, too, that the “hide fields or field group to members, but not to site admin” code was preventing user registrations from going through, for some reason. It was quickly redirecting users to the home page, rather than a success or failure message page, when they clicked on the “complete sign up” button.

    I think what I’ll have to do is put all fields in the BASE group & go with what @shanebp suggested in the thread I linked in my first post. & hope that potential subscribers aren’t put off by the registration form.


    bid9jafd
    Participant

    @bid9jafd

    @danbp

    I’m returning to this as it’s still bothering me.

    I want to use your suggestion of CSS display:none;, but for both the Base & User Info groups. This would be the ideal solution.

    The problem with doing this is that, when I click on Profile -> Edit, the Base group is displayed first by default & there would be no way of getting to the ‘User Info’ group.

    Is there a way of getting the ‘User Info’ group to display when I click on Profile -> Edit?


    bid9jafd
    Participant

    @bid9jafd

    A bump for this.

    Is there a way of getting new field groups (in this case, ‘User Info) to load before the Base field group when users select to edit their profile?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar