Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - Deleting Images From The Database 
 
How do I delete images from the database if i deleted a user, or deleted a category without first deleting it's subcategories?

I did both, and the images are still showing up in my random image blocks.. i'd like to delete the images directly from the database if possible.
 



 
krisbfunkSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
I think there is a script somewhere that checks for pics where the user (uploader) has been deleted...seems like there was talk about this at MG.com

I don't know of anything that does the same for a subcat without a parent cat.

If you find either, please post details here.
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
ok thanks, i'll take a look.
 



 
krisbfunkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
i can actually reach the page of each photo without a category is it possible to add a delete function within that file to delete the photo just like you can on category listings on photos?
 



 
krisbfunkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
Maybe, which page ?

Random Pic block ?

Admin only .... correct ?
 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
nevermind, i just realized that if i know the pic ID, i can just type in:

http://www.domain.com/album_delete.php?pic_id=667

and it will bring me to the delete prompt
 



 
krisbfunkSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Deleting Images From The Database 
 
Yep, that will work.
Just be careful of typos .... wouldn't want to delete the wrong pic ... you might say a naughty word

 Oh Crap !!!
 



 
ArtieSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events