Flickr: Inline text editor - for photo comments, groups + help forum

Last update on Jun 5, 2008

Lets you easily re-edit or delete your flickr group, help forum and photo comments without leaving the current page you are on.

Features

Inline Edit : When you click the edit button of a comment under a photo, in a group or in the help forum a textarea is inserted where your post was, containing your post, enabling you to quickly edit and resubmit it without leaving the page you are on. Particularly useful for group admins.

Search and Replace : Lets you search and replace text in your post.

Inline Delete : The script changes the delete link below group or forum posts and photo comments, so that it deletes the post without leaving the current page, especially useful for group adminstrators.

Updates

19th March 2008 : updated to work with latest version of GM
23rd May 2008 : updated to work with all international versions of the site :)
5th June 2008 : updated to work on photo comments

Donate

If you like this script, and find it useful, please make a donation, to reward the time and effort i have put into creating it, and so i can continue adding new features and improving it, cheers! or perhaps you would like to buy me something from my amazon wishlist :)



You could comment on this script if you were logged in.

10 comments Feed-icon

1 point
login to vote
steeev script's author
Posted May 22, 2008

ive updated it now, so it should work in all the different languages :)

1 point
login to vote
pippoz user
Posted May 22, 2008

Oh yes, in that way it could have ootb support for all international version. It's the best way, of course.
Thank you!

1 point
login to vote
steeev script's author
Posted May 22, 2008

thanks for the investigation pippoz, i might change it so it looks for the url in the link rather than the text, as that never changes :)

1 point
login to vote
pippoz user
Posted May 22, 2008

Oh! Sorry forget my last comment. This is correct.

To get it working on italian flickr simply replace line 73:
if(thisDiv.innerHTML=='edit')
with this line:
if((thisDiv.innerHTML=='edit')||(thisDiv.innerHTML=='modifica'))
And line 75:
if((thisDiv.innerHTML=='delete')||(thisDiv.innerHTML=='delete topic'))
with this other line:
if((thisDiv.innerHTML=='elimina')||(thisDiv.innerHTML=='delete')||(thisDiv.innerHTML=='delete topic')||(thisDiv.innerHTML=='elimina topic'))

It's really simple add other language support by adding in line 73 this block:
||(thisDiv.innerHTML=='YOUR_LANG_TEXT_FOR_edit')
And adding this block to the line 75:
||(thisDiv.innerHTML=='YOUR_LANG_TEXT_FOR_delete')||(thisDiv.innerHTML=='YOUR_LANG_TEXT_FOR_delete topic')

1 point
login to vote
pippoz user
Posted May 22, 2008

Very nice script!
To get it working on italian flickr simply replace line 73:

  if(thisDiv.innerHTML=='edit')

with this line:
  if((thisDiv.innerHTML=='edit')||(thisDiv.innerHTML=='modifica'))

And line 75:
  if((thisDiv.innerHTML=='delete')||(thisDiv.innerHTML=='delete topic'))

with this other line:
  if((thisDiv.innerHTML=='elimina')||(thisDiv.innerHTML=='delete')||(thisDiv.innerHTML=='delete topic')||(thisDiv.innerHTML=='elimina topic'))

It's really simple add other language support by adding in line 73 this block:

    ||(thisDiv.innerHTML=='YOUR_LANG_TEXT_edit')

And adding this block to the line 75:
  if((thisDiv.innerHTML=='YOUR_LANG_TEXT_FOR_delete')||(thisDiv.innerHTML=='YOUR_LANG_TEXT_FOR_delete topic'))

1 point
login to vote
dirgon user
Posted Feb 5, 2008

Any chance of getting an update for this one?

1 point
login to vote
dirgon user
Posted Jan 21, 2008

With the security release of GreaseMonkey tonight, this script has quit working properly. It says that it is deleting a message in a thread, but it never does the actual deletion.

1 point
login to vote
steeev script's author
Posted Jul 27, 2007

theyve re-enabled tagging for scripts, so ive added the tag, cheers.

1 point
login to vote
steeev script's author
Posted Jun 6, 2007

at present its not possible to add tags to scripts on the userscripts site...

1 point
login to vote
dirgon user
Posted Jun 3, 2007

To the author... add a "flickr" tag to this script show it will show up when doing a tag search.

You could comment on this script if you were logged in.