Hide Fullname – display username instead
I have a xprofile field called “Keep my profile private” and if checked on, I need to substitute the user’s fullname (or display name) with the username, everywhere in BP eg:
When Keep Private not checked:
Erwin Gerrits joined group “I want to be anonymous!”
When Keep Private checked:
egerrits joined group “I want to be anonymous!”
I put a filter on bp_core_get_user_displayname but that only seems to work in *some* instances, but not all (eg. wire & activity streams still display Full Name).
I would like to put a filter on something closer to xprofile fetching the user data from the db…
You must be logged in to reply to this topic.