Plugin info

Total downloads: 17,073
Active installs: 1,000
Total reviews: 17
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 2
Last updated: 8/16/2016 (3424 days ago)
Added to WordPress: 12/31/2014 (11 years old)
Minimum WordPress version: 4.1
Tested up to WordPress version: 4.6.30
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3424 days ago • 17 reviews

24/100

Is Prevent Concurrent Logins abandoned?

Possibly abandoned (last update 3424 days ago).

Compatibility

Requires WordPress: 4.1
Tested up to: 4.6.30
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Sensei LMS Post to Course Creator
Rating 0.0/5 (0 reviews)Active installs 1,000
Sensei LMS Modules for Divi
Rating 5.0/5 (1 reviews)Active installs 300
Element Lesson Timer for Sensei
Rating 5.0/5 (3 reviews)Active installs 100
BuddyPress for Sensei
Rating 4.7/5 (12 reviews)Active installs 90
Course Wizard for Sensei
Rating 0.0/5 (0 reviews)Active installs 70
Genesis Connect for Woothemes Sensei
Rating 5.0/5 (4 reviews)Active installs 40

Description

Did you find this plugin helpful? Please consider leaving a 5-star review.

  • Deters members/subscribers from sharing their accounts with others
  • Hardens security by destoying old sessions automatically
  • Prompts old sessions to login again if they want to continue
  • Ideal for membership sites and web applications

Important: If you plan to network-activate this plugin on a multisite network, please install the Proper Network Activation plugin beforehand.

Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.

Installation

No installation instructions available

Frequently Asked Questions

Where are the options for this plugin?

This plugin does not have a settings page. Simply put, I don’t like bloating my plugins with a bunch of options.

Instead, I try to develop functionality using the 80/20 principle so that for 80% of use cases you all you need to do is activate the plugin and it “just works”.

For the other 20% of you who want things to behave differently there are hooks available in the plugin so you can customize default behaviors.

Can I still allow concurrent logins for certain users?

Yes, simply add this code to your theme’s functions.php file or as an MU plugin:

function my_pcl_whitelist_user_ids( $prevent, $user_id ) {

    $whitelist = array( 1, 2, 3 ); // Provide an array of whitelisted user IDs

    return in_array( $user_id, $whitelist ) ? false : $prevent;

}
add_filter( 'pcl_prevent_concurrent_logins', 'my_pcl_whitelist_user_ids', 10, 2 );

Or this code to bypass users with certain roles:

function my_pcl_whitelist_roles( $prevent, $user_id ) {

    $whitelist = array( 'administrator', 'editor' ); // Provide an array of whitelisted user roles

    $user = get_user_by( 'id', absint( $user_id ) );

    $roles = ! empty( $user->roles ) ? $user->roles : array();

    return array_intersect( $roles, $whitelist ) ? false : $prevent;

}
add_filter( 'pcl_prevent_concurrent_logins', 'my_pcl_whitelist_roles', 10, 2 );

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

0.4.0 – October 16, 2015

  • Official support for WordPress 4.3

Props fjarrett

0.3.0 – May 4, 2015

  • Action hooks now available after sessions are destroyed for logging purposes (#4)

Props fjarrett

0.2.0 – January 28, 2015

  • Destroy old sessions for all users upon activation

Props fjarrett, chuckreynolds

0.1.1 – January 2, 2015

  • Added filter to allow certain users to have concurrent sessions when necessary

Props fjarrett, nutsandbolts

0.1.0 – December 31, 2014

  • Initial release

Props fjarrett