Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-02-13 22:05:14
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Author deletion: should I worry about orphaned images?
When removing an author from a Textpattern site, you can reassign authorship of their articles but not the images they uploaded. I’m trying to decide whether or not this is enough of a problem, to warrant changing the author directly in the Txp database.
There aren’t any template tags that deal with image authorship, nor any plugins as far as I can tell. I have a nagging feeling that leaving the images orphaned could cause problems in the future, but I can’t point to a concrete justification for this concern. I’m interested in the thoughts and opinions of others on this. Am I letting this bug me for no reason?
Offline
#2 2009-02-14 07:13:34
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Author deletion: should I worry about orphaned images?
Actually deleting a user from Txp should not happen very often. If it is then you should examine how you’re managing your site.
Orphaned images should display just fine, although it certainly isn’t very elegant. The best situation would be when deleting a user that Txp provided a user dropdown list and re-assigned all content to the new user chosen before deleting the old user.
Offline
Re: Author deletion: should I worry about orphaned images?
Mary wrote:
The best situation would be when deleting a user that Txp provided a user dropdown list and re-assigned all content to the new user chosen before deleting the old user.
#TODO, sometime.
Offline
Re: Author deletion: should I worry about orphaned images?
While we’re on the subject of image authors, it would be great if we had the same ability to change image authors in Txp admin as we do article authors. It is often the case that the user uploading an image was not the “author” of that image. I very frequently change this field directly in the db.
Code is topiary
Offline
#5 2009-02-16 02:39:03
- Logoleptic
- Plugin Author
- From: Kansas, USA
- Registered: 2004-02-29
- Posts: 482
Re: Author deletion: should I worry about orphaned images?
Mary wrote:
Actually deleting a user from Txp should not happen very often. If it is then you should examine how you’re managing your site.
This was the client’s call, not mine. An employee left the company, and I was asked to remove them as an author. For now I’ve only removed their permissions, given them a nonsense e-mail, and then reset their password.
I like your suggestion for handling author removal and content re-assignment at the same time. Far less messy than leaving orphaned content hanging. If that’s difficult to implement in the 4.0.x branch, then jsoo’s idea for handling manual reassignment seems like a great alternative.
Offline