How to detect if user is online

How do I detect if a user is online or not ? the user is logged in doesnt seem to acheive this

Just add formatted as text to the user is logged in. You will get yes or no

1 Like