• Log In
  • Welcome
  • Features
  • Pricing
  • Documentation
  • Add Ons
  • Payment Gateways
  • Showcase
  • Plugin Demo
  • Support
  • Blog
  • Contact

Log In


Join Now | Lost Password?

Skip to content

Paid Memberships Pro

WordPress Membership Plugin
  • Log In
  • Register
  • Features
    • Plugin Overview
    • PMPro Reviews
    • Screenshots
    • Demo
    • About
  • Pricing
  • Docs
    • Download & Install
    • Initial Setup
    • Membership Levels
    • Payment Gateways
    • Blocks and Shortcodes
    • Content Controls
    • Customizing Emails
    • Languages
    • Discount Codes
    • Caching
    • Actions & Filters
    • Step-by-Step Guides
    • View All Docs
  • Add Ons
  • Themes
  • Gateways
    • PayPal
    • Stripe
    • Authorize.Net
    • Braintree
    • 2Checkout
    • CyberSource
    • Add a New Gateway
  • Support
  • Videos
  • Showcase
    • Member Stories
    • Sites
    • Testimonials
    • Reviews
  • Blog
Home  /  Blog  /  Allow a Specific Number of Active Sessions with a Single User Account (Useful for Corporate, Education or Group-type Memberships)

Allow a Specific Number of Active Sessions with a Single User Account (Useful for Corporate, Education or Group-type Memberships)

Posted in Add Ons, Recipes

If you offer bulk membership to corporate, education, or other group-type customers, this code recipe (which works in conjunction with the WP Bouncer plugin) will allow you to limit active sessions for a single user account.


How it Works

The code recipe filters wp_bouncer_number_simultaneous_logins to allow a defined number of active “sessions”. It requires the WP Bouncer plugin to be installed and activated.

This code recipe requires a PMPro Plus Account or higher.

View Membership Options


Making this a more robust “Student Accounts” add on

We’re working on a more streamlined way to create student/group accounts. Our Sponsored Members add on currently allows a parent account to purchase seats for “X” child accounts, but each account has a unique log in. The parent account receives a code they can distribute to the team that allows them to create a membership account for the defined level.

A true “Student Accounts” add on would work in a similar nature, but would create the student account immediately at registration. The student account credentials could be distributed among a team, class, corporation, or other group. When a user is logged in via this group account, they would be restricted from updating the user profile (password, email address, display name, etc.) or membership account (change level, access billing information, or cancel membership).

Other ideas for this add on could include a way for the parent account to “update” the password, thereby blocking all current people with the log in information and allowing them to redistribute the login with new credentials.


If you could use a “Student Accounts” add on for your site, please post a comment below with some other ideas and features that would be useful.

Tagged corporate account, groups, limit logins, protect, restrict, student accounts, wp bouncer. Bookmark the permalink. Last updated: September 16, 2015. Titled Allow a Specific Number of Active Sessions with a Single User Account (Useful for Corporate, Education or Group-type Memberships)

Post navigation

← Change the PayPal Button on Membership Checkout
Resolving Memory Issues When Exporting the Members List or Orders to CSV →

Subscribe now for content that helps you design, grow, and optimize your membership site.
We send 1-2 emails per week.

Log In


Join Now | Lost Password?

How to Add Custom Fields using Register Helper.

Categories

  • About PMPro (206)
  • Action and Filter Hooks (7)
  • Add Ons (153)
  • Business (68)
  • FAQ (83)
  • Marketing (10)
  • Member Experience (17)
  • Memberlite (26)
  • News (18)
  • PayPal (11)
  • Plus and Unlimited Member Content (203)
  • Recipes (305)
  • Release Notes (171)
  • Showcase (12)
  • Tools (2)
  • Troubleshooting (42)
  • Videos (21)

100,000+ sites use Paid Memberships Pro to #GETPAID

Select a membership to get started.

Free Signup
Plus: $297
Unlimited: $597

We’re 100% GPL

Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. License Details »

GPL v2

Recent Posts

  • Jason Coleman
    PMPro Update 2.5.5
  • Banner Graphic for Automatically Cancel Membership After Failed Payment
    Automatically Cancel Membership After Failed Payment
  • Banner image for recommended methods for user avatar management in WordPress membership sites
    Recommended Plugins for WordPress User Avatar Support in Your Membership Site

Platform

  • Pricing
  • Features
  • Screenshots
  • Videos
  • Compatibility

Add Ons

  • Free
  • Plus
  • User
  • Integration
  • View All

Get Help

  • Open a Support Ticket
  • Documentation
  • Developers
  • Blog
  • Contact Us

Company

  • About Us
  • Work with Us
  • Brand Assets
  • Affiliates
  • Privacy Policy
Follow Us On

© 2021 Paid Memberships Pro. All Rights Reserved.

Back to Top