I have had a complaint for a member who purchased a year premium and lost 500 gig over night when it expired
Is it something I havent activated?
or something the script doesnt do
Any help is appreciated
GMC
XFileSharing Pro - Does the script send emails before expiry of PREMIUM account
I don't think it does, but I use an old version.
I've changed a few things to prevent this from happening
in cron.pl
This deletes files 30 days after premium expires w/ no dl ( I have 60 days to expire normal files)
I've changed a few things to prevent this from happening
in cron.pl
Code: Select all
# my $filter_premium="AND (usr_premium_expire IS NULL OR usr_premium_expire<NOW())" if $c->{dont_expire_premium};
my $filter_premium="AND (usr_premium_expire IS NULL OR usr_premium_expire<DATE_ADD(NOW(), INTERVAL -30 DAY) )" if $c->{dont_expire_premium};
This is excellent!!nyan wrote:I don't think it does, but I use an old version.
I've changed a few things to prevent this from happening
in cron.plThis deletes files 30 days after premium expires w/ no dl ( I have 60 days to expire normal files)Code: Select all
# my $filter_premium="AND (usr_premium_expire IS NULL OR usr_premium_expire<NOW())" if $c->{dont_expire_premium}; my $filter_premium="AND (usr_premium_expire IS NULL OR usr_premium_expire<DATE_ADD(NOW(), INTERVAL -30 DAY) )" if $c->{dont_expire_premium};
Thanks
I will email support about the emailing - lets see what it will cost me to add this
GMC
My third request was via an email to supportadiga wrote:Support does not respond, not in messages or in the ForumGMC wrote:third request sent!!
i have asked custom module about a month ago did not respond yet
Maybe a fourth will get a response
LOL
Doubt it!
If you get a response to your request let me know the cost - I'll split it with you!
They werent on holidays in October when I first sent the request!!!glumbo wrote:Support is on break until Jan. 9th. Anyways, this is pretty easy to do. Just look at code in ipn.cgi to see how to send emails. You can then modify cron.pl to send out emails whenever a user's premium is about to expire. Look at cron_deleted_email.pl for examples as well.
Thanks for the hints
I will look at this now
GMC