• Resolved AWOL

    (@awol)


    Hi,

    This isn’t really a big issue, but I would appreciate some assistance. I am using the [swpm_login_form] shortcode in a popup that appears when users click a login link, and everything works fine, but I would like to change the behaviour with the form once the user is logged in. As it stands the popup window appears again with the logged in details, which I have no need of and is, frankly, a bit of an irritation, so is there any way to prevent that happening and just have the login occur without that? Would after login redirection prevent this, not that I actually want to redirect? Or is there some kind of filter or function I can add to my child theme functions to stop it? I have had a look through the plugin files and the file being called is loggedin.php (in views) and it is being called from public function login() in classes/class.simple-wp-membership.php, but I don’t know what code I would need to interrupt this.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us. Please check the following documentation. Let me know if this is what you are looking for.

    https://simple-membership-plugin.com/adding-mini-login-widget-sidebar-header-footer/

    Kind regards.

    Thread Starter AWOL

    (@awol)

    Hi @mbrsolution,

    No, unfortunately that isn’t relevant. I want to use the shortcode [swpm_login_form], and just want to stop it calling the loggedin.php output after successful login as I just don’t need any confirmation or output to screen as this is displayed elsewhere. Once the user clicks Login I just want the popup box containing the login form to disappear and not appear again with the logged in details. I just need to know how to interrupt that flow I think but I need help in how to code that.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for providing more information. I have submitted a message to the developers to investigate further your request.

    Kind regards.

    Plugin Author wp.insider

    (@wpinsider-1)

    Using after login redirection will be the best option for what you explained. Try that addon (if you haven’t already) to see how that goes for you. The addon is free so you can use it and then if it doesn’t work, you can deactivate it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login form in popup’ is closed to new replies.