Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter etravelreviews

    (@etravelreviews)

    Perhaps it’s helpful to show you the urls:

    The post:
    https://www.etravelreviews.com/comments/savannah/

    My page:
    https://www.etravelreviews.com/savannah/

    use login: mbudda
    pw: mbudda

    Goto my page, at the bottom, click to login, and it will return you to my page after login saying you still need to login.

    If you navigate directly to the post, however after logging in, it will give you the ability to add a comment / logout.

    This hinges on the code referenced above:
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>

    Thread Starter etravelreviews

    (@etravelreviews)

    To clarify, When the client calls the post, the server can tell the user is logged in. When the server calls the post as an include, the server can’t tell the user is logged in.

    When accessing the post directly, with a user logged in, this test fails (as it should) – comment registration is required:

    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>

    When the post is included in my page, and a user is logged in, the test validates (but it shouldn’t).

    Please help!
    ~marc

Viewing 2 replies - 1 through 2 (of 2 total)