tbenyon
Forum Replies Created
-
Forum: Plugins
In reply to: [External Login] Conflict with other plugin (Logged in)Hey @danilocubrovic,
That’s great news and thanks for sharing your code for others π
If it all works Iβd be grateful if you could write a review or even buy me a beer.
Good luck with your project π
Tom
Forum: Plugins
In reply to: [External Login] Roles not showingHey Rene,
Just came back to read your messages again.
So earlier you said “It works!! I am going to set it up now.”
I understand from the logs you’re still getting a few notices warnings and notices but these should not prevent the functionality of the plugin.
Please let me know if it is all working, and if not, please let me know what the issue is.
Thanks,
Tom π
- This reply was modified 5 years, 6 months ago by tbenyon.
Forum: Plugins
In reply to: [External Login] Paid Feature Request – Writing to external DBHi Ryan,
Unfortunately I am not allowed to contact people outside of this platform under the WordPress.org guidelines.
This is something I will be adding to the External Login plugin as a paid for version.
I am going to mark this as resolved for now as I think I have answered your question but I will endeavour to post back here once I have released the pro version to ensure you can access it and to hear if you required any features outside of the initial release.
Thanks,
Tom π
Forum: Plugins
In reply to: [External Login] using JIRA database (PKCS5S2)Hey @danielpat,
I’ve just spent some time Googling – I’m sure you already have too – but I’m not immediately finding anything useful.
If you can find/write some PHP to check that a password matches a PKCS5S2 hash and you need any advice on hooking that into the plugin flow for authentication I’m here to help π
Forum: Plugins
In reply to: [External Login] Roles not showingI’m working my day job at the moment but will try my best to get back to you this evening π
Thanks for sending an update. π
Forum: Plugins
In reply to: [External Login] Roles not showingAWESOME!!!
I’ve made loads of debugging statements in there so will have to tidy up before a release.
So glad we got it working for you. Sorry it’s taken so long – I appreciate your patience. Just so hard to resolve when I’m not sitting at your machine π
Certainly won’t mark this as resolved until you’ve tested, ensured you’re happy and then I’ve deployed it to the actual plugin.
Looking forward to hearing how your further testing goes π
Forum: Plugins
In reply to: [External Login] Roles not showingTry again now π
Forum: Plugins
In reply to: [External Login] Roles not showingHey Rene,
I’ve added a couple of commits that remove some warnings and add some additional logs.
Before you send me any logs -please make sure there is no personal information within.
Here’s the steps that you’ll need to take to test this:
1) Go here.
2) Click the green code button
3) Click Download Zip
4) Extract the zip on your computer
5) Copy the directory calledplugin-filesin the extracted folder.
6) Replace theplugin-filesdirectory with the same named directory in your version of the plugin on your test environment
7) Test to see if you experience anything different
8) Send me the logs (ensuring there is nothing that should not be made public) back here.Thanks Rene,
Tom
Forum: Plugins
In reply to: [External Login] Roles not showingHey @ketr64,
Thanks for this. Really interesting that it’s working in the above dropdown. Just to confirm, the ‘Unspecified roles’ setting is populating correctly however the drop downs in role mappings are not?
I wish I could contact you outside of the plugin so we could hop on a call together and debug this in no time but unfortunately I’m not allowed to give my contact details / contact you outside here as it breaks the WordPress.org rules π
In regard to which files to look into for this bug:
This file builds all of the mappings:
/views/form_elements/roles_fields_builder.phpThis file is the input field, drop down and delete button – used by the above file:
/views/form_elements/role_field.phpThe
exlog_get_wp_role_typesmethod (found here:plugin-files/tools/get_roles.php) is the one that grabs the WordPress roles. Here’s the function for quick reference:function exlog_get_wp_role_types() { global $wp_roles; if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); return array_reverse($wp_roles->get_names()); }I’ve started debugging further but have run out of time this morning.
Will hopefully send you instructions later on how to get hold of my debugging version π
Thanks Rene,
Tom
Forum: Plugins
In reply to: [External Login] Roles not showingHey Rene,
So the issue we have is I can’t replicate it. This would be so much easier if we could screen share but unfortunately that is not allowed π
I’m going to tell you my thought process and describe what I think we can do next to resolve these issues.
Firstly, I wonder if you have some corrupt data in your database for some reason.
My first suggestion would be to go to your
wp_optionstable and delete the option with nameexlog_roles_custom_fields. Then go back to the admin area and see if you get the data you hope to see.The second thought I have is to just double check that you have got data in the
wp_optionstable for the option namewp_user_roles. This is where WP stores the roles and I would have expected to see some standard ones in here at a minimum.The third thought – and I know it’s a pain when a developer suggests this – but can you disable other plugins and use the default theme just to make sure it’s not a side effect of another plugin / theme.
My next thought is regarding the errors you have specified above. I don’t believe that any of these would cause the issue you are describing however I have made some changes locally that should prevent those warning from appearing unnecessarily. I don’t know how comfortable you are technically but I was considering putting this, and an additional code change that would add more logging, into a branch on Github. If I gave you a link, would you be comfortable downloading the ZIP file, and extracting the files out of the
plugin-filesdirectory within and placing them over the top of your current files on a local or staging site.We could then see if a) The tiny checks I put in resolved your problem (I think unlikely) or b) you can re-load the page and give me information of additional logs to help diagnose where the issue could be.
Let me know your thoughts. These things are always so much easier if I can replicate but I’ve got the same PHP, WordPress and plugin versions installed as you have specified and it’s not bloody breaking! How annoying π
Thanks for your patience Rene,
Tom
Forum: Plugins
In reply to: [External Login] password resetHey @ketr64,
Just a small update regarding this post.
I’ve decided to release a Pro version of the plugin. I will not be starting any work on that until I have resolved your current issue with you.
However, I wanted you to know that this could possibly be a feature that I implement.
I will keep you posted but feel free to come back to me and query if you haven’t heard anything for a while.
I may also come back to your for advice on what you’d expect from the feature.
Will try and keep you posted π
Forum: Plugins
In reply to: [External Login] Roles not showingHey @ketr64,
Sincere apologies for not getting back to you at the weekend. I only found about 20 minutes of time over the weekend to look at this. I’m going to have a little look now so no update just yet but just wanted you to know I haven’t forgotten about you.
Thanks for your patience,
Tom
Forum: Plugins
In reply to: [External Login] Paid Feature Request – Writing to external DBHey @netflow,
Apologies for the delay in getting back to you.
This is actually slightly more complicated than it sounds. I go into some details about some of the considerations in this post.
I have decided to release a Pro version of the plugin and I am thinking this is going to be the first feature.
I am intending to start work on this at the weekend and I am going to leave this post open so that I don’t forget to keep you updated with progress.
I will probably come back to you with more questions as time progresses so that I can try and ensure the release caters for your specific needs.
I must be clear that I am not promising anything at this stage except for the fact that this is my current plan and I intend to keep you posted π
Thanks for the interest in the plugin and I’ll endeavour to get back to you at the end of the weekend. If I don’t, I certainly won’t be offended if you want to send me a chasing message for an update π
Thanks,
Tom
Forum: Plugins
In reply to: [External Login] Roles not showingThis is really useful thanks π
Will endeavour to have a good look at this by the end of the weekend.
Thanks for your support and patience π
Forum: Plugins
In reply to: [External Login] Roles not showingHmmm never heard that one before. If you could check your browsers console for errors thatβs be much appreciated.
Iβll try and see if I can replicate one evening. Can you confirm the versions of PHP, External Login and WordPress that you are using.
Thanks,
Tom