This topic has 13 replies, 3 voices, and was last updated 11 years by kiko46.

  • Author
  • #3805
     kiko46
    Participant

    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!

    #3817
     SQadmin
    Keymaster

    Hi,
    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 solution
    #3931
     kiko46
    Participant
    This reply has been set as private.
    #3961
     SQadmin
    Keymaster

    You 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 solution
    #3972
     kiko46
    Participant
    This reply has been set as private.
    #4004
     Anchora
    Participant

    Here 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..)

    #4011
     SQadmin
    Keymaster

    Hi,
    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 happening

    That is ok.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4016
     kiko46
    Participant

    Thanks! Please let me know how it goes.

    #4020
     kiko46
    Participant

    Hey, 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.

    #4104
     kiko46
    Participant

    hey 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!

    #4125
     SQadmin
    Keymaster

    Hi, 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 solution
    #4137
     kiko46
    Participant

    Hey, 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!

    #4148
     SQadmin
    Keymaster

    Hi, 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 selectbox

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4204
     kiko46
    Participant

    Thanks, fixed it.

Viewing 14 posts - 1 through 14 (of 14 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?