Need Help! Hotspot page customizing

html>

.:: ACE HomeNet ::. $(if refresh-timeout) $(endif) \ \ \ \
\ \
\ \ $(if login-by == 'trial')
Welcome trial user!

$(elif login-by != 'mac')
Welcome $(username)!

$(endif) $(else) \ \ \
Download: Time Left: Upload:
$(bytes-out-nice) $(session-time-left) $(bytes-in-nice)
IP: $(ip)
MAC: $(mac)
$(if login-by-mac != 'yes')
$(endif)
\ \
\ \ This is my hotspot status page. But it doesn't shows the session-time-left. I user UM as radius server.

What does it currently show in the place of “session-time-left”?

0, or error or nothing at all?
Can you confirm that the session you’re authenticating with has a session time limit?
You could try creating a local hotspot user (via winbox, not the user manager) and defining a session time to see if the code is correct.

Currently, it doesn’t show anything. I can’t create hospot user via winbox because it doesn’t have validity period, User and MAC binding, Pricing, etc. features. And sessions i have authenticating has 20 hours of uptime. When creating user via winbox it shows the left time.

Any suggestions …

I was meaning to create a hotspot user via winbox with a session time limit just for you to test the code, so you’ve done that and those show correct remaining uptime?

If so then it would seem the users created in user-manager don’t have the correct times (or these are not being passed).
Are you able to export full info for a few test users and confirm the session time limits are listed for those accounts?

I exported the full info but all details are displayed except the Assigned Profile. I’m using ROS 5.7. Why is this happening?

I want to add Started and Expiry Date in Hotspot Status page. Can anyone know the script for the Started and Expiry Date in Hotspot Status page. My users are claiming about that. I am using Usermanager as Radius server.