Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to hide content related to members who are registered but NOT activated


David Carson
Participant

@davidtcarson

`bp_is_active()` checks if a BP $component is active – not whether members are registered but not activated. The `bp_account_was_activated` function is used in the activate.php template but isn’t appropriate here I don’t think.

In addition to the BuddyPress Conditional Tags – https://codex.buddypress.org/developer-docs/conditional-template-tags/ – you might also look at WordPress Conditional Tags – https://codex.wordpress.org/Conditional_Tags – to see if there are any that will work for you.

P.S. I just saw your other post.

`
This occurs due to my BuddyPress Auto Group Join plugin. How can I hide the not-yet-activated members from appearing on the Group Members page?
`

It seems like it would be better to modify the plugin(s) causing the issue instead of modifying the BP code. Maybe the plugin developers can assist.

Skip to toolbar