Front-End Only Users
[resolved] Revist login page after login still shows login form (4 posts)

  1. rcemory
    Posted 1 year ago #

    Test Condition: Two pages: one with [login] shortcode; the other with [restricted]stuff[/restricted]

    The restricted tag works fine before logging in.
    Step 1.
    After successfully logging in with name & password, first page shows new text "login successful" AND the login form. The second page shows the stuff between restricted tags.
    Step 2.
    Navigate back to first page ... and the login form still is present w/o the "login successful" message.

    I would like the login form to not appear after logging in Step 1 and in Step 2 while the cookie time out has not expired. Is that possible?


  2. rcemory
    Posted 1 year ago #

    If a page has the logout shortcode AND the frontend only user is logged out, the message "You have been successfully logged out." appears. Is it possible to suppress this message?

  3. rcemory
    Posted 1 year ago #

    Found the "How to know if the user is logged in?" support question and answer:

    $User = new FEUP_User();
    if ($User->Is_Logged_In()) {
    //do something
  4. Rustaurius
    Plugin Author

    Posted 1 year ago #

    Hi RC,

    It's not possible to suppress the logout message right now. It will be possible as of the update tonight (version 1.12). Were you able to resolve your initial issue? Sorry about the delayed reply.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic