Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

User count / list of active users

Featured Replies

I know I can get a count of the active users, but can I get a list of the active 'account' name and a list of acctive 'user' names

The only way I know of is from the FM server. Would be fantastic if there was a function that did this!!!!!

there is a way, but it's probably a little troublesome...

u can maintain a user's table that has every username and an "Active" state field, with values 1 and 0. then each time the database is opened, an open script assigned the particular's state to 1... etc.

then when the user logs off, use a close script to assign the particular user's state to 0.

whala... now u have it, list of online users, u can also count how many users are online...

u can also use an "Online Table" instead of a "User Table", simple put an open script that adds a record to it, with Get (AccountName), then use a close script that deletes the online record. then u'll have it too...

if u maintain a user's table, i believe u can also implement an IM system using this method. by using 1's and 0's, to trigger different state at real time, event-driven scripts.

I tried something similar in the past, with mixed results. There are situations where a close script won't fire, such as an improper shut down, loss of connection, etc. As long as these things didn't happen, it worked ok. I found it more trouble then it was worth, so I just pull a list from the server. However, I like the IM thought ....

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.