Expired Links Notifier
|
||||||||
This simple mods will sent email notification to user and admin (can be disabled) when a link is about to expired and after it expired. You can download the file here (you’ll need to login first).
Unzip it and upload it in your indexu top folder, and set daily cron job to the notifier script.
You might want to adjust some variables to suits your need.
- $mod_eln[”days_sent”] : days setting when notification sent (14, 7, 3 mean the notification will be sent 14 days, 7 days, 3 days before expired and 0 mean when a link expired)
- $mod_eln[”notify_admin”] : send notification to admin (1 = yes, 0 = no)
- $mod_eln[”subject_warning”] : mail subject when a link is about to expired
- $mod_eln[”body_warning”] : mail message when a link is about to expired
- $mod_eln[”subject_expired”] : mail subject when a link is expired
- $mod_eln[”body_expired”] : mail message when a link is expired
I hope this simple mods will be useful for you.










November 5th, 2007 at 4:19 pm
Hello support,
Could you please provide the exact line of code I need to enter for the cronjob on my server?
I need to fill in a line of code in the field [Command to run:]
Thanks!
Wessel
November 5th, 2007 at 7:45 pm
I guess the line for the cronjob is:
http://www.mysitename.com/expired-links-notifier-suspended.php
and
http://www.mysitename.com/expired-links-notifier.php
is this right?
Thanks,
Wessel
November 27th, 2007 at 1:25 am
It says its going to expire but how do they renew it exactly? We don’t have a renewal page just and upgrade a listing page, please explain I’m interested in this!
November 29th, 2007 at 1:35 am
The command for cron should be same with the one that you use for google sitemap (refer to the readme.txt file that included in IndexU distribution file)
So it should be like this :
GET http://www.domain.com/expired-links-notifier-suspended.php > /dev/null
Please notes that expired-links-notifier-suspended.php is used for IndexU with basic listing with period mods, while
expired-links-notifier.php is for the default IndexU. You can not use them both at the same time.
November 29th, 2007 at 1:47 am
For non registered users, simply upgrade it again with the same package will automatically renew the listing.
For registered members, they can use the same ways as above or from members area (/cp) and go to "MyListing" page to renew their listing.
To make things easy, we can simply include link for renewal/upgrade in the notification email directly to the upgrade script.
Mail Example :
May 6th, 2008 at 3:20 pm
Hi,
The code in the email:
You can renew/upgrade your link at the following url :
/upgrade.php?pflag=retrieve&id=
is shown in the email that is recieved by the customer as code, and not as an URL.
Could you please check and see what is wrong in this code?
Thanks
May 6th, 2008 at 3:23 pm
maybe it is the spaces you added, we need to remove those spaces?
in and I mean?
July 9th, 2008 at 11:16 pm
Yes, it is because of the extra space.
I've fixed the above code.
Thanks