Do you have some feature in mind that you'd love to see in Couch? Let us know.
2 posts Page 1 of 1
I am actually looking to achieve exactly what this forum has, and that is, the "who is online" module.

I have been looking all over and can not find anything documenting the existence of this module. Is this available or achieved using couch?

PS: I can always create a new template that registers the user id and time whenever someone logs in and have a script that deletes records every X minutes and retrvieve the entries and so on but I was curious if there is already a module to achieve this before doing it.
If you aim to make a quick patch, add a field to the users template that stores time. Make it so that a login or a page visit updates that field. List 'online' users by query that finds all users that have their field updated within the last X*60 seconds.

Couch's custom_field parameter is good enough for the query, as it supports evaluating >=, <= and the field must be defined as integer to correctly compare values. Try something, post your solution.
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
2 posts Page 1 of 1
cron