Forum Documentation Showcase Pricing Learn more

Efactive! New FREE Plugin - Detect if user is online


#1

hot-air-balloon

Hey Guys!

A new free plugin has just been posted to the store. Detect user presence and test to see whether he is active, idle or hidden.

Usage is simple:

  1. Install
  2. Add plugin element Efactive to the page
  3. That’s it! The plugin will start to return the current user presence in its exposed states. the plugin can also trigger an event when the user is active, idle or hidden. This way you don’t have to do a thing every x sec…

Exposed states of the plugin:

Presence
States exposed under Term meaning:
active: The user is currently active
idle: The idle timer has expired and the user is not active
hidden: The user is not currently active on the same tab, or cannot be monitored

Idle for
How long the user has been idle for in milliseconds

Time left
Time remaining till idle in milliseconds

Time left %
The percentage till timeout as a decimal. Please note that this can be greater than 100% if the browser is hidden

Is idle
Returns yes/no if the user is idle. This will remain as no if the browser is hidden

Please thank @_Scott for sponsoring this plugin. Many thanks @_Scott


How do I display logged in users online status
Online/Offline notification
Users Logged In - Count in real time
#2

Thanks both! Great plugin.


#3

Awesome! Thanks @AliFarahat & @_Scott


#4

Hi @AliFarahat and @_Scott,

Thanks for this plugin. I’ve added the element to one of my group pages (set as a state, but always visible). It’s the landing page for all my users. Where do I see the output of this plugin? Do I need to set up a repeating group somewhere to report the user status? I tried logging in a few times with efactive on my main element page, but not seeing anything nor know where to see the results.

Thank you,
G


#5

Hey there

The results are exposed as a state output. So it will be under efactive A’s > outputs. It’s up to you to set it up the way you want


#6

can you show an example? for newbie like me


#7

Hey @AliFarahat
How could I set up a counter similar to Google Analytics (below) where it shows all of the users logged on and present and count them? This helps with knowing when and when not to push updates to my app in order to minimize disruptions for my users.

56%20PM


#8

Let’s talk so I can better understand your requirements.

Book a meeting here
https://balaheadache.youcanbook.me


#9

Hi Ali,

Is there any trick to getting the plugin to work on a Header. It works fine on individual page but was looking for a quick solution to apply it to the whole site?

Simon


#10

Yes. Add it to the header, and on change of status let it call a workflow API or data API for the changes you want. This way you can free the front end activities