Community discussions

MikroTik App
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

how to show total time left in hotspot status page

Thu May 11, 2017 3:15 pm

Hello
I want to show the total time left for my hotspot users in a status page
I tried many things and it not work
anyone know please help
thanks
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: how to show total time left in hotspot status page

Fri May 12, 2017 4:59 am

this code for total time left $(session-time-left)
but if you used this code and you have problem , this mean you are using user manager and there a problem
just tell me
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

Re: how to show total time left in hotspot status page

Fri May 12, 2017 6:14 am

Thank you sir
yes I use user manager on one board and many hotspot servers on other boards different locations and I want to show the total time left like 15d-5h-10m-2s from user manager
thanks for help
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: how to show total time left in hotspot status page

Fri May 12, 2017 10:33 pm

so try this rule in newterminal just paste it.

/tool user-manager router set use-coa=no [find];
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

Re: how to show total time left in hotspot status page

Sat May 13, 2017 10:51 am

Thank you sir
I'm tried $(session-time-left) in my page from beginning but no value was shown
and what the command do in your last answer (I checked coa support it disabled)
in addition in winbox ip hotspot active the session time left blank no value for active users
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: how to show total time left in hotspot status page

Sat May 13, 2017 11:13 pm

you didn't set uptime limit in user manager profile limitiation.
chack about that.

i'm sure it will shown in your page status hotspot. and active hotspot
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

Re: how to show total time left in hotspot status page

Sat May 13, 2017 11:38 pm

Thank you sir
but I use transfer limit in my limitations and I really don't use uptime
please give me example
one of my profiles is 100m for 1w how to use uptime with it
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: how to show total time left in hotspot status page

Sun May 14, 2017 12:08 am

ok use uptime also,
in limitation set uptime like 1w or 10h for example

Image
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

Re: how to show total time left in hotspot status page

Sun May 14, 2017 12:12 am

Thanks alot I will try it and reply the result to you
Do you have a whatsapp
 
User avatar
ahmedalmi
Frequent Visitor
Frequent Visitor
Posts: 75
Joined: Sat Sep 13, 2014 5:52 pm
Location: sana'a yemen
Contact:

Re: how to show total time left in hotspot status page

Sun May 14, 2017 1:04 am

Thanks alot I will try it and reply the result to you
Do you have a whatsapp
you welcome,
+967 735135459
 
khalilA
just joined
Topic Author
Posts: 14
Joined: Sun Mar 12, 2017 9:05 pm

Re: how to show total time left in hotspot status page

Sun May 14, 2017 12:47 pm

Thank you sir
It's work but in uptime I add duration same as the validty of the profile
Thats okay????? or different value

Who is online

Users browsing this forum: No registered users and 4 guests