 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
December 23rd, 2007, 08: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?
|
| |
December 23rd, 2007, 08:59 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
| |
| |
December 23rd, 2007, 09: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?
|
| |
December 23rd, 2007, 09: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.
|
| |
December 24th, 2007, 08:13 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
Try redownloading the code is your using an older version so fix any bugs that have been priorly reported.
|
| |
December 24th, 2007, 04: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?
|
| |
December 24th, 2007, 05: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.
|
| |
December 24th, 2007, 05: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?
|
| |
December 24th, 2007, 11:08 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
| |
| |
January 1st, 2008, 01:06 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Apr 2007
Posts: 43
|
Ok just to clarify old ads are suppose to delete themselfs?
|
| |
January 1st, 2008, 10:11 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
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.
|
| |
January 1st, 2008, 03:59 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Apr 2007
Posts: 43
|
Ok thanks for clarifying that. |
| |
January 1st, 2008, 04:01 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,667
|
No problem happy new year
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | |
Similar Threads | | Thread | Thread Starter | Forum | Replies | Last Post | | How do I expire ads? | Amedeus | Classifieds How do I...? | 12 | December 9th, 2007 05:52 PM | | ads never expire | rcsmith01 | Classifieds How do I...? | 1 | June 25th, 2007 07:58 PM | | Ads don't expire... | PanamaRed | Classifieds Bug Reports | 10 | May 16th, 2007 03:09 PM | | Ads will not expire? | CrimsonGT | Classifieds How do I...? | 3 | September 18th, 2006 08:40 AM | | How do ads expire? | kraftworkz | Before You Buy | 1 | October 30th, 2004 08:08 PM | All times are GMT -5. The time now is 02:39 AM. | |