Community discussions

MikroTik App
 
gvango
just joined
Topic Author
Posts: 17
Joined: Fri Mar 16, 2012 11:21 pm

User manager reminders

Wed Mar 27, 2013 6:26 pm

Hello everyone,
Is there a way to set up some kind of a reminder so that I remind users their account will expire in 3 days, 2 days and finally 1 day?
I use user manager and RB750 V. 5.20

Maybe redirect them to a page that will tell them: YOUR ACCOUNT WILL EXPIRE IN 3 DAYS. PLEASE RENEW TO STAY CONNECTED.!

Thanks to all of you experts.

George
 
mankomal
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Nov 24, 2006 8:56 am

Re: User manager reminders

Thu Mar 28, 2013 8:29 am

Hello everyone,
Is there a way to set up some kind of a reminder so that I remind users their account will expire in 3 days, 2 days and finally 1 day?
I use user manager and RB750 V. 5.20

Maybe redirect them to a page that will tell them: YOUR ACCOUNT WILL EXPIRE IN 3 DAYS. PLEASE RENEW TO STAY CONNECTED.!

Thanks to all of you experts.

George
George,
not hijacking your post but a very good question if it is possible ...
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: User manager reminders

Thu Mar 28, 2013 9:23 am

hi

check this one

you need to check filed Character constants from http://wiki.mikrotik.com/wiki/User_Mana ... _constants


:foreach a in [/ip hotspot active find] do={
:if ([/ip hotspot active get $a %u_actualProfileLeft%]<3d) do={
/tool e-mail send
to=xxx@xxx.de
subject=("'" . [/ip hotspot active get $a user] . "' logged in") \
body=("User:" . [/ip hotspot active get $a user] . " Date:" . \
[/system clock get time] . " IP address:" . \
[/ip hotspot active get $a address] . " MAC address:" . \
[/ip hotspot active get $a mac-address] . " actualProfileEnd:" . \
[/ip hotspot active get $a %u_actualProfileEnd%])
}
}
 
gvango
just joined
Topic Author
Posts: 17
Joined: Fri Mar 16, 2012 11:21 pm

Re: User manager reminders

Sat Mar 30, 2013 11:46 am

Thanks a lot samir494,
I was looking for a redirection script. To send the user that is approaching expiration date to lets say: http://192.168.80.1/exp-reminder.htm
Many of my customers do not even have an e-mail account. They are just only interested in Facebook and Skype.!!
If a redirection could work, that would be ideal.! Say every half hour they are directed to the reminder page so they renew their account.
I would appreciate your reply if you have something like this.

George
 
User avatar
neandero
Member Candidate
Member Candidate
Posts: 243
Joined: Fri Jul 17, 2009 11:43 am
Location: Inside Mind

Re: User manager reminders

Mon Apr 01, 2013 4:03 am

 
ven16
newbie
Posts: 36
Joined: Tue Mar 26, 2013 5:35 pm

Re: User manager reminders

Tue Jun 25, 2013 9:11 pm

hi

check this one

you need to check filed Character constants from http://wiki.mikrotik.com/wiki/User_Mana ... _constants


:foreach a in [/ip hotspot active find] do={
:if ([/ip hotspot active get $a %u_actualProfileLeft%]<3d) do={
/tool e-mail send
to=xxx@xxx.de
subject=("'" . [/ip hotspot active get $a user] . "' logged in") \
body=("User:" . [/ip hotspot active get $a user] . " Date:" . \
[/system clock get time] . " IP address:" . \
[/ip hotspot active get $a address] . " MAC address:" . \
[/ip hotspot active get $a mac-address] . " actualProfileEnd:" . \
[/ip hotspot active get $a %u_actualProfileEnd%])
}
}
hi,

where can we keep this code?

thank you,

ven
 
User avatar
samir494
Member Candidate
Member Candidate
Posts: 236
Joined: Thu Aug 06, 2009 11:27 am
Location: India

Re: User manager reminders

Wed Jun 26, 2013 3:28 pm

you need to add this code in scripts
 
cicserver
Member
Member
Posts: 303
Joined: Sun Jul 24, 2011 12:04 pm

Re: User manager reminders

Sun Sep 13, 2015 1:41 pm

you need to add this code in scripts
is there any possibility to implement it for PPPOE USERS (with userman)
?
 
tiran
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Aug 07, 2015 2:53 pm

Re: User manager reminders

Mon Sep 28, 2015 11:18 am

you need to add this code in scripts
is there any possibility to implement it for PPPOE USERS (with userman)
?
i also try to add user reminds or alerts about their usage. but i couldn't yet find a proper solution. actually i want to alert on web browser before end user allocated transfer limit or time (eg: "you have only 50 MB more..")
 
tiran
Frequent Visitor
Frequent Visitor
Posts: 50
Joined: Fri Aug 07, 2015 2:53 pm

Re: User manager reminders

Sat Oct 31, 2015 5:57 pm

actually i use limited packages such as 512MB, 1GB. i want to display a alert before end of this limits (ex. when user reach 480MB from 512MB, display massage ":dear customer you have 32 MB more".)

Who is online

Users browsing this forum: No registered users and 58 guests