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 September 13th, 2010, 11:21 PM   #1 (permalink)
Junior Member
 
Join Date: Sep 2004
Posts: 10
Delete old ads

MY classifieds is set to only 15 days duration but it still shows ads from 2008 how can I make it delete old ads other than one by one. It does not delete old ads.

Purge old ads

Thanks

otis
kysales is offline   Reply With Quote
Old September 14th, 2010, 08:52 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Otis have you setup the cron task to expire ads?

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 September 14th, 2010, 06:44 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Posts: 41
Quote:
Originally Posted by Chuck S View Post
Otis have you setup the cron task to expire ads?

Cron Job: sendnotice.php
There's nothing in the documentation about this. Are we all supposed to set this up manually?

How would I know if I've already done it? I mean, under Cpanel>Advanced>Cron Jobs it just offers to enter a new job, it doesn't list current jobs. And that post you just linked to doesn't even mention Cpanel.
Videx is offline   Reply With Quote
Old September 14th, 2010, 07:41 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
what version do you have?

There is documentation I linked you to the FAQ on the cron.

In newer versions there is even a cron which runs in the footer when one visits the classifieds so you dont even have to run a server cron task.
__________________
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 September 14th, 2010, 08:00 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Posts: 41
I think I have 403. In the Documentation folder there is only one file with installation instructions, that's UPGRADE.TXT. It has 5 steps, none of which say anything about setting up a cron job.

The link you gave isn't a FAQ, it's a long thread from 2004 with a lot of confusion like something called "spider". WTF is that? And again, no mention of cpanel. I can probably figure out crons in cpanel, but first someone has to actually tell me to do it!

If the task runs in the forum footer that would be okay. But if it's only in the Classifieds footer then it may not be visited enough.
Videx is offline   Reply With Quote
Old September 14th, 2010, 08:05 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
You can run the cron task in classifieds footer if you have 4.03 by setting the cron options in admin panel of classifieds.
__________________
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 September 14th, 2010, 08:37 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Posts: 41
Hm. Actually, it looks like mine are still on the default "no" and "30". But the first says " in footer of site " when it really means "in footer of classifieds" (?). And the second has the exact same text with no explanation for the "30".

Maybe you accidentally dropped a Documentation/1stTimeSetup.txt from the releases? If not, it would be a good idea to revise the upgrade.txt instructions to include something about this most important feature.
Attached Images
File Type: gif 9-14-2010 9-31-28 PM.gif (6.6 KB, 8 views)
Videx is offline   Reply With Quote
Old September 14th, 2010, 08:39 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
actually try making sure your using the latest code and rerun the phrases.php file to reimport the phrases.

You can turn that on and set that to say number of minutes you want to run it.
__________________
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 September 15th, 2010, 04:20 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Posts: 41
Okay, I uploaded the 4.1 files. I guess I don't need to run upgrade.php(?), but when I run phrases.php I get an error:
Quote:
Error performing MySQL command: INSERT INTO cp_languages VALUES (1, 'english', 'en', 'UTF-8', 'ltr');
Error: Duplicate entry '1' for key 1
Videx is offline   Reply With Quote
Old September 15th, 2010, 07:45 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
You do need to run an upgrade as the documentation states for 4.1
__________________
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 September 15th, 2010, 11:09 AM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2009
Posts: 41
Okay, I won't try to run phrases.php again then. I set the Cron Script option to Yes. But since I can't see the text, just what is that "30"?
Videx is offline   Reply With Quote
Old September 15th, 2010, 07:11 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
You can safely run the upgrade 4.01-4.1 and rerun phrases.php if you have messed up phrases.
__________________
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
cant delete, edit ads. jalmz Classifieds How do I...? 16 October 15th, 2010 10:21 AM
Can't Delete All Ads RobVA Classifieds Bug Reports 3 April 14th, 2009 11:52 AM
how do i delete sold ads? sk24iam Classifieds How do I...? 15 April 27th, 2007 03:09 PM
How can users delete their own ads? openfire Classifieds How do I...? 5 January 17th, 2007 07:56 AM
cannot move or delete ads... openfire Classifieds Bug Reports 4 October 31st, 2006 06:00 PM


All times are GMT -5. The time now is 03:16 AM.

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