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 Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 2nd, 2009, 12:23 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2009
Posts: 46
Old uploaded images not being removed

Hi, we have our ads set to run for a maximum of 14 days. I just noticed that our public_html/classifieds/data/* folders totalled almost 1GB in size. I did some digging and found 100s of images uploaded by users dating back for months - i.e. way over the 14 days their ads were online for. Isn't the script meant to remove the uploaded images once the ad has been removed? Help!
xluk is offline   Reply With Quote
Old July 2nd, 2009, 06:17 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,545
That depends now what version your using.

Like if you use the sendnotice.php script that expires ads but they are not removed. Now newer code there is an option that triggers if you visit the admin panel that ads older than 2 weeks are removed.

You can view the approval que and hit the expired que to see whats still there.
__________________
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 July 3rd, 2009, 09:30 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2009
Posts: 46
Hi Chuck, thanks for replying. We're running 3.04.

We use sendnotice.php to send out the notices. But you're saying that the script doesn't remove the images that were uploaded? Surely if an ad gets remove, or a user deletes the ad, they that should take the images with it too?

How else can we remove all these old images automatically? Via AdminCP?

Sorry I'm confused
xluk is offline   Reply With Quote
Old July 3rd, 2009, 09:43 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,545
You as admin need to remove the ads they are not removed but only expired using the sendnotice script. There is in 3.x I beleive if you expire ads and visit the admin panel ads over 2 weeks are removed.
__________________
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 July 3rd, 2009, 09:44 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2009
Posts: 46
Thanks, but where do I go in admin to remove them? Does this also remove the uploaded images, the original, large and thumb?
xluk is offline   Reply With Quote
Old July 3rd, 2009, 09:55 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,545
Yes it removes the images and you dont need to go anywhere to delete ads over 2 weeks old. Ads newer than two weeks should be in the expired que in approve images selection.
__________________
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 July 3rd, 2009, 09:56 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2009
Posts: 46
Great so it triggers from loading the home page.

Does it remove all images, not just the thumb/large ones but the original uploaded file too?
xluk is offline   Reply With Quote
Old July 3rd, 2009, 09:57 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,545
Yes as answered it removes the ads with images.
__________________
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 July 3rd, 2009, 10:08 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jan 2009
Posts: 46
Ok thanks Chuck.

Looking at the expired ads I see ones older than 2 weeks old. Should these have been removed? I see ones going back to March 2009. Is there a SQL command to remove these in bulk perhaps?
xluk is offline   Reply With Quote
Old July 3rd, 2009, 04:17 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,545
You can not use a mysql query. The scripts need to remove things so images are removed.

If your version of the script has the removal code they should remove if they are older than 2 weeks but I cant tell you exactly when that was added.

You can always hit delete in the expired que to remove them. You must make sure you run sendnotice to expire the ads otherwise nothing will ever happen they will remain in your site.
__________________
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
If more than 10 images uploaded... Furvy Photopost Pro Bug Reports 19 August 10th, 2008 01:01 PM
uploaded images aren't uploaded! benster Photopost Pro How Do I...? 5 July 19th, 2007 12:14 PM
Uploaded images realist ReviewPost Installation & Upgrades 15 February 5th, 2007 02:07 PM
cant delete comment and images not removed from data folder F4CC Photopost Pro How Do I...? 2 December 1st, 2006 11:18 AM
Images Uploaded But No Display? Lightning Lad Photopost Pro Installation & Upgrades 5 November 21st, 2004 03:03 PM


All times are GMT -5. The time now is 01:47 AM.

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