Hello,
is it possible to prevent access to the members directory?
If I just set the members page to “private” all other pages like profile view or user edit page dont work anymore.Reason: I already have a “members-search-page” using Andrea Tatiani’s filter. The list of the members on this page is shown via a shortcode.
So when someone is clicking to one of these members in the result page he is been directed to the members profile where he can click on any data like age or location and then been directed to the members directory. This confuses members. Two times a members directory.Hi Josh,
Thank you for the question.I will list the issues you are facing and the probably solutions.
1. Is it possible to stop access to members directory page?
Yes, we can simply check if it is members directory page and not single member page, redirect to somewhere else.
2. The profile page data links to directory, now that would be a problem as BuddyPress files your profile data and links to directory in a searchable format.
The solution would be to either disable this linking completely or put Andrea’s search plugin’s search form on your members directory.I can help with your question 1 but I lack time to assist you the issue 2. Please let me know if you need code for 1.
Regards
Brajesh
You must be logged in to reply to this topic.