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 February 3rd, 2010, 06:16 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 92
Question Cron Jobs?

Hi, I want to remove ads that are XX days old and want to do this on a daily bases.

There is mentioning of cron.php and sendnotice.php, could be two different things, but got the impression they are related what I'm looking for.

Please let me know how to set this up?

Thanks,
molieman is offline   Reply With Quote
Old February 3rd, 2010, 07:16 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,669
They are essentially the same script. They expire ads and auctions

One is used when you setup a server cron task and the other is used by our program called in the footer. If you want to run the cron in the footer of your site every xx number of minutes then in admin options set the time and option to yes.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 3rd, 2010, 09:51 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 92
Quote:
Originally Posted by Chuck S View Post
They are essentially the same script. They expire ads and auctions

One is used when you setup a server cron task and the other is used by our program called in the footer. If you want to run the cron in the footer of your site every xx number of minutes then in admin options set the time and option to yes.
I have the cron in the footer to run every 30.

I could not find anywhere to set the expiration date of the ad or to delete certain ads by initial date utilizing the cron. I'm sure I'm overlooking something.

I feel I have not used the Classifieds to it's fullest potential in the past, and would like to now. So any guidance would be appreciated.

By start, the deletion of old ads automatically.
molieman is offline   Reply With Quote
Old February 3rd, 2010, 10:08 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,669
An ad expiration auction is all done automatically when you place an ad you set the duration of the ad.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 3rd, 2010, 10:44 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 92
That was simple, didn't look there, but now I recall I was looking in the ads by way of editing.

1. Is there a way, while in edit mode, to change the days of the ad?
2. If I can't do number one, does that mean I have to physically delete ads?
3. I would like to have the maximum number of days for an ad to display "30 days," how can I change that (or is that something for the wish list).
molieman is offline   Reply With Quote
Old February 3rd, 2010, 10:50 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,669
1. the day of the ad you mean when it was uploaded? NO

2. You dont delete ads. The cron task expires them and then when you visit your admin panel the code automatically deletes expired ads over 2 weeks.

3. edit your uploadproduct templates and remove the option boxes for the duration select box in the template html.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 3rd, 2010, 11:21 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 92
RE: # 1.

Meant after the ad has been placed and you go back to edit and want to change the number of days to display ad. I don't see an the opportunity to do that.

My concern here is, some ads are set to "noexpire" and the cron will not delete them.

BTW, thanks for the template change info, done it
molieman is offline   Reply With Quote
Old February 3rd, 2010, 12:54 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,669
There is not an opportunity to change a duration no.

You would have to delete those ads yourself.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 3rd, 2010, 12:58 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 92
Thanks, much appreciate the help
molieman is offline   Reply With Quote
Old February 3rd, 2010, 01:05 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,669
yeah users could cheat you if we allowed them to change there duration.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
cron.php not found? titusc Photopost Pro Bug Reports 9 July 10th, 2010 03:37 PM
little Cron bug and maybe dst ...+ [fixes] Luciano Bugs - vBulletin 3.6x 9 November 19th, 2008 10:31 AM
cron.php Sal Collaziano General Discussion 5 February 13th, 2007 10:47 AM
cron.php error OMSA Photopost Pro How Do I...? 18 October 12th, 2006 08:14 AM


All times are GMT -5. The time now is 10:50 AM.

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