Can you share the setting of parents group so we can see how you set up the user logged in information and where this come from?
The only way to do that is if you store this information in DB
Exactly. Normally you can select “Current user” is logged in. But there’s no option to say: Specific user is logged in (another user). So you need to store this information when they login and logout.
Now… will this be enough for you? Maybe not. If user close the browser, nothing will tell you to update your DB and set user logged out or away. So you need to use plugins for that.
Install a plugin for that. Depending if you want to detect if user is not looking at the browser tab or just detect if user close tab or browser, there’s different plugin you can use (detect presence, page close detector…)
It may be the purpose of the is logged in or not (when you useDB user) but it may not work so maybe you can create a support ticket to know more about that.
Thanks for this. When I look at the plugin description, it seems to look for “mouse leaving page” and “pressing back button”.
There’s a number of cases where “mouse leaving page” does not mean a user is logged in or not, and there are a number of cases where the user could leave the page without doing any of these two actions (press Alt + F4, browser crashes, etc.).
Why did you setup the user attributes the way you did? I’m not sure to understand.