Re: Filter members by custom fields
Hi, I tried to achieve this by putting an ‘if’ in the members-loop which is basically called for each tab. For each corresponding role tab, I check if the current member in the while loop belongs to that role, if yes, only then I print that member under that role tab.
I did not change the core for this, instead I changed the index.php of my BP theme and also added a bp-custom.php with some customized code. Not sure if this is the most elegant way of doing this. Was there any hook or something which I could’ve used maybe?