 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
June 2nd, 2006, 09:42 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 313
| Prune Comments
I deleted some users form my vBulletin, but now all thier comment in the gallery show no name, just an IP to admins. How do i remove these comments?
None of them had images in the gallery, just comments. I pruned all their threads and posts in the forums, then deleted them.
|
| |
June 2nd, 2006, 10:05 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Well there is no specific prune comments by user utility in Photopost. In a standalone install of photopost we prune all pics and comments of the user when user is deleted but in a forum integration this is not the case.
You can try running a query in phpmyadmin is your comfortable with that program
DELETE FROM pp_comments WHERE userid = 0
|
| |
June 2nd, 2006, 10:33 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 313
| Quote: |
Originally Posted by Chuck S Well there is no specific prune comments by user utility in Photopost. In a standalone install of photopost we prune all pics and comments of the user when user is deleted but in a forum integration this is not the case.
You can try running a query in phpmyadmin is your comfortable with that program
DELETE FROM pp_comments WHERE userid = 0 | Am i changing that 0 to something? Becuase I have no way of knowing what the id numbers where for the deletd users.
|
| |
June 2nd, 2006, 10:40 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
Right but you can run in Admin => Scan Database the resync username tool and then run this query I noted because the scan database tool will set orphaned photos and commnets to userid 0 and username anonymous. The query I posted should then work fine to remove all orphaned comments.
|
| |
June 2nd, 2006, 11:27 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 313
|
Phpmysql is asking me to choose at least one column to display when I try to submit the query.
Field
Sort
Show
Criteria
Any suggestions?
|
| |
June 2nd, 2006, 12:47 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
If you issue the query I gave there should be no issue in phpmyadmin I dont know about this phpmysql program so cant say. The query posted if your table prefix in photopost is pp_ will delete all comments from userid 0
|
| |
June 2nd, 2006, 01:31 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Feb 2005
Posts: 313
|
Ok, all fixed. |
| |
July 27th, 2006, 05:15 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
How about comments from "unregistered". In fact, I'd like to delete ALL comments altogether and turn off the option. Too much spam. Please help before Google bans my site for all the links. There are thousands and I can't keep clicking the single remove link all day and night. |
| |
July 27th, 2006, 05:30 PM
|
#9 (permalink)
| | PhotoPost Developer Verified Customer
Join Date: Jan 2002
Posts: 11,834
|
I believe unregistered are added with a userid of 0, so Chuck's query above would remove them.
__________________ Please do not PM me for support or sales questions. Thank you for your understanding. |
| |
July 27th, 2006, 06:09 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jan 2003 Location: West Palm Beach, FL
Posts: 161
|
Thank you!!
|
| |
December 28th, 2006, 06:22 PM
|
#11 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
Can we take this resync -orphan photo, and modify the query to remove orphan photos?
|
| |
December 28th, 2006, 09:26 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
There is no resync thing for this as you can allow guests to upload photos and they will always be userid 0 so how is one suppose to know what is orphan and what is not?
|
| |
December 28th, 2006, 10:43 PM
|
#13 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
Ok, then is there a query to delete photos whose userid is 0?
Thanks for your help!
|
| |
December 29th, 2006, 08:37 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
query is easy but how are the files being deleted? You can use the query above just change the table names
|
| |
January 2nd, 2007, 04:14 PM
|
#15 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
Hi Chuck, I do not know the code, so I am replying your developer/support team on this request. We need a way to delete photos uploaded by anonymous users (or more importantly, after the members were deleted, the photos left behind which you say they then become of owner id 0 same as anonymous).
We simply cannot let this grow out of hand and slow down the system and consume the resources.
I cannot believe that there is no such a function to delete photos by anonymous users. Not even from the admin edit function? for example, search photo page, and userid# 0? I tried put 0 in Search page, and it brings up all kinds of photos with correct owners, so userid 0 in search page does not work.
If there is not such a function, please consider this as a top priority request for its reasoning behind, and introduce this function. Even if it means the admin needs to delete the photos one by one, we still need to do it in whatever means.
Please... bring this request to the development team.
Thank you!
|
| |
January 2nd, 2007, 08:52 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,683
|
You can delete the photos one by one as there is no function in the program for what you wish to do but will pass your thoughts along
|
| |
January 4th, 2007, 01:26 PM
|
#17 (permalink)
| | Senior Member Verified Customer
Join Date: Dec 2002 Location: San Francisco
Posts: 603
|
Chuck, thanks for passing the request along.
I can do deleting one by one, but from all the interfaces, I do not find any way that let me "find" those photos.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:44 AM. | |