-
Author
-
October 3, 2013 at 10:11 #3770jaybiniParticipant
how to make guests be redirected to the register page instead of the membership page , when i limit there access from a specific feature
October 3, 2013 at 14:55 #3791SQadminKeymasterYou can change it by adding this code snipped to sweetdate-child/functions.php
COPY CODE//Redirect only guests to register page add_filter('kleo_pmpro_url_redirect', 'kleo_my_custom_guest_redirect'); function kleo_my_custom_guest_redirect($redirect) { if (!is_user_logged_in()){ return home_url().'/register'; } else { return $redirect; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionFebruary 6, 2014 at 17:39 #10602abidjan-lovesParticipantCan I intead of redirect theme to register page , show the popup like when they click on “create account” ????
I think it is more simple for my usersFebruary 7, 2014 at 16:59 #10689abidjan-lovesParticipantThat mean when guest trying to access restricted content they show a popup like when they click on “create account”.
is it possible to do that?February 8, 2014 at 17:09 #10749AbeKeymasterHello, you can’t do that since the check is done on server side and also the redirect.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 19, 2014 at 19:06 #11176AbeKeymasterThere are links generated by different plugins, theme, wordpress so I don’t think you can easily achieve this. The best option is to make the redirect server side
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.February 28, 2014 at 16:42 #11624JayeDon08ParticipantOkay instead of making a new thread I will piggy back off this one. What I need from the home page that when a user clicks the SEARCH button, I can redirect them to another URL instead of the Members page. Where can I put in this URL.
Thanks kindly
March 4, 2014 at 19:49 #11874AbeKeymasterHi, Edit this file: wp-content\themes\sweetdate\custom_buddypress\kleo-bp-search.php
Search button is around line 203 or the form action around line 47
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
You must be logged in to reply to this topic.