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 October 15th, 2007, 11:53 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2007
Posts: 7
Marked SOLD, but still can't post more ads.

Hi all,

when a user marks an ad as sold, shouldn't it automatically expire? I have it set so users can have max 7 ads running, however they aren't able to upload more ads even if they mark all 7 of their ads as sold.

How would I fix this? Thanks.
monkeybars is offline   Reply With Quote
Old October 16th, 2007, 10:08 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
No it does not unless your running your expiration script sendnotice.php to expire and remove ads. Otherwise no when you set a max ad limit the sold ad is still as ad. It says max ads not max unsold ads.
__________________
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 October 20th, 2007, 06:22 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2007
Posts: 7
Ok, I have sendnotice.php running through cron every 15 minutes.

Basically it just sets all expired ads and sold ads to the EXPIRED QUEUE... the ads are still visible in the classifieds though until I delete them through the admin.
DO I have to manually delete all these ads through the admin or is there an automatic way to do it?

I'm running, 2.61 i believe it auto-deletes after 2 weeks but i want it done right away.

Thanks.
monkeybars is offline   Reply With Quote
Old October 21st, 2007, 10:29 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
It auto deletes after 2 weeks correct so if your looking for anything else you need to modify your code. I suggest looking at adm-misc.php at the top you will see the code that removes files enjoy.
__________________
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 October 21st, 2007, 11:49 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2007
Posts: 7
So I just edit the 1209600 in this line?

$checkdate = time() - 1209600;
monkeybars is offline   Reply With Quote
Old October 21st, 2007, 11:51 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
$checkdate = time();


sure if thats what you want.
__________________
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
Sold Ads joeyhavlock Classifieds How do I...? 1 July 23rd, 2007 09:04 PM
Sold Ads Not Deleteing, Ads not expiring CajunForSale Classifieds How do I...? 4 July 12th, 2007 10:36 AM
Expired ads marked as sold 1996 328ti Classifieds Bug Reports 8 April 30th, 2007 07:11 PM
Items marked as SOLD wacnstac Classifieds How do I...? 10 September 12th, 2006 10:34 PM
When an item is marked as SOLD... snowbird Classifieds How do I...? 1 September 7th, 2006 09:29 AM


All times are GMT -5. The time now is 03:40 PM.

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