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 December 23rd, 2007, 09:49 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
Ads never expire and are never removed.... why?

I still have ads on my site that were posted in Jan 07 yet I have it setup to expire after 30 days. Why isn't the cron job deleting these old ads?
IndyWebDesign is offline   Reply With Quote
Old December 23rd, 2007, 09:59 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
This might assist.

Cron Job: sendnotice.php
__________________
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 December 23rd, 2007, 10:25 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
I read through that before posting and searched and got nothing....

Looking at the script I see:

// Close out expired ads
$query = "UPDATE {$Globals['pp_db_prefix']}products SET approved=2,status='$today' WHERE enddate < $today AND isauction=0";
$result = ppmysql_query($query,$link);

Where do you set the enddate?
IndyWebDesign is offline   Reply With Quote
Old December 23rd, 2007, 10:32 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
Ok, I just ran the script manually and here is another problem I've had reported form my members...

When they post an ad they get an email every day saying it's about to expire... even if they posted the ad the day before.
IndyWebDesign is offline   Reply With Quote
Old December 24th, 2007, 09:13 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Try redownloading the code is your using an older version so fix any bugs that have been priorly reported.
__________________
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 December 24th, 2007, 05:59 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
Mine is to heavily changed that I don't want to risk redoing it all for a simple upgrade. I am running 2.6 so what changes were made with 2.6.1?
IndyWebDesign is offline   Reply With Quote
Old December 24th, 2007, 06:00 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
Plus I'm sure my year to access the upgrades are expired by now.
IndyWebDesign is offline   Reply With Quote
Old December 24th, 2007, 06:09 PM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 26
For some reason I am not getting emails from this website... no notice of replies and also no email when I request my member login details. Could you PM me my login details for the member area?
IndyWebDesign is offline   Reply With Quote
Old December 25th, 2007, 12:08 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
http://www.photopost.com/forum/showp...13&postcount=2

See if that helps you out.
__________________
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 January 1st, 2008, 02:06 AM   #10 (permalink)
Member
Verified Customer
 
Join Date: Apr 2007
Posts: 29
Ok just to clarify old ads are suppose to delete themselfs?
Arcade King is offline   Reply With Quote
Old January 1st, 2008, 11:11 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
The cron task will expire ads and if you have 2.6 expired ads will delete that are older than 2 weeks when you go to admin.
__________________
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 January 1st, 2008, 04:59 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2007
Posts: 29
Ok thanks for clarifying that.
Arcade King is offline   Reply With Quote
Old January 1st, 2008, 05:01 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
No problem happy new year
__________________
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
How do I expire ads? Amedeus Classifieds How do I...? 12 December 9th, 2007 06:52 PM
ads never expire rcsmith01 Classifieds How do I...? 1 June 25th, 2007 08:58 PM
Ads don't expire... PanamaRed Classifieds Bug Reports 10 May 16th, 2007 04:09 PM
Ads will not expire? CrimsonGT Classifieds How do I...? 3 September 18th, 2006 09:40 AM
How do ads expire? kraftworkz Before You Buy 1 October 30th, 2004 09:08 PM


All times are GMT -5. The time now is 04:04 PM.

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