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.!
: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%])
}
}
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.
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..”)
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”.)