Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to hide “Base” group in the edit profile panel?


Brajesh Singh
Participant

@sbrajesh

hey, you are most welcome.

well, you will need to edit registration.php

here is my take on it.

it will list all the fields from all the profile groups,and allow users to fill them. so please beware of it.

http://bpdev.pastebin.com/RLreXE7X

If you want to restrict to 1 or two profile groups, change the argument from

bp_has_profile( )

In my edited code and it will work

And a little bit detail, I have removed the argument for bp_has_profile( ), so it lists all profile groups and then put then collected field ids in an array, which is passed via

hidden field ‘signup_profile_field_ids`

Skip to toolbar