I know this thread is 2 years old. But here’s my problem:
I would like to display different member profiles for different types of groups. I have 2 groups: faculty and contributor. More accurately i want to disable components like bp Links and group docs wiki for the faculty group; i settled for removing the links to such.
i thought the best approach would be to check if a member is of a certain group and then based on the conditional statement, remove the unnecessary tabs in the profile menu. If there is a better approach. Please lead the way:)
if i make the conditional statement truthy the appropriate tab is removed. If i stick the code in the if statement into something like header.php it works. BUT for some reason, together they do not.
Perhaps functions.php cannot reach such functions? I tried putting it into bp-custom.php, site just crashed.
Thank you for your time, any help would be appreciated 🙂