bp_get_member_user_id()will get you the member’s ID if it’s used within the loop. Your code looks sound to me so I’m puzzled as to why this isn’t working.
@philippmuenchen – it works fine. I’m guessing you’re trying to test it while you’re logged in as Admin? The privacy controls don’t apply to Admin. Admin can see everything. Log in as a regular user and then test.
@philippmuenchen and @sbrajesh. Thanks for your discussion. Did you ever figure this out? I’m trying to show all groups and make sure that all required fields get filled. I tried your solution and yes, it shows all fields but it allows user to create account without filling out all required fields. Thanks for the response in advance. […]
@philippmuenchen Active 1 year, 4 months ago