View user status Online & Offline in Wordpress

Asked

Viewed 100 times

0

The idea is to show visitors to the site if the author of the post is online or offline, there is some plugin or some code in PHP that makes this check?

Xenforo has this feature, I would like to apply on my blog.

Xenforo Online

Examples:

Online Offline

I looked in several places, including here in the stack in Portuguese and in the stack in English, but I couldn’t find a way to do it.

I know the purpose of the forum is to answer direct questions, but I had no choice but to ask here.

  • You will have to use Ajax. And in addition a table that is consulted every time interval. This solution is the most trivial of all. I imagine an online author who enters the site and changes their status to on. So this status should have a minimum life cycle in seconds. When the Ajax script stops sending the status you can change the behavior of capturing statues

  • and a good solution, but as we are dealing with Wordpress, the idea was a simple function, just to check if the author this online, if he was there show the indicator online, thanks for responding.

  • 1

    The answer can be found here: Solution to the question

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.