Title: tbenyon's Replies | WordPress.org

---

# tbenyon

  [  ](https://wordpress.org/support/users/tbenyon/)

 *   [Profile](https://wordpress.org/support/users/tbenyon/)
 *   [Topics Started](https://wordpress.org/support/users/tbenyon/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tbenyon/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tbenyon/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tbenyon/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tbenyon/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tbenyon/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 574 total)

1 [2](https://wordpress.org/support/users/tbenyon/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/tbenyon/replies/page/3/?output_format=md)…
[37](https://wordpress.org/support/users/tbenyon/replies/page/37/?output_format=md)
[38](https://wordpress.org/support/users/tbenyon/replies/page/38/?output_format=md)
[39](https://wordpress.org/support/users/tbenyon/replies/page/39/?output_format=md)
[→](https://wordpress.org/support/users/tbenyon/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Fork support](https://wordpress.org/support/topic/fork-support/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/fork-support/#post-18623829)
 * I believe this got rolled into regular release. I would advise upgrading the 
   version on a test environment first to ensure everything works as expected.
 * Thanks,
 * Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Fork support](https://wordpress.org/support/topic/fork-support/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [9 months, 2 weeks ago](https://wordpress.org/support/topic/fork-support/#post-18621037)
 * Hi John,
 * I hope you’re well!
 * I no longer maintain this plugin. The current latest version is **1.11.2** and
   I don’t have plans to update it.
 * However, the code is Open Source if updates are needed and someone wants to do
   them.
 * Warm regards,
 * Tom Benyon
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Exclude Users functionality](https://wordpress.org/support/topic/exclude-users-functionality/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/exclude-users-functionality/#post-18001788)
 * Fantastic news. Good luck with your project.
 * If you get a minute to [write a review ](https://wordpress.org/support/plugin/external-login/reviews/#new-post)
   I’d be very grateful.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Exclude Users functionality](https://wordpress.org/support/topic/exclude-users-functionality/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/exclude-users-functionality/#post-18001078)
 * … and I forgot to say – Thank you for the beer 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Exclude Users functionality](https://wordpress.org/support/topic/exclude-users-functionality/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/exclude-users-functionality/#post-18001070)
 * Hey there Sascha,
 * I’ve not worked on this plugin for some time so apologies that my answer may 
   not be perfect.
 * As that is a beta feature it may not work, however it may not work well with 
   the empty state.
 * What I would be more confident would work would be the `exlog_hook_filter_custom_should_exclude`
   hook. Here’s the notes on it from the documentation:
 *     ```wp-block-code
       - exlog_hook_filter_custom_should_excludeThis hook allows you to add custom logic to exclude users.It provides you with all the data for the user that is stored in the external database users table.If you return true (or a string - see below regarding custom error messages) from this function it will prevent theuser logging in, and returning false will bypass this exclusion.For example, let's say your external users table had a field called expiry which stored a date. In this example wewant to block users if they login after their expiry date.Adding the following to your functions.php would achieve this:<br>function myExlogCustomExcluder($userData) {<br>return strtotime($userData['expiry']) < strtotime('now');<br>}<br>add_filter('exlog_hook_filter_custom_should_exclude', 'myExlogCustomExcluder', 10, 1);<br>Alternatively if you provide a string the user will be blocked and the string will be used as the error for the user.<br>function myExlogCustomExcluder($userData) {<br>return strtotime($userData['expiry']) < strtotime('now') ? 'Your account has expired' : false;<br>}<br>add_filter('exlog_hook_filter_custom_should_exclude', 'myExlogCustomExcluder', 10, 1);<br>
       ```
   
 * The below code is what I imagine would work for you but I haven’t done any testing.
 *     ```wp-block-code
       function myExlogCustomExcluder($userData) {    return empty($userData['email_verified_at') ? 'Your e-mail has not been verified' : false;}add_filter('exlog_hook_filter_custom_should_exclude', 'myExlogCustomExcluder', 10, 1);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] First login with email address](https://wordpress.org/support/topic/first-login-with-email-address/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/first-login-with-email-address/#post-17837523)
 * Hey there,
 * This was a personal project that I haven’t worked on for some years but I’ve 
   had a quick look for you.
 * Unfortunately it appears you are correct and this is a limitation of the software.
   Although you could choose which field is used as the “username” on the external
   database it doesn’t allow for two options (e.g. e-mail OR username).
 * This project is fully open source so if you are a developer or would like to 
   pay for a developer to add this feature the main logic would need adding here`
   plugin-files/login/db.php`
 * The repository can be found [here](https://github.com/tbenyon/wordpress_external_login_plugin).
 * If you have any other questions I’ll do my best to answer them.
 * Warm regards,
 * Tom 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Can’t Connect to MSSQL but no problem with MySQL](https://wordpress.org/support/topic/cant-connect-to-mssql-but-no-problem-with-mysql/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cant-connect-to-mssql-but-no-problem-with-mysql/#post-17716440)
 * that’s great news 😊
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] Can’t Connect to MSSQL but no problem with MySQL](https://wordpress.org/support/topic/cant-connect-to-mssql-but-no-problem-with-mysql/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/cant-connect-to-mssql-but-no-problem-with-mysql/#post-17711400)
 * Hi there,
 * You need to ensure sqlsrv is installed on your server.
 * Kind regards,
 * Tom
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17489427)
 * Also, what happens if you press the test button?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17489425)
 * Are you getting an error? What settings do you have configured in the first settings
   block?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17487462)
 * This is the default behaviour of the plugin so you simply need to fill in the
   rest of the settings.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17487263)
 * How to do what sorry?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17486734)
 * I’m assuming “Site A” is a site with existing users and “Site B” is where you
   will be installing this plugin and expecting users from “Site A” to be able to
   login to “Site B”.
 * If this is what you want this is exactly what the plugin does. It does not sync
   user changes back to site A. When a user logs into Site B, a clone of that user
   is migrated to Site B.
 * I think I’ve answered your questions so I’m marking as resolved but if you have
   any other questions please keep firing questions.
 * Thanks 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[External Login] transferring a username and password between 2 sites](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/transferring-a-username-and-password-between-2-sites/#post-17486635)
 * Hi there,
 * If you mean the stored hash in the local database is different to the external
   database, this is by design.
 * The external database could be using a different hashing algorithm to that which
   WordPress uses (bcrypt). Thus we always use WordPresses hashing (bcrypt) when
   storing the password. This also means that if the security of bcrypt is updated(
   e.g. more rounds) we still store the password in the most secure way.
 * I’m sure you’re aware but even if you use bcrypt twice to store the same password
   you will get different hashes as a new salt is used every time.
 * Regarding the second question, you are correct. Please read the “Is this plugin
   what I need?” section in the documentation. If you are looking for Single Sign
   On you should be looking at a different solution.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[External Login] What a piece of plugin!](https://wordpress.org/support/topic/what-a-piece-of-plugin/)
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/what-a-piece-of-plugin/#post-17482715)
 * Hey Dario,
 * Thanks for the positive feedback.
 * To answer your question, the answer is no not really. To have a logged in session,
   WordPress relies on their being a logged in user stored.
 * You could theoretically use the hook [exlog_hook_action_authenticated](https://wordpress.org/plugins/external-login/#what%20hooks%20are%20available%20in%20the%20external%20login%20flow%3F)
   to annonomise the login details or something? I don’t know your use case for 
   not wanting the users stored there.
 * Thanks,
 * Tom
    -  This reply was modified 2 years, 3 months ago by [tbenyon](https://wordpress.org/support/users/tbenyon/).

Viewing 15 replies - 1 through 15 (of 574 total)

1 [2](https://wordpress.org/support/users/tbenyon/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/tbenyon/replies/page/3/?output_format=md)…
[37](https://wordpress.org/support/users/tbenyon/replies/page/37/?output_format=md)
[38](https://wordpress.org/support/users/tbenyon/replies/page/38/?output_format=md)
[39](https://wordpress.org/support/users/tbenyon/replies/page/39/?output_format=md)
[→](https://wordpress.org/support/users/tbenyon/replies/page/2/?output_format=md)