![]() |
Old adverts not being deleted After I realised that I now have Ads that are a good 2-3 months old I discovered that ads simply aren't being deleted. That led me on to find the instructions about setting up a cronjob for sendnotice.php, which I've now done. However, I still have all the adverts that are well over the 15 day maximum I've set. Isn't sendnotice.php meant to have deleted these adverts, along with their images? If not, how do I go about deleting them? |
http://www.photopost.com/forum/class...otice-php.html Sendnotice.php is designed to expire ads so they dont show unless of course you elect to show ads for x amount of days after they expire. You dont see anything on the front end showing if sendnotice is ran. Ads are deleted deleted after being expired when they are two weeks old and you have visited admin panel |
Quote:
I've run the sendnotice.php file, emails were sent, etc. The old adverts are still there. |
expired ads will not be shown in classifieds except for x amount of days after they expire in show ad options in admin Number of days to show sold/closed ads? |
I've just deleted a load using the bulk action, some dating as far back as Mar 23rd. The maximum number of days you can have a live advert for is 15 days. The 'Number of days to show sold/closed ads' setting in Admin is set to 10 days. With those two settings, shouldn't the sendnotice.php file have deleted all the 'expired' adverts? |
sendnotice does not delete ads in any way just expire them In like classifieds 3.x series I put in a check to delete ads over two weeks old but that requires you to visit admin panel and is only in newer classifieds not older code if you using older code. In older versions ads never where deleted just expired meaning you as admin had to delete them through the approval interface in the expired que. |
So sendnotice.php just expires the adverts and removes them from public view? If so, it hasn't worked on my system, because if I log out I can still see adverts from well over a month ago. |
Jammy it just expires ads. Your oldest non expired ad is this The Mini Forum Classifieds - Car Stereo - CD Player If it is not expired then that means it has a duration alot more than 15days or possibly your user got an expire email and renewed the ad. See the query in sendnotice.php. Code: Content visible to verified customers only. |
| All times are GMT -5. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0