-
Author
-
October 3, 2013 at 21:14 #3805kiko46Participant
Howdy, we have set restrictions from the membership settings for who can/can’t view user profiles, member directory, etc. Everything works well and users are not allowed to see the content we restrict if they are not logged in. However, the login or reminder to login window does not appear – the homepage just reloads and it’s not so good for user experience. You guys have set the login reminder to popup for other restricted pages just wondering if there’s a way for the login screen to show when a user not logged in user clicks on a login restricted page or a reminder of some kind for the user. Thanks!
October 4, 2013 at 01:11 #3817SQadminKeymasterHi,
The popup should work in any page. maybe you have an error in a page if it doesn’t appear. Can you provide a link to your site?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 8, 2013 at 00:24 #3961SQadminKeymasterYou cannot restrict to the popup since that is included in every page and it is just a modal window that appears over the current page and can be closed easily.
Please provide a temporary username and password to take a look on the restricted pages for the other questions
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 8, 2013 at 17:13 #4004AnchoraParticipantHere is what we did:
Restriction for ALL logged out users!
(put that on top in the childs functions.php)add_action( ‘wp’, ‘custom_lockdown_redirect’, 3 );
function custom_lockdown_redirect(){
global $wp;
if (!is_user_logged_in()){
if ( bp_is_activation_page()
|| bp_is_register_page()
|| is_page_template( ‘endfit-custom.php’ )
|| ( in_array( $GLOBALS[‘pagenow’], array( ‘wp-login.php’ )))
)
return;
bp_core_redirect(get_option(‘siteurl’) . “/register”);
exit;
}
}so in buddypress, the registrationpage has to be named “register”, by that way you also omit the modal-popup-registrationform, all logged out users have the (second + real) registrationpage immediately.
only problem is, that the landingpage has to be redesigned… which should be easy, especially with the kleo-shortcodes…
maybe this helps! 🙂
(found once on wpmu, if i remember right..)
October 8, 2013 at 18:46 #4011SQadminKeymasterHi,
I got your credentials for the site.
1,2 . I think you should get rid of the “I am a”” field and just leave the Looking for one.
3. We will take a closer look and see what is happeningThat is ok.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 8, 2013 at 19:35 #4020kiko46ParticipantHey, I have tried everything and I can’t get the matching to happen. For example, if I say that I am a Man and looking for a Woman in the search form it is only matching me with Men. As you know we are not creating a dating site but that is what’s happening with the matching of our users.
October 10, 2013 at 01:05 #4104kiko46Participanthey guys, sorry to bother you again, but please let me know if you can see why the matching is not happening.
To make the problem easier to understand, I’ll compare to a dating site:
currently, men are getting matched up with men not women. It looks like the matching is only looking at the “looking for” section and selecting those users. Thanks!October 10, 2013 at 13:19 #4125SQadminKeymasterHi, If you wanted to use the matching fields to search for a value in another field, those both fields had to be textboxes. Getting rid of the “I am a” seems a good solution
The click on “All members” will be fixed with the release of v.2.2 this week at the end.Let me know if I missed any of your questions.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 10, 2013 at 20:22 #4137kiko46ParticipantHey, still don’t understand why this is not working and don’t think you understand the problem.
If I remove “I am a” and leave only “Looking for” then the matching results are only for those user who are looking for the same thing – which is not correct.
For example, if a man is looking for a woman, in my current setup and what you are recommending is the man will only get matched with other men because the matching will only match the “looking for” field which means the users shown in the results are other user “looking for” a woman.
I need for when a user is searching for a “woman” for that search to looking into the “i am” field so that the man is searching for users who under the label “I am” have woman.Just in my situation I am not using men and women, but instead other user roles. Please take a look and tell me why the matching is not happening. I made the fields into drop-down text boxes, like your demo, and it is still not matching users. Please take a look using the admin account I setup for you. Thanks!
October 11, 2013 at 00:24 #4148SQadminKeymasterHi, The login user/pass is not working any more.
To search for a value in another field you must choose your Matching fields in Sweetdate -> Buddypress otherwise it will act like a normal field. To be able to select them as Matching fields they must be textbox or selectboxHi 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.