How to stop that users can visit other user profiles if they guess the user url
I hope I can make the problem clear enough.
I need to hide certain users from others and use paid membership pro to hide the member directory. However, users can still guess the url and visit users that are hidden from the member directory.
I have tried a plugin from Buddydev: BP profile visibility manager. However, whatever I do, the plugin still hides certain user profiles from users with a role that should have access. So that creates a new problem.
It would be great if someone has a code to hide profiles from a certain user role, unless they are friends. Anyone? 🙂
- You must be logged in to reply to this topic.