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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 11th, 2008, 10:02 AM   #1 (permalink)
Member
 
Join Date: Feb 2000
Posts: 134
Send a message via ICQ to JLuerken
Question Delete all photos from userids which do not exist anymore

Hi Photopost Team,

I deleted several users from my vB Installation and now the gallery pictures of those users don't have an owner anymore.
Changing this one by one is to much work so I am searching for a way to delete all pictures and comments from the pp db from userid's which do not exist in the vb user table anymore.

How can I do this?

Kind regards
jluerken
JLuerken is offline   Reply With Quote
Old March 11th, 2008, 10:31 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Are userid's still associated with the photos? If so you can view the photopost profile and select delete all users photos.
__________________
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 March 12th, 2008, 02:54 AM   #3 (permalink)
Member
 
Join Date: Feb 2000
Posts: 134
Send a message via ICQ to JLuerken
Hi Chuck,

I am using vB 3.7 beta 5 and it seems that the deletion function works different there cause the photo's now belong to nobody.

So what I need is an option for pp to check if a photo exist without a userid or with a userid that does not exist in vb anymore and delete the picture
JLuerken is offline   Reply With Quote
Old March 12th, 2008, 08:56 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
well I doubt there is such a feature and using vb beta would not cause this. You would have needed to run the scan database feature realign username on photos comments to cause this. I do not beleive you can delete photos in bulk belonging to no userid so your only way to do this would be to issue some query in mysql like so to some bogus userid

UPDATE pp_photos SET userid=9999 WHERE userid=0

You could then go to the userid 9999 profile and use the delete all photos function
__________________
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 March 12th, 2008, 10:37 AM   #5 (permalink)
Member
 
Join Date: Feb 2000
Posts: 134
Send a message via ICQ to JLuerken
Hi Chuck, thanks for the fast feedback. I will play around with this.

btw. it sounds like a good Feature request for one of the next versions.

PP Admin Panel should contain a Maintenance option checking for pictures which belong to a non existing userid.
Can you put this on your list for one of the next updates please?

Thanks in advance
jluerken
JLuerken is offline   Reply With Quote
Old March 12th, 2008, 11:02 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
You can feel free to post suggestions for Michael in the suggestions forum.
__________________
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
Users can delete categories even if "delete photos" is set to no. benFF Photopost Pro Bug Reports 5 February 11th, 2008 10:48 PM
Cannot delete photos HenricksOutdoors Photopost Pro Installation & Upgrades 4 March 24th, 2006 11:57 AM
Manage photos doesn't delete photos. drache Photopost Pro Installation & Upgrades 3 February 25th, 2006 11:57 AM
Can't Delete Photos kernel-panic Photopost Pro Installation & Upgrades 11 October 18th, 2005 04:47 PM


All times are GMT -5. The time now is 02:25 AM.

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