Page 1 of 1

new feature "send notice if user course is incomplete"

Posted: Tue Jun 12, 2018 1:37 pm
by murat
I have developed a new feature.
i think everyone needs this new feature.
This feature does this;
If the user continues the course and course is not finished , we will send an e-mail message every week or every day
the message will be like this "please continue to the lesson which is left half"

Important : you must setting cron weekly or monthly on your server

very easy to install;
copy - cron-user-notification.php into formalms/cron/ folder
upload event_cu-begin.sql file into your database.
cron setting into your hosting panel.
wget http://site.com/cron/cron-user-notification.php
time: every week monday

Download:
cron-user-notification.zip
cron-user-notification
(3.78 KiB) Downloaded 7 times

Re: new feature "send notice if user course is incomplete"

Posted: Tue Jun 12, 2018 2:01 pm
by alfa24
I'm trying to imagine this working on a 50k users platform...

Re: new feature "send notice if user course is incomplete"

Posted: Tue Jun 12, 2018 2:25 pm
by murat
may be you can do 1 second pause after sending email
or you must use "fastcgi_finish_request();" command

Re: new feature "send notice if user course is incomplete"

Posted: Tue Jun 12, 2018 2:50 pm
by alfa24
Mmm... yes, I suppose with 1 second pause I should have reached all users before dinner...

Re: new feature "send notice if user course is incomplete"

Posted: Fri Jun 15, 2018 3:40 pm
by alberto
Anyway, thanks Murat for sharing your feature :)