 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
January 30th, 2008, 09:57 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
| to many ads to expire. Help please
I have never run the sendnotice.php until now. The result of running that script is that I have 4000 ads that now show up in my admin approval section of the admin panel. I would need to click on delete 4000 times to delete the ads that are expired. How can I delete these ads in a humane way without sepnding 10 hours doing so?
Last edited by jtorral; January 30th, 2008 at 10:13 AM.
|
| |
January 30th, 2008, 10:24 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
|
if it cannot be done. Then where can I change the selected radio button from Leave to Delete. This way when I run the report everything is already selected as delete.
|
| |
January 30th, 2008, 10:51 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
If your running 2.6 or higher when you visit your admin panel it should expire any expired ads over 2 weeks old. You could in theory wait 2 weeks or modify the 2 week check to a 2 day check etc in adm-misc.php
|
| |
January 30th, 2008, 10:56 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
|
running 2.5
|
| |
January 30th, 2008, 10:58 AM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
You would need to be running 2.61 to auto expire as that was added to 2.6
|
| |
January 30th, 2008, 11:03 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
|
cHUCK,
what about the code for selecting approve, leave or delete. It defaults to leave. where can I change it to default on delete?
|
| |
January 30th, 2008, 11:08 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
You would need to alter the code in adm-misc.php in some way. To have it other than leave would be a bug. You are free to modify the code at your discretion but we offer no support for that.
|
| |
January 30th, 2008, 11:20 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
|
I changed the code to look like this Code: Content visible to verified customers only.
and changed the items per page to 2000
Will revert once completed.
|
| |
January 30th, 2008, 11:31 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Okay the easier way would of course be to upgrade.
|
| |
January 30th, 2008, 09:27 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jan 2004 Location: Portland, Oregon
Posts: 116
|
Will upgrade after we migrate next month.
|
| |
January 31st, 2008, 06:53 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
thats cool should be well into the classifieds 3.0 beta by then.
|
| | |
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 06:56 AM. | |