This topic has 11 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #204884
     tulipwork
    Participant

    Hi,

    I’m looking for a way to restrict user profiles to only logged in users. I parameted the Membership plugin and Membership tab in Sweet Date settings, but currently the logged out users are being redirect to “choose membership level” and not to the classical buddypress registration. Why ? I thought that there was first the BuddyPress registration, and then the membership payment?

    Thanks for helping.

    #204899
     Kieran_SQ
    Moderator

    Hi,

    To force using the BuddyPress registration process you will need to install the Paid Memberships Pro BuddyPress Integration plugin.

    Plugin: https://wordpress.org/plugins/pmpro-buddypress/
    Information: https://www.paidmembershipspro.com/add-ons/buddypress-integration/

    Thanks,

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #204909
     tulipwork
    Participant

    Hi again,
    Thanks for your great support!
    I just installed Paid Memberships Pro BuddyPress Integration plugin, and parameted it. But on the members page, when the logged out user clicks on a profile, it’s showing the “choose membership level” and not the BuddyPress registration. When the customer choose his membership level, he’s redirected to Membership Checkout, with BuddyPress username, pass and e-mail fields, and credit card fiels. The “checkout” button is showing (whereas before it was not showing, cf the other ticket).
    Is it the normal registration process with Sweet Date ? Or it should before display the BuddyPress registration first, and then when the user is logged in, members ship payment?*

    Thanks.

    #204910
     Kieran_SQ
    Moderator

    Hi,

    Did you select the option within the plugin to use the BuddyPress registration process instead of the Paid Memberships Pro?

    Memberships > PMPro BuddyPress > Option: ‘Registration Page’ > Select: ‘Use BuddyPress Registration Page’

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #204911
     tulipwork
    Participant

    Absolutely.

    #204912
     Kieran_SQ
    Moderator

    Hi,

    Can you try testing this in Google Chrome Incognito or Firefox InPrivate mode? When I try to access the users profile https://hawalove.com/members/wpengine/ I am redirected successfully to https://hawalove.com/register/ to begin the BuddyPress registration process.

    I have attached a gif to show the current behavior.

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    Attachments:
    You must be logged in to view attached files.
    #204915
     tulipwork
    Participant

    You are right, the problem has been fixed! Then WP Engine did the necessary for Paid Membership plugin. So everything is working now!
    Thank you so much for your great support!!

    #204916
     Kieran_SQ
    Moderator

    Hi,

    Very happy to hear this is now working for you! Feel free to open a new ticket any time with any other questions or issues and we’ll be happy to help.

    Also, please consider leaving the support you have received and/or SweetDate a review on ThemeForest. Every review helps.

    All the best with your site,

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #204917
     tulipwork
    Participant

    I just notice that when I try to access the users profile in the ENGLISH version as a logged out user, I’m redirected well to the BuddyPress registration.

    But when I do the same on the FRENCH version, I have the membership choose level, rather than the BuddyPress registration… Do you know why?

    Thank you again!

    #204918
     Kieran_SQ
    Moderator

    Hi,

    I’m sorry, I should have checked the other languages too. I’m not 100% sure on why this is happening so I am going to refer this directly to one of our developers who will be in touch with you as soon as they can, Monday to Friday, East European Time.

    Thank you very much for your continued patience whilst we work this out.

    Kieran

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

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #204920
     tulipwork
    Participant

    No problem, I’m going to wait, thank you very much!

    #205004
     Radu
    Moderator

    Hi,

    Using the next snippet simply all guests will be redirected to /register/ page but allow the homepage to be viewed also for guests

    COPY CODE
    
    function sqr_prevent_search_guest_user() {
        if ( class_exists( 'BuddyPress' ) ) {
            if (!is_user_logged_in() && !is_front_page() ) {
                wp_redirect(home_url() . '/register/');
                exit;
            }
        }
    }
    add_action('template_redirect', 'sqr_prevent_search_guest_user');
    

    Code will be added to wp-contnet/themes/kleo-child/functions.php

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?