MARKETPLACE
PLUGINS
A BETTER STATUS DETECTOR
A Better Status Detector logo

A Better Status Detector

Published November 2024
   •    Updated June 2025

Plugin details

This plugin detects your user's activity, so you can monitor the status of that activity.
There are 3 possible statuses: Online, Busy or Offline.

Online status is always set based on the user's mouse, page scrolling and keyboard activity.

The busy status is defined when the user does not perform any activity mentioned above (mouse, page scrolling and keyboard activity) for X seconds (these seconds are defined by you).

The Offline status is exactly the same as the Busy status. The only thing that changes is the downtime (which is also set by you).

Statuses are available in the Exposes States 'Current Status' of the StatusChecker element.

In addition to the status, there are 3 more exposed states, which record the last date and time that the status was changed. You can use this to record in your Database the last times your user was online, absent or offline, for example.

Additionally, there is also an event called "StatusChecker tab is closed" that you can add so that whenever the user closes the browser tab, something happens on your system (it could be, for example, the change of a field in the user table , informing that the tab was closed by the user)

Watch my example, accessing the demo page to understand how everything works.



Editor: https://bubble.io/page?id=retornadado2&test_plugin=1730283889199x986440509996138500_current&tab=tabs-1&name=better_status_checker&type=page


Demo Page:  https://retornadado2.bubbleapps.io/version-test/better_status_checker?debug_mode=true

______________________________________________________________




Este plugin detecta a atividade do seu usuário, para que você consiga monitorar o status dessa atividade.

São 3 status possíveis: Online, Ocupado ou Offline.

O status Online é sempre definido com base na atividade do mouse, do scrolling da página e do teclado do usuário.

O status ocupado é definido quando o usuário não executa nenhuma atividade supracitada (atividade do mouse, do scrolling da página e do teclado) por X segundos (esses segundos são definidos por você).

O status Offline, é exatamente igual ao Status ocupado. A única coisa que muda é o tempo de inatividade (que também é definido por você).

Os status ficam disponíveis no Exposes States 'Current Status' do elemento StatusChecker.

Além do status, há mais 3 exposed states, que gravam a última data e hora que os status foram alterados. Você pode usar isso para gravar no seu Banco de Dados os últimos horários que seu usuário esteve online, ausente ou offline, por exemplo.

Além disso, há também um evento chamado "StatusChecker tab is closed" que você pode adicionar para que sempre que o usuário fechar a aba do navegador, algo aconteça no seu sistema (pode ser, por exemplo, a alteração de um campo na tabela user, informando que a aba foi fechada pelo usuário)

Observe o meu exemplo, acessando a página de demonstração para entender como tudo funciona.

$15

One time  •  Or  $5/mo

stars   •   0 ratings
1 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

Ticket Land logo
Ticket Land
Joined 2020   •   44 Plugins
View contributor profile

Instructions

1) Add the StatusChecker element to the page and define how many seconds of inactivity the 'Busy' and 'Offline' status should be triggered.
2) The statuses will be captured and stored in the exposed state of the element so that you can view or store it in your database.

3) there is also an event called "StatusChecker tab is closed" that you can add so that whenever the user closes the browser tab, something happens on your system (it could be, for example, the change of a field in the user table, informing that the tab was closed by the user).

Have questions? Watch my example or write to me at [email protected]



_____________________________________



1) Adicione o elemento StatusChecker à página e defina em quantos segundos de inatividade o status 'Busy' e 'Offline' deverão ser acionados.

2) Os status ficarão sendo capturados e armazenados no exposed state do elemento para que você pode visualizar ou armazenar em seu banco de dados.

3) há também um evento chamado "StatusChecker tab is closed" que você pode adicionar para que sempre que o usuário fechar a aba do navegador, algo aconteça no seu sistema (pode ser, por exemplo, a alteração de um campo na tabela user, informando que a aba foi fechada pelo usuário).

Tem dúvidas? Observe o meu exemplo ou escreva para mim em [email protected]

Types

This plugin can be found under the following types:
Element   •   Event

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble