tbenyon
Forum Replies Created
-
Forum: Plugins
In reply to: [External Login] Role settings not workingHey @lucasbelini,
Can you confirm you’re on version 1.9.0 of the plugin?
There was a fix for this in the most recent version of the plugin. If you are definitely on this version. I’ll take a deeper look and see if I can replicate.
For that it’d be great to know which web browser you’re using. Most of my testing was done in Chrome.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Role Mappings not being savedThanks for coming back to confirm itβs working and I really appreciate the review.
Thanks π
Forum: Reviews
In reply to: [External Login] Great Plugin, Awesome SupportReally appreciate you taking the time to write a review.
Good luck with your project π
Forum: Plugins
In reply to: [External Login] 502 errorHey @rafcioyt,
This is normally due to permissions on the external database.
Can you make sure the external database is allowing access from the WordPress server.
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Using existing dataI haven’t heard back so I’m assuming this is resolved.
If you have any further questions please don’t hesitate to get back in contact.
Kind regards,
Tom π
Forum: Plugins
In reply to: [External Login] Retrieve extra user fields from external databaseI haven’t heard back so I’m assuming this is resolved.
If you have any further questions please don’t hesitate to get back in contact.
Kind regards,
Tom π
Forum: Plugins
In reply to: [External Login] User is recreated at new loginI haven’t heard back so I’m assuming this is resolved.
If you have any further questions please don’t hesitate to get back in contact.
Kind regards,
Tom π
Forum: Plugins
In reply to: [External Login] Expiry date for membersHey @leifharmsen,
This feature has just been released in version 1.9.0.
I’ll mark this as resolved for now.
If you have any issues or further questions, please don’t hesitate to get back in contact here.
Kind regards,
Tom π
Forum: Plugins
In reply to: [External Login] Role Mappings not being savedHey @kosmic7 and @tschmoyer,
I’ve just released version 1.9.0 of the plugin.
I believe this solves the issue π
I would love to hear feedback to know if this is now resolved for you both.
For now, I will mark this as resolved but will change the status if you find further issues.
Thanks again for the beer support. Definitely increased speed of development π
Tom π
Forum: Plugins
In reply to: [External Login] Role Mappings not being savedReally appreciate it @kosmic7. π
Starting to look at this now before the kids wake up. Let’s see what I get done this morning π
Will keep you all posted over the weekend.
Forum: Plugins
In reply to: [External Login] Question on user nameThis is not currently supported.
I would be a little apprehensive to add this feature because this would dramatically decrease the security of a site.
I appreciate there are times when this would be deemed acceptable if no personal identifiable data could be viewed in the platform and the product owner was content with the hugely increased risk of people gaining access.
The other issue is that a password is not a unique identifier and WordPress requires a username to login.
You could make it so that everyone logs in as the same user but future issues with this depend on what functionality exist on the site regarding user control.
I guess that my current standing is that this is quite a unique use case and I would be uncomfortable making this a general setting as I would not want to encourage users to do this. Again, I do appreciate your use case may justify it.
At the moment I would say that if your use case does justify the drop in security and functionality that would come with it, you should get a developer to custom code this for you.
Always happy to discuss further, these are just my initial thoughts. π
Forum: Plugins
In reply to: [External Login] Role Mappings not being savedHey @kosmic7 and @tschmoyer,
Iβve got three changes going out with the next release.
Iβve completed two and this is the third. Weβve got a bank holiday here in the UK on Monday so Iβll strive to get this out by the end of the long weekend.
Really appreciate the beers @tschmoyer.
Iβll keep you both posted.
Tom
Forum: Plugins
In reply to: [External Login] Role Mappings not being savedInteresting – this seems to be an issue with newer versions of WordPress.
I haven’t found the exact breaking point but I can make this work and break this by changing versions.
I’ll start looking into this.
Thanks for flagging π
Forum: Reviews
In reply to: [External Login] Fantastic!!!Forum: Plugins
In reply to: [External Login] Expiry date for membersHey @leifharmsen,
Just a small update.
I’ve got a working copy of your feature.
I’m hoping to make another few small improvements to the plugin so to avoid users having to update twice I aim to release tomorrow evening or Monday.
Hope this works for you.
I’ve written some psudocode in documentation for the plugin using your example.
Basically it’ll look like the following:
————————————–
– exlog_hook_filter_custom_should_excludeThis hook allows you to add custom logic to exclude users.
I provides you with all the data for the user that is stored in the external database users table.
If you returntruefrom this function it will prevent the user logging in, and returningfalsewill bypass this
exclusion.For example, let’s say your external users table had a field called
expirywhich stored a date. In this example we
want to block users if they login after their expiry date.Adding the following to your
functions.phpwould achieve this:function myExlogCustomExcluder($userData) { return strtotime($userData['expiry']) < strtotime('now'); } add_filter('exlog_hook_filter_custom_should_exclude', 'myExlogCustomExcluder', 10, 1);———————————
If you’re interested to know what the code change was you can see the current code change here:
https://github.com/tbenyon/wordpress_external_login_plugin/commit/c20cb3d2b4ed887e9ffef87c31d1763c9b8f54d1Thanks,
Tom