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 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.
jtorral is offline   Reply With Quote
Old 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.
jtorral is offline   Reply With Quote
Old January 30th, 2008, 10:51 AM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 30th, 2008, 10:56 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Jan 2004
Location: Portland, Oregon
Posts: 116
running 2.5
jtorral is offline   Reply With Quote
Old January 30th, 2008, 10:58 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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
__________________
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 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?
jtorral is offline   Reply With Quote
Old January 30th, 2008, 11:08 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
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.
__________________
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 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.
jtorral is offline   Reply With Quote
Old January 30th, 2008, 11:31 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Okay the easier way would of course be to upgrade.
__________________
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 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.
jtorral is offline   Reply With Quote
Old January 31st, 2008, 06:53 AM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
thats cool should be well into the classifieds 3.0 beta by then.
__________________
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 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.

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