Insert Hotspot item in Mikrotik Hotspot login page

Hello,

can someone help us to find all variables (like $username, $limite-bytes-out…) that we can insert in hotspot html page ?

See this manual page.

We have read manual page but…unfortunately these variables can’t help us ( :open_mouth: …newbies).

We want to show HOTSPOT EXPIRE DATE in status page.

Can you guide us to export LOGIN SCRIPT variables in status html page ?

Here is ON LOGIN script code for adding user comment to first hotspot login:

{
 :local date [ /system clock get date ]
 :if ( [ /ip hotspot user get $user comment ] = "" ) do={
  [ /ip hotspot user set $user comment="$date - 30jrs" ]
 }
}

We want to know how to use variable create with this code in status page ?

PS: We don’t use USERMANAGER because our currency isn’t listed (Francs CFA)