• Resolved jcorder02

    (@jcorder02)


    Hello so I have made a registration page that I would like people to fill out, however with the members plugin I am getting redirected back to the login page. Is there a way that I can allow people to view my registration page (only) without being logged in? Thank you for the help

    EDIT: So I see in the README.md that there is shortcode for members_not_logged_in. So my question now is where do I put this for logged out people to view a page. I will be working on it and update if I find a solution. Thank you

    EDIT: I have still not found any information on how to just have one page visible with “Enable Private Site” enabled.

    • This topic was modified 3 years, 6 months ago by jcorder02.
    • This topic was modified 3 years, 6 months ago by jcorder02.
    • This topic was modified 3 years, 6 months ago by jcorder02.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jcorder02

    (@jcorder02)

    I found this function and have tried to use “bp_is_current_component” and changed it out with “bp_is_register_page” but got an error. (code inserted below)

    function members_is_private_page() {

    $is_private = true;

    if ( function_exists( ‘bp_is_current_component’ ) && ( bp_is_current_component( ‘register’ ) || bp_is_current_component( ‘activate’ ) ) )

    $is_private = false;`

    Any help would be greatly appreciated.

    • This reply was modified 3 years, 6 months ago by jcorder02.
    Thread Starter jcorder02

    (@jcorder02)

    EDIT: So I found the answer I was looking for here
    https://www.ads-software.com/support/topic/exlude-a-page-from-private-website/

    Thank you for answering it here. Took me some time to find it but this was the solution.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allowing logged out users to view one page’ is closed to new replies.