RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AJAX upload progress bar

File sharing script

File mirror script

Newsletter script
Does the script send emails before expiry of PREMIUM account

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Oct 11, 2011 9:49 pm    Post subject: Does the script send emails before expiry of PREMIUM account Reply with quote

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
Back to top
View user's profile Send private message
nyan



Joined: 28 Oct 2010
Posts: 121

PostPosted: Oct 12, 2011 6:16 pm    Post subject: Reply with quote

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
Code:
#      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 deletes files 30 days after premium expires w/ no dl ( I have 60 days to expire normal files)
Back to top
View user's profile Send private message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Oct 13, 2011 6:20 am    Post subject: Reply with quote

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.pl
Code:
#      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 deletes files 30 days after premium expires w/ no dl ( I have 60 days to expire normal files)


This is excellent!!

Thanks

I will email support about the emailing - lets see what it will cost me to add this

GMC
Back to top
View user's profile Send private message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Oct 20, 2011 11:07 pm    Post subject: Reply with quote

GMC wrote:


I will email support about the emailing - lets see what it will cost me to add this

GMC


Email sent to support for quote on mod

No response

GMC
Back to top
View user's profile Send private message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Nov 06, 2011 12:01 am    Post subject: Reply with quote

third request sent!!
Back to top
View user's profile Send private message
adiga



Joined: 23 Jul 2009
Posts: 148

PostPosted: Nov 09, 2011 12:13 pm    Post subject: Reply with quote

GMC wrote:
third request sent!!


Support does not respond, not in messages or in the Forum
i have asked custom module about a month ago did not respond yet
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Nov 20, 2011 12:11 pm    Post subject: Reply with quote

adiga wrote:
GMC wrote:
third request sent!!


Support does not respond, not in messages or in the Forum
i have asked custom module about a month ago did not respond yet


My third request was via an email to support

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!
Back to top
View user's profile Send private message
stamos



Joined: 11 Nov 2010
Posts: 116

PostPosted: Nov 20, 2011 1:45 pm    Post subject: Reply with quote

would be interested too, cannot be so difficult to make it on our own though, i will see what I can make best.....
Back to top
View user's profile Send private message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Nov 28, 2011 1:39 pm    Post subject: Reply with quote

stamos wrote:
would be interested too, cannot be so difficult to make it on our own though, i will see what I can make best.....
thanks Stamos

Let me know how you go

G
Back to top
View user's profile Send private message
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Dec 28, 2011 12:59 am    Post subject: Reply with quote

stamos wrote:
would be interested too, cannot be so difficult to make it on our own though, i will see what I can make best.....
Any luck stamos?

No word from support

G
Back to top
View user's profile Send private message
glumbo



Joined: 11 Mar 2011
Posts: 204
Location: US

PostPosted: Dec 28, 2011 7:11 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
GMC



Joined: 15 Aug 2009
Posts: 172

PostPosted: Jan 21, 2012 9:34 am    Post subject: Reply with quote

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.
They werent on holidays in October when I first sent the request!!!

Thanks for the hints

I will look at this now

GMC
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group