Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-01 21:09:42

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

transfer authorship of image

I have about 20 images I need to transfer authorship for.
Is this a db issue?
How’s it done?

Thanks,

matthew


Offline

#2 2005-12-01 21:20:37

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: transfer authorship of image

I’ve always done it by making the change directly in the db (via phpMyAdmin). I’d love to hear of a way to do this through the TXP admin interface, though.


Code is topiary

Offline

#3 2005-12-01 21:24:29

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: transfer authorship of image

jsoo,
where in phpMyAdmin do you do this?
I had a look through and couldn’t figure it out?
thx,

Matthew


Offline

#4 2005-12-02 04:45:35

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: transfer authorship of image

In the txp_image table you have an author field, with the login of the author. You can change it here.

Btw, strange it’s not the author’s id but it’s login… well, whatever.

Offline

#5 2005-12-02 13:10:50

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: transfer authorship of image

The other side of the question is: now that you have authorship correctly assigned to your images, what do you do with that information? Please correct me if I’m mistaken, but there is no TXP tag or even plugin to output the name of an image author. I recently asked about it in another thread (also here), and ended up making my own little plugin to do this. This wasn’t easy, as I am pretty clueless about programming generally and PHP specifically, but I was able to crib from existing plugins and TXP source. To my amazement, it appears to work. (I haven’t posted it anywhere, because for all I know it will stop working at the next TXP revision—if anyone really wants it I will email it.)

Any other solutions out there?


Code is topiary

Offline

#6 2005-12-02 13:27:01

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: transfer authorship of image

Well it should be simple with PHP/Plugin. But the thread’s author asked about ownership’s transfer, nothing else ;)

Offline

Board footer

Powered by FluxBB