Hello,
I am currently rebuilding an existing site using Membership Pro version 3.6.2 on Joomla 5.1.2. I have started to suspect that the Restrictions may not be working as expected and could be a bug. If there are any issues or oversights with my settings, please let me know.
Joomla: Articles: Options
I have set Unauthorised Links to Yes.
System - Membership Pro Articles Restriction
I have enabled this plugin with the following settings:
Redirect URL: index.php?option=com_osmembership&view=plans&layout=pricingtable&id=4
Protection Method: Prevent Access to Article Detail Page
Other settings: Default
Plan Manager
In the Articles Restriction Settings tab of the relevant plan, I specified the target category in the Categories field.
When accessing an intro article in the target category from the frontend while logged out, the "Register to read more …" button (COM_CONTENT_REGISTER_TO_READ_MORE) is displayed. However, the link for this button goes to Joomla’s "/login?return=" instead of the specified "Redirect URL."
When I change the Protection Method to "Hide fulltext from non-subscribers," the "Register to read more …" button shows the content of Message Manager: content_restricted_message, so I believe the plugin itself is functioning correctly.
I understand that when the Protection Method is set to "Prevent Access to Article Detail Page," the Redirect URL should be used as the link for the "Register to read more …" button. Is my understanding correct? If so, it seems that the plugin might not be working as expected, so could you please check this?
Also, please note that the following document may be outdated:
Restrict access to Joomla articles
docs.joomdonation.com/membershippro/reso...s-to-joomla-articles
Thanks