lukeseager
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Persistent Login] PHP Warning on debugGreat! Glad it’s sorted.
Thanks, this is being looked into for you at the moment.
Hi,
Are you able to confirm which version of WP your running? And also what version of PHP your website is on?
Thanks,
LukeHi there,
Sorry for the issue you’ve been having, I haven’t come across this myself before, but I’ll look into this and push an update as soon as I can.
Thanks,
LukeForum: Plugins
In reply to: [WordPress Persistent Login] Is this plugin compatible with Redis?Hi Jonathan,
I have to say that I’ve never used Redis or Varnish myself, I’d be interested to find out if it works though, have you tested the plugin on that kind of setup yet?
The plugin taps into WordPress hooks to do it’s thing, specifically wp-login and wp. The cookies are controlled through PHP, there’s no JS at work in the plugin. Just a bit of background info for you.
If you’d like to give it a test I’d like to hear how it got on.
Forum: Plugins
In reply to: [WordPress Persistent Login] Plugin not workingHi Geej,
I’m sorry to hear you’re having trouble with the plugin.
So we know if the conflict is with Wishlist, are you able to try logging into your website with Wishlist deactivated? Then we’ll know that the conflict is definitely with that plugin and I can look for a fix for you.
Forum: Plugins
In reply to: [WordPress Persistent Login] How does it work?Hi there Hector,
Thanks for getting in touch. Happy to give you some more information about the plugin.
The table in the database allows the plugin to keep track of who’s logged in efficiently. The data in there includes user id, user-agent info, IP address and a timestamp. This data is used in 2 ways, the first is in the wp-admin plugin settings, where you will see the anonymous data displayed about how many users are logged in, and how many different devices are logged in. The plugin will show you how many administrators, editors, subscribers etc. are being kept logged in by the plugin.
In the future, I want to allow the option of having a ‘manage my logins’ page on the front-end of websites, so that your users can manage all of their sessions across different devices. Eg. if they were logged in on their phone and then lost it, they could log-out of their phone from their laptop.
This leads nicely onto your question about cross device support. You’re right, a cookie on one device can’t work on another. The plugin keeps track of multiple logins for the same user. You can test this out by logging into your account on your laptop/pc then also logging in on your phone. You should then see ‘1 user logged in across 2 devices’ on the settings page.
So, all in all, a user logs in, they get the usual WordPress cookies, and they also get some cookies from this plugin. Those cookies hold encrypted data which includes user id, user-agent info and a key to check against the db record to ensure we’re keeping the right user logged in. We also store timestamp and IP, which I’m hoping to make use of in the near future with a ‘manage my logins’ front-end page.
I hope that helps to clear things up?
Thanks,
Luke- This reply was modified 6 years, 3 months ago by lukeseager.
Forum: Plugins
In reply to: [WordPress Persistent Login] Not working between browser sessionsHi there Justin, sorry to hear the plugin isn’t working as expected on your site.
Are you able to provide some information about your setup? Eg. What browser/OS your using and what other plugins you have running?
Thanks
Forum: Reviews
In reply to: [WordPress Persistent Login] GreatHi Gary,
Interesting suggestion about allowing the same person to have multiple persistent logins for the same website. If I’m understanding correctly?
Do you often have multiple accounts for the same website? Or do you often see users registering more than once for a particular reason?
After researching and testing, with the help of Paul (much appreciated!) I can confirm that this bug has been fixed.
The fix will feature in the next update of the plugin in the coming days.
Thanks again to Paul for his assistance.
As an update for the thread after some email corrospondence with Paul: The bug seems to be limited to Linux operating systems whilst running the auto login plugin.
Further testing is taking place to fix this bug.
That is a big list! I’ll run a test on the login related plugins to see if I can find a culprit.
I am going to add a hook to the plugin for developers to set the persistent login for a user, so worst case you should be able to add some code to your functions.php to force the persistent login.
Hi Paul,
I’ve just had a go at testing out the Auto Login New User After Registration plugin on some test space.
When testing, after registration the WP Persistent Login cookies were set. After restarting the browser, I was automatically logged back in again.
There must be something else afoot here. Are you able to list all of the plugins you have running please?
EDIT:
I have just had a go at registering on the website in question, and I can see that it’s not setting the Persistent Login cookies. I did notice that the registration form only has the email field as an option and the form code looks a lot different to what I have on my test space (I may be looking at the wrong form though if you’re just testing out Auto Login After Registration).Feel free to contact me via email to discuss specifics about your setup if you’d like to.
- This reply was modified 6 years, 5 months ago by lukeseager. Reason: Additional information
Hi there Paul, thanks for your support for the plugin, I’m glad you’re finding it useful.
I will investigate the issue with Auto Login New User After Registration for you, I would like add support within the plugin, rather than provide additional functions/workarounds.
However, it might be a good idea for me to provide some hooks for developers, i’ll add it to the features list!
I’ll report back once I have a solution for you.
Thanks for the kind review. Always happy to help support other plugins where I can.