Different Simultaneous Login restrictions per user (or per user level)

Hi guys,

Great plugin - I’ve moved onto the Pro version and am very impressed.

I have run into an issue which I’m hopeful won’t be too tricky: I love being able to have the simultaneous-logins restriction in place and it is great for my purposes…BUT I would also really love to be able to set a DIFFERENT simultaneous-logins maximum amount for particular users or for particular user LEVELS if that is simpler.

E.g. some users will require a possible 30 simultaneous logins (for a classroom - it is an online learning tool), but the vast majority of users will be restricted to 2 or 3. I would like to be able to set and alter the figure, which I could happily do on a per-user basis or by giving these users their own membership level.

Is there a simple way to accomplish this? Or a not-so-simple way? It is quite important for some users.

Thanks in advance!

E.g. some users will require a possible 30 simultaneous logins (for a classroom - it is an online learning tool)

Why does this make any difference? Doesn’t each student have his or her own login anyway?

Tim, because we are offering the classroom one ‘membership’ hence the need for higher number of simultaneous logins.

To have all the subsequent students sign-up as ‘children’ under one ‘parent membership’ doesn’t really fit in with S2Member’s functionality and would take a lot more work.

To have all the subsequent students sign-up as ‘children’ under one
‘parent membership’ doesn’t really fit in with S2Member’s functionality
and would take a lot more work.

Not sure about that: Krum has a plugin extension that does exactly that: http://krumch.com/2013/07/09/kc-groups-management/

Otherwise you aren’t really going to be achieving much. Restricting the number of simultaneous logins doesn’t do anything to restrict the time at which people can login. So any member of that class would still be able to share the login details with anyone else. Up to 30 such persons could then login at any time provided the class itself wasn’t actually in session.

Yep, I’ve come across that plugin and will be making use of his MailChimp sync plugin soon. Unfortunately trying to get 30 kids at 5, 6, 7 years of age to complete their online form with their non-existent email and phone number might not be all teachers’ idea of a good time.

I appreciate your concern Tim but if I was looking for feedback on whether or not my methodology was any good, then that would be the title of this thread. I’m aware that the simultaneous logins will mean just that: logins that are available for use simultaneously. Using an IP restriction instead is, frankly, outdated.

If you (or anyone else) can offer any insight into my original question then I’m all ears!

I appreciate your concern Tim but if I was looking for feedback on whether or not my methodology was any good, then that would be the title of this thread.

Tom, it’s not just about you! This is a public forum, so others with the same issue will read the thread and should be aware of the issue.

To do specifically what you want will require custom coding. I’d suggest contacting Krum and asking if you can pay him to do it for you.

Using an IP restriction instead is, frankly, outdated.

I agree, except when you know that everyone is logging in through specific desktops hard-wired to the internet (as still happens at some corporations).

I’ll drop Krum a line now and see what can be done.

He seems to know the ins and outs as well as anyone could so hopefully it will be an easy one!

@totld: There’s now a brand new plugin in the wordpress.org repo that might do what you want: see https://wordpress.org/plugins/loggedin/

Thanks Tim.

Plugin looks nice and simple though I won’t find out for sure if it does the job - I’ve already enlisted the help of Krum.

Will see how we go!

So I wound up having Krum develop a special tool as a mu-plugin, which works beautifully.

He has since converted it into a fully-fledged plugin with a nice UI to allow anyone to do the same. If anyone is looking for a solution to this problem, this is the way to do it painlessly.

http://krumch.com/2016/08/28/kc-s2m-pro-max-logins/

1 Like