-
Author
-
October 11, 2013 at 02:42 #4167kmb40Participant
Id like for only logged in users to have the ability to view the “members” and “activity” pages.
Currently using 2.0.1
Thanks.
October 11, 2013 at 08:52 #4174JohnDoeParticipantPretty good guide on how to do this => http://wpsites.net/web-design/members-nav-menu-logged-in-members/
Hope i helped you.
October 11, 2013 at 11:07 #4182SQadminKeymasterYou can restrict access to those pages with the Paid memberships plugin and from Sweetdate – Memberships since v2.1
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 11, 2013 at 14:30 #4192kmb40ParticipantI actually found this solution just after submitting the topic. Thanks.
a. However, these options are still viewable to the non logged in user. Could there be a way to prevent menu options from showing to non logged in users? JohnDoe, this option looks interesting. Thanks.
b. Also, when the user (not logged in) clicks the link in the menu, nothing happens. Could there be a way to prompt the user to login at this point?
October 12, 2013 at 02:55 #4236SQadminKeymasterIf you are using the Paid memberships pro plugin the you can choose who you want to restrict and that includes the non-logged in users. When they click the restricted page they will be redirected to the membership levels page to choose a level.
To change the redirection url to a custom one, add this to sweetdate-child/functions.phpCOPY CODEadd_filter('kleo_pmpro_url_redirect','kleo_pmpro_my_redirect'); function kleo_pmpro_my_redirect($url) { return 'http://my_redirect_url.com'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.