PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old May 13th, 2009, 02:53 PM   #1 (permalink)
Registered User
Verified Customer
 
Join Date: Apr 2008
Posts: 41
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?
jammy_basturd is offline   Reply With Quote
Old May 13th, 2009, 03:01 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Cron Job: sendnotice.php

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
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2009, 03:27 PM   #3 (permalink)
Registered User
Verified Customer
 
Join Date: Apr 2008
Posts: 41
Quote:
Originally Posted by jammy_basturd View Post
That led me on to find the instructions about setting up a cronjob for sendnotice.php, which I've now done.
Yes I know.

I've run the sendnotice.php file, emails were sent, etc. The old adverts are still there.
jammy_basturd is offline   Reply With Quote
Old May 13th, 2009, 03:31 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
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?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 13th, 2009, 03:41 PM   #5 (permalink)
Registered User
Verified Customer
 
Join Date: Apr 2008
Posts: 41
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?
jammy_basturd is offline   Reply With Quote
Old May 13th, 2009, 09:09 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old May 14th, 2009, 05:44 AM   #7 (permalink)
Registered User
Verified Customer
 
Join Date: Apr 2008
Posts: 41
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_basturd is offline   Reply With Quote
Old May 14th, 2009, 07:28 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recent adverts, only showing three adverts Arnie Classifieds Bug Reports 13 August 10th, 2006 07:54 AM
cant post adverts(FIXED) ATN Classifieds Installation & Upgrades 31 July 23rd, 2005 10:12 PM
Turn on notify on all adverts? shri Classifieds Suggestions 1 February 7th, 2005 08:47 PM


All times are GMT -5. The time now is 01:46 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0