This topic has 5 replies, 2 voices, and was last updated 6 years by Laura.

  • Author
  • #200140
     lusien
    Participant

    Hi,

    In the KB I have found an interesting article about how to restrict users access to my site and redirect them to register page (https://archived.seventhqueen.com/general/article/private-community-site-redirect-guests-register-page). This is working actually fine, however, when a user tries to activate the link he received after he registered he is redirected to the registration page. The is not able to activate his account.

    Can you maybe update the KB article to include this part: allow the activation of the account?

    Thanks.

     

     

    #200141
     lusien
    Participant

    For reset password link I see exactly same issue with the code from the KB. User receives a link like following:

    https://mysite.com/resetpass/?key=qKFDOg62xA1adsHc0On5&login=xxx

    and when clicked the user is redirected to the registration page instead of the reset page.

    Thanks for looking into this as well.

    #200182
     Laura
    Moderator

    Hello, try using the plugin RESTRICT MY SITE instead of that code

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

    #200238
     lusien
    Participant

    Hi Laura,

    I could not find any plugin with the name you have provided. Can you please send me the link?

    Thanks.

    #200253
     lusien
    Participant

    Hi Laura,

    I was able to solve the issue by myself. I had to deactivate the “Theme My Login” plugin and than the code above worked also for the reset password. For activation page I used a buddypress function bp_is_activation_page() to allow users reaching this page when they are not logged in.

    Regards.

    #200284
     Laura
    Moderator

    Glad you could resolve it! 🙂

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

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

    Always happy to help you 🙂

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?