• Resolved graphichome

    (@graphichome)


    Love the simplicity of this plugin. My site has three different levels of users.

    Active paid users are S2Member Level 1
    Once they expire, they are demoted to Subscriber

    I enable this on specific account and nothing happens when logging in. Have tried adding for specific user levels in PHP but nothing. define(‘SS88_2FAVE_ENABLE_SUBSCRIBERS’, true);

    My site uses the standard wp-login.php login form.

    I really want this to work for me. Your help is appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @graphichome,

    This is my mistake! It looks like this feature was not integrated into the plugin. I’m so sorry about that.

    Allow me 30 minutes or so, and I’ll have a new version ready to update where this will be enabled for Subscribers. I will respond to this thread once the version has been released.

    Kind regards,
    Sully

    Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @graphichome,

    Version 1.7.1 has been released which includes this fix.

    Try now using define('SS88_2FAVE_ENABLE_SUBSCRIBERS', true); that should work as you expect.

    Let me know how you get on!

    Sully

    Thread Starter graphichome

    (@graphichome)

    Updated the plugin and logged in as the Subscriber and it’s lets the user right in without forcing a two factor code. The site acts like the plugin has nothing to do with logging in. Not sure where to go from here. If you are up for troubleshooting, I can give you credentials to the test site. Email me at [email protected].

    Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @graphichome,

    If you want to submit your details using this form, I would appreciate it: https://ss88.us/encrypted-data

    Sully

    Thread Starter graphichome

    (@graphichome)

    Thank you. Just sent the details.

    Plugin Author SS88 LLC

    (@ss88_uk)

    Thank you @graphichome,

    I have managed to debug this. It looks like there is another plugin or snippet of code overwriting the functionality of this plugin. If I set the plugin to ‘execute’ first, it works (the email and 2FA screen).

    If you received the email, did the one-click login link work for you? Was the Subscriber redirected to the correct page?

    Thanks,
    Sully

    Thread Starter graphichome

    (@graphichome)

    That did the trick and works great on this test site. How do I set the plugin to execute first on my live site?

    Thank you so much!!

    Plugin Author SS88 LLC

    (@ss88_uk)

    Hi @graphichome,

    If the website you provided was the live website, you do not need to do anything.

    If not, then you edit the plugin using the Plugin Editor and modify line 36; change this:

    add_action('wp_login', [$this, 'wp_login'], PHP_INT_MAX, 2);

    To this:

    add_action('wp_login', [$this, 'wp_login'], 1, 2);

    You should be good for now until I release another version. I just need to do some major testing first.

    Thanks!
    Sully

    Plugin Author SS88 LLC

    (@ss88_uk)

    Morning @graphichome,

    Version 1.8 addresses this issue. We have now set the $priority to 1 for the wp_login hook which which should solve this issue going forward.

    Let me know if there’s anything else!
    Sully

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Only works for Admins’ is closed to new replies.