Concurrent Users, Free Trial Limits & Multi-Subscription Setup

  • Rusty
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
17 hours 57 minutes ago #177804 by Rusty
I’m currently rebuilding a legacy Joomla 3 system into Joomla 5 using Membership Pro, and I want to make sure I design this cleanly using core functionality where possible (avoiding custom hacks unless absolutely necessary).I’d really appreciate your guidance on a few areas before I finalise the architecture.1. Concurrent User Limits (Simultaneous Logins)We need subscriptions to define how many concurrent users (active sessions) are allowed.Example:
  • Subscription allows 3 concurrent users
  • If a 4th user logs in, we either:
    • Block the login, or
    • Invalidate the oldest session
Questions:
  • Does Membership Pro support limiting concurrent sessions per user/account out of the box?
  • If not, is there a recommended way to implement this using plugin events?
  • Any best practice for handling session tracking in this scenario?
2. Multiple Subscriptions / BundlesWe have:
  • Individual subscriptions (e.g. single publication)
  • Bundles (access to multiple publications)
Questions:
  • Can Membership Pro handle multiple active subscriptions per user cleanly?
  • If a user has multiple subscriptions, is there a built-in way to:
    • Combine entitlements, or
    • Prioritise one subscription?
  • Would using custom fields on subscription plans be the best approach for storing things like “concurrent user limit”?
3. Free Trial (Time + Usage Limits)We need:
  • Immediate access on registration
  • Time-limited trial (e.g. 14 days)
  • Usage limit (e.g. 200 article views)
Questions:
  • Membership Pro handles time-based expiry, but is there any built-in way to track usage (e.g. article views)?
  • If not, what would you recommend as the best approach?
    • Custom plugin?
    • Custom database table?
  • Any recommended pattern for blocking access once usage limits are reached?
4. Content Access ControlContent access is based on subscription.Questions:
  • For a larger content site, is it better to:
    • Use Joomla user groups/access levels, or
    • Use Membership Pro’s built-in content restriction features?
  • Which approach is more scalable and maintainable?
5. Admin FunctionalityAdmins need to be able to:
  • Convert free trial users to paid subscriptions
  • Extend / cancel subscriptions
  • Override limits (e.g. concurrent users)
Questions:
  • Are these workflows supported out of the box?
  • What’s the best way to add custom admin controls if needed?
6. Extensibility / Plugin HooksWe’re happy to build custom plugins where needed.Questions:
  • Which plugin events should we use for:
    • Login/session control
    • Subscription validation
    • Content access checks?
  • Are there specific hooks in Membership Pro designed for extending access logic?
7. General AdviceHave you seen similar setups (subscriptions + concurrent users + usage-limited trials) implemented with Membership Pro?If so, any recommended approach before we begin development would be really helpful.Thanks in advance, really appreciate your guidance.

Please Log in or Create an account to join the conversation.

More
10 hours 23 minutes ago #177815 by Tuan Pham Ngoc
Hi

1. The login is handled completely by Joomla. Membership Pro does not have control over it and it also does not have an option to prevent concurrent users. I guess you should try to look at  www.web357.com/limit-active-logins-extension-for-joomla , and maybe perform customization to limit concurrent login somehow? 

2. This could be a challenge. Membership Pro allow a single user to have different subscriptions of different plans. However, for a single plan, a user could not have different independent subscriptions. When he subscribe for the same plan for second time, it is actually treated as a renewal, not a new subscription. It also does not have Combine entitlements or Prioritise one subscription as you want (no clue how you want/expect it to work)

3. You would need to develop a plugin to handle that limit number of views. It is not something Membership Pro can handle out of the box

4. Better use Joomla ACL/Access Level

5. Hard to answer. You will need to try and then add specific question

6. Some of these belong to Joomla core. So you will need to figure out yourself, depends on exactly what you are trying to do. For subscription validation, it is something belongs to Membership Pro, but I do not understand exactly what you are trying to do, so it's hard for me to answer

I am happy to answer anything related to Membership Pro, about setup, or code belong to Membership Pro. But for your own requirement and custom development, you will need to figure out yourself because I could not understand exactly what you are trying to do. It's hard to give answer for generic questions

Regards,

Tuan

Please Log in or Create an account to join the conversation.