• Hi,

    How do you force a user to login before they can use a contact form?
    I saw this setting: subscribers_only: true, however it only applies for “subscriber” role – my website has a few custom roles configured – any solution to this?

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    Thread Starter Elektra3

    (@elektra3)

    Hi Takayuki,

    Thank you, however when I tried this it didn’t work for me because my site has other user roles apart from “subscriber”….or am I missing something?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    You can use the subscribers-only mode with any user role, not only with Subscriber role, as written in the release announcement.

    Where can we see the website?

    Thread Starter Elektra3

    (@elektra3)

    Hm not sure why it didn’t work for me then… will need to test it again.
    So adding the “subscribers_only: true” in “addition settings” section should apply to any user role that is able to log in, is this correct? Even for custom roles defined in the wordpress theme?

    Website is in testing environment at the moment, so unfortunately you cannot view it at this time. Also we have CMP plugin enabled – perhaps this is causing some kind of conflict with verifying user login?

    I will try your suggestion again and see what happens…. 🙂

    Thank you, Takayuki! 🙂

    Thread Starter Elektra3

    (@elektra3)

    Hi again, Takayuki,

    After some testing I can confirm that the ‘subscribers_only: true’ setting ONLY works for subscriber role. If any other role is attributed to a user, the contact form won’t work, but when the user is assigned “subscriber” role – then it works. It won’t work for admin role either.

    Is there a way to open this function to ALL logged in users? It would be a really awesome feature to have!

    Regards,
    Elektra

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the website in question?

    Thread Starter Elektra3

    (@elektra3)

    The following plugins are active on the site which could potentially be causing an issue with compatibility:

    Admin Custom Login
    CMP – Coming Soon & Maintenance Plugin
    Remove Dashboard Access
    Wordfence Security
    WP Rocket
    WPS Hide Login

    There are other plugins, but I don’t think they could be conflicting…

    Are there any known issues that you may know of with these listed plugins that could be conflicting with this function?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Force user login’ is closed to new replies.