For those who have doubt if this plugin still work on wordpress 5.9, it seems to still work on it, I tried it, and indeed it log me out on not the last logged in computers.
I guess the wp function used to do the hook in this plugin haven’t changed since this years
]]>Hi!
Love this plugin because I really need it but i’m afraid when I see this notice here :
This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
No update needed ? Should be good to update almost to confirm full compatibility (I guess)
??
]]>Hi!
Works Fine with WP 4.8.1 ?
]]>Hi, in this post, you describe the plugin as working for the newest login. I need the reverse (long story), and, to warn any following attempt to login that the account is currently in use (check back later). Possible to do, and at what cost? Thanks.
]]>Hello,
Is the plugin ready for php 7 ?
Thanks
]]>Hello,
I added code to your plugin to display a warning message whenever a new user tries to login concurrently. However, I can’t get the message to display consistently. Any ideas?
See code below:
$session = pcl_get_current_session();
if ( $session[‘login’] === $newest ) {
wp_destroy_other_sessions();
echo “<script type=’javascript’>alert(‘Your account is currently logged in from another device. The other session will end now and the user will be logged out’);</script>”;
/**
* Fires after a user’s non-current sessions are destroyed
*
* @since 0.3.0
*
* @param int $user_id ID of the affected user
*/
do_action( ‘pcl_destroy_other_sessions’, $user_id );
} else {
wp_destroy_current_session();
/**
* Fires after a user’s current session is destroyed
*
* @since 0.3.0
*
* @param int $user_id ID of the affected user
*/
do_action( ‘pcl_destroy_current_session’, $user_id );
}
}
]]>Hello,
We run a business with paywalled content and would like to set a limit on the number of different users that can be logged in under one account. Is there a standard limit that the plugin offers and if so, is there a way to adjust that limit to say 4 or 5 concurrent logins?
Also, what is the message that displays to a user when they reach their limit of logins? Can that message be adjusted as well?
Thanks in advance!
Travis
]]>Hi
The plugin looks great! I wondered if this plugin has been tested/is compatible with LifterLMS?
Thanks,
Dave
]]>Hi,
It works great most of the time.
However it stops working when you embed a Wistia video in the post and when you are watching it.
https://wistia.com/labs/resumable/
Only in this case, users are permitted from multiple logins from multiple devices. Why is this happening?
Thx. Ryu
]]>It does not work for me, I am using the plugin “Ultimate Membership Pro” (https://codecanyon.net/item/ultimate-membership-pro-wordpress-plugin/12159253) and not work because it allows me to login from my PC and from my phone without locks, is there anything else I should do or configure it to work? Thank you.
]]>Hey Frankie – awesome work!
Just wondering if it’s possible to increase the number of concurrent logins allowed by the users? I’d ideally like all my users to be allowed 3 concurrent sessions before they get logged off.
If not, do you know of a way in which it’d be possible that I can invesstigate?
]]>Hi,
I like this plugin very much!
But, and I’m not a Worpress or PHP ninja, is it possible to give a user a message when he/she attempts to login.
It would be great, imho, when user A logs in there would be a message like ‘Sorry, you are already logged in’ on the login screen when someone else with the same credentials is already logged in.
This would be more user-friendly then logging them in, and the other user (who has used the same credentials) gets a login screen when he/she changes pages. That other user might not be aware of the fact that someone else is also logged in with the same credentials and thinking ‘what’s wrong with this site…I’m logged in correctly’.
Is this possible, can this be done, and how can this be done.
]]>Dear,
Is it possible to invalidate the credentials if concurrent logins are tried?
Thanks a lot,
Jose
]]>Please delete this ticket.
]]>I just installed this plugin. Now when I log on to my web site as an admin, the only thing I can do is view the dashboard. When I click on anything in the dashboard, I get logged off so I can no longer work on my web site. Is there a way for me to deactivate this plugin so I can manage my web site, or is there a fix for this problem?
]]>Hi Frankie,
Great plugin! I was wondering if it were possible to notify the site admin if a users session was ended more than a certain number of times.
Say if they’re session was terminated more than 10 times? My client is looking to keep possible abusers of the membership program on her radar.
Great work!
]]>Hey! First, great plugin!
I got a membership area where I can generate circles / groups. Any idea how I could allow certain group_id concurrent logins? They have all the same role: “Clients”. (Idea behind: Privat group disable concurrent login, school group enable concurrent login.)
I have created a plugin to bypass the admin role but it does not work, admin still limited..
here is the code I used:
<?php
function pcl_bypass_roles( $user_id ) {
$whitelist = array( 'administrator', 'editor' ); // Provide an array of roles to bypass
$user = get_userdata( $user_id );
$roles = empty( $user->roles ) ? array() : $user->roles;
$intersect = array_intersect( $roles, $whitelist );
if ( ! empty( $intersect ) ) {
return false;
}
return true;
}
add_filter( 'pcl_prevent_concurrent_logins', 'pcl_bypass_roles' );
?>
]]>
I’ve succesfully installed and activated the plugin, the login process works but then I’ve to login again for every next page.
We’re hosted on WP Engine, they’re using a custom WP MU.
Is it a known bug?
Thank you
F.
]]>How do I implement the function in your FAQ section for allowing concurrent logins for some users?
function pcl_bypass_admins( $user_id ) {
$user = get_user_by( 'id', absint( $user_id ) );
if ( ! empty( $user->roles[0] ) && 'administrator' === $user->roles[0] ) {
return false;
}
return true;
}
add_filter( 'pcl_prevent_concurrent_logins', 'pcl_bypass_admins' );
I’m not a coder. Where specifically do I add the user id that i want to allow concurrent logins?
]]>Is there a way to add the admin override to the plugin and not the theme?
]]>When I enabled the plugin, the plugin works very well. Even when its network enabled. The problem I have is that my extra sites are loading using other domains and that they keep getting logged out after visitng the main site.
Let me clarify this:
Basically I’m in subsite.domain.com/wp-admin/
I go to subsite.com. Meanwhile domain mapping will automatically login for me.
When I go back to subsite.domain.com/wp-admin/ I need to login again.
Help guys?
]]>Hello,
Your plugin is great, however would it be possible to control the number of concurrent logins for a particular account?
For example i want to be able to limit maximum of 50 concurrent logins for accountx.
Thanks
]]>Hi,
Does this plugin detect users by IP address? I’d like to allow users to have more than 1 tab open in a browser, or potentially access my site from a desktop/laptop and a mobile device concurrently; however, I wouldn’t want users to share log-in information (i.e., access from different IPs). Does this plug-in do that?
I saw a review that mentioned a feature that allows certain accounts to have multiple log-in sessions, but I didn’t see the settings for it when I installed the plug-in. As an administrator I need to be able to have multiple tabs/windows open at a time,and the plug-in wasn’t allowing that so I’ve deactivated it awaiting your reply.
Thanks!
]]>The plugin works fantastically. But I was wondering if there is a way to flash a message to the user as of why he/she got logged out.
I currently have a membership site. When they get logged out, they are redirected to the home page. I want the message to show that they are not allowed to share login info and they were logged out automatically due to this.
]]>I have installed the plugin and activated it but I can’t see that it is doing anything, but I may be misunderstanding how it is meant to work so thought I would check! I have created a test user that has the role of “Subscriber”. I then log in with this user’s credentials in Firefox. If I then try to log in with the same user in Chrome it logs in fine.
Should it prevent me from doing this or is it working off ip address or something only so browser session is irrelevant?
Thanks
]]>