admin
steeev 7:55pm, 19 May 2007
I wrote a new GreaseMonkey script called Flickr: Inline Forum Post EditorM.

The script lets you edit your posts to flickr groups/forums without leaving the current page you are on. When you click the edit button a textarea pops up beneath the post, letting you edit it and resubmit the message without leaving the page you are on. You can also delete your posts, or if you are a group admin others posts, without leaving the page you are on. Ive also added a search and replace function.



UPDATE 23rd May 2008
Ive fixed the script so it will work on all the international versions of the site.

UPDATE 7th Jun 2008
Ive got the script working on photo comments too

UPDATE 23rd Sep 2009
added inline edit/delete functionality for comments on gallery pages
fixed problem with character entitites getting converted to their actual characters
e.g > getting converted to >

UPDATE 4th Mar 2010
Fixed so it works on photo comments again

Get Flickr Forum Inline Post Editor


All my other flickr scripts are available here or from my mirror server here.

Donations gladly accepted If you appreciate my scripts and would like to thank me for them, please make a donation. My paypal link is available on my website and also on my profile page.
mortimer? 12 years ago
Wow, great idea! I've been planing to implement that since a while!
Balaji Dutt 12 years ago
Hmm I see right now it's set to work only on Groups.. can this be modified to work on photo-stream comments also? .. would love to have a script to do inline edits on comments!
admin
steeev Posted 12 years ago. Edited by steeev (admin) 9 years ago
yes im planning on adding it to photo comments too, watch this space.
Balaji Dutt 12 years ago
: Awesome! Looking forward to the update :D
admin
steeev Posted 12 years ago. Edited by steeev (admin) 9 years ago
changed my mind about adding it to photo comments, that feature wont be that useful for me.

anyway ive updated the script, ive fixed the bugs and it now works on the first post of a thread, and also works in the help forum.
Balaji Dutt 12 years ago
: Oh that's too bad =( .. Guess us non-programmers will have to wait for some of the cool programmers around here to decide that they don't like hitting the edit button on comments anymore :D
admin
steeev 12 years ago
ive updated the script so it really is inline now, previously it put the textarea below the edit link, now it puts it above the link.
admin
steeev 12 years ago
ive fixed a bug and added some features: the script failed if the post had a blockquote tag in it, this is now fixed. Ive also merged the "forum post easy delete" script into this one, so if you have that one installed you should uninstall it. i also added a search and replace function.
Paranoideo 12 years ago
The server appers to be down :(
Paranoideo 12 years ago
Thanks for the mirror :)
eτi 12 years ago
too bad that it works only in groups. i tried to add www.flickr.com/photos/* to the pages it works on but of course it can't be as easy as that... probably some programming (which i know nothing about) would be needed to make it work on comments as well.
mortimer? 12 years ago
I can't get it to install from the normal site, neither from the mirror :(
mortimer? Posted 12 years ago. Edited by mortimer? (member) 12 years ago
Ok, I finally got it. and it works great ;)
zpaperboyz 11 years ago
This works so Awesome. Thanks.
malik ml williams 11 years ago
i love this script. especially for one of the groups i administrate, where editing/deleting forum posts is the primary function of an admin, it's invaluable. thanks!

one question: the addition of the search + replace function disables my rich text edit script. is it possible to turn this aspect off? (i really haven't had any use for it, but routinely need to bold part of an edited post.) if there's a way to tweak the coding....
malik ml williams 11 years ago
hmm... okay, now i just got the latest greasemonkey update (2008.01.21) and the "delete" function of this script no longer works....
I had the same problem with other scripts, so I went back to the previous version of GM.
Kathy~ 11 years ago
yes I am finding that out too---- just uninstalled and reinstalled and didn't help
zpaperboyz 11 years ago
Anyone get a work around on this. This was my favourite script and now I can't delete any posts. grrr.
rgdaniel 11 years ago
zpaperboyz wrote
Anyone get a work around on this.

Yes, previous version of GM, as noted above...
rgdaniel 11 years ago
malik williams wrote
is it possible to turn this aspect off?

I second the request for the ability to separate these functions. I know they were separate scripts once upon a time -- would love to see the "easy delete" function in its own script again.
admin
steeev Posted 11 years ago. Edited by steeev (admin) 11 years ago
ive updated the script so it should now work with all the international versions of the site and also the latest GM and FF

btw if you want to disable the search and replace function, you can just "comment out" or delete lines 137 and 138 though i doubt that will "bring back" your rich text editing functions, as the textareas this script uses are created "on the fly", so unless your other script is waiting and watching for newly created textareas, it wont work.
f/43 - Fabio Raphael Posted 11 years ago. Edited by f/43 - Fabio Raphael (member) 11 years ago
The SAVE button does not work
FF 3 b3

Help plz!
admin
steeev Posted 11 years ago. Edited by steeev (admin) 11 years ago
fabio, what happens when you click save? can you check the error console from the firefox tools menu?

btw ive updated the script so you can now edit / delete comments on photos.

N.B You should uninstall the old version before installing the new version, as ive renamed the script.
admin
steeev Posted 10 years ago. Edited by steeev (admin) 9 years ago
for those of you wanting the rich text editing functions to work with my inline post editor, ive made a modified version of Jrhyley and Todd Moons, rich text editor script, that watches for newly created textareas, and adds the rich text features. More info here: www.flickr.com/groups/flickrhacks/discuss/721576001673445...
malik ml williams 10 years ago
steeev, i for one would like to say THANK YOU!!! these updates are the best thing in the world to me right now. as an admin for a group that has highly interactive (and highly edited) discussion threads, the inline forum post editor is my only can't-do-without-it script. now that it's fully functional with the latest versions of firefox and gm, i'm ecstatic.

as for the double lines of rich text editing, well, better too many than too few... ;-)

thanks again!
kiwi_kirsch 10 years ago
steeev your scripts are sooo cool!!!!! :))))
CotswoldPhoto 10 years ago
steeev I have noticed that it sometimes takes paragraphs typed originally as one long line, where the textarea will word wrap it, and adds new lines breaks, so, for example, this paragraph might look like this:

I have noticed that it sometimes takes paragraphs
typed originally as one long line, where the textarea
will word wrap it, and adds new lines breaks, so,
for example, this paragraph might look like this:
CotswoldPhoto 10 years ago
I have narrowed it down to happening if you are editing a comment on an image page, but not on a discussion page.

If that helps.
egreene7 Posted 10 years ago. Edited by egreene7 (member) 10 years ago
This is great, but I do have a question.
Is there any way to still get the egreene7 edited this topic ____ ago.? As an administrator and moderator, I think this is important for the other members to see who has been editing their posts.
zyrcster 10 years ago
You still get that, but you'll need to refresh the page to see the change.
egreene7 10 years ago
Thanks, I didn't think about refreshing!

This script is great! It saves so much back and forth time within the groups.
dfg photography 10 years ago
Thanks steeev!
admin
steeev 10 years ago
ClevaTreva wrote
I have narrowed it down to happening if you are editing a comment on an image page, but not on a discussion page.

If that helps.
I had noticed that bug recently, thanks for helping me narrow it down to the photo page. it turns out that the comments in photostreams have slightly different html to those in groups. ive updated the script to fix the issue.
admin
steeev Posted 9 years ago. Edited by steeev (admin) 9 years ago
script updated 23rd Sep 2009
added inline edit/delete functionality for comments on gallery pages
fixed the problem with "character entitites" getting converted to their actual characters.
e.g : > getting converted to >

ive also updated my modified version of todd moon + jrhyleys rich text editor script to include todd moon's latest changes, to make it compatible with this script. The Modified rich text editor script is here
Alesa Dam 9 years ago
Is this the right place to report bugs?

If you click edit for the first post of a thread, and then click it again (I know, not very useful), the edit box get filled with more text.
If you then click Cancel, the edit boxes get emptied, but stay on screen, and the original text of the post is gone!

Luckily, a refresh restores the post to its original state.
admin
steeev 9 years ago
alesa, thanks for the report, though its unlikely many people will try clicking the edit button twice, ive fixed the bug anyway.

btw its not luck that the refresh restores the post to the original state, its by design. the script will not permanently change the original post unless the user clicks the save button.
admin
steeev 9 years ago
fixed the script to work on photo comments. though theres now an issue with the buddy icon disappearing after editing a photo comment. not a showstopper though.
Wil C. Fry 9 years ago
Thanks for the update! This is one of my top five favorite scripts.
François Collard Posted 9 years ago. Edited by François Collard (member) 9 years ago
decembre
The text you edit is HTML converted, so some symbols are replaced by HTML entities by the Flickr interface for editing.
I'm not sure it's a real drawback, since you know the 'real' string you are editing. And I suppose the author of the extension would have to implement some sort of tiny HTML WYSIWYG editor in his script if he tried to get rid of that.
Wil C. Fry 9 years ago
That sounds like a conflict with another script... This one's still working fine...

Can you take a screenshot of what you're seeing?
Wil C. Fry 9 years ago
Glad you found the conflict. :-)

To be honest, I never found a good "text area resizer" for Firefox...
decembre Posted 8 years ago. Edited by decembre (member) 8 years ago
For information the conflict (Colaps the comment box when i use your script) was with this very useful "text area resizer" :

Textarea Drag Resize by > Glenn Carr > 2009
but now, i see no problem with it (?).

All GM scripts with this action that i have tested , can't resize your inline Box ...

And of course, I'll be happy if you give this function directly in your in line editor!

Ps :
> is always convert by its HTML entities >...
It's an little inconvenient when forget that and i copy past a long post like this one ,into notepad++ , to make a backup...:
Scripts List Compatible With The New Photo Page
decembre Posted 7 years ago. Edited by decembre (member) 5 years ago
"All GM scripts with this action that i have tested , can't resize your inline Box " :

Now Firefox can do it !

INFOS :
I search alway a way to Escape HTML Entities in TextAreas...
I Found a GM script , Escape HTML Entities in TextAreas,

It work great !!!
_Eric.R_ Posted 7 years ago. Edited by _Eric.R_ (member) 7 years ago
I've tried to add flickr/activity/* i the authorized pages but no success :o(((

Should it work on those pages or does the code need some modification ???

Edit after having a quick look at the code:
Well ... Code needs some modification to handle "activity" page .... If you have some time to spend on it, that should be a great improvment imho ;o)))
educated bike [deleted] 5 years ago
Any chance of this being updated to work with the recent Flickr changes? This is a very, very useful tool.
Simply Shar♥n 5 years ago
I have never been able to get Firefox to work for me, is there any way that it will work through Chrome.
julioc. 5 years ago
An update would be very appreciated now that Flickr messed it up again... thanks in advance
decembre 5 years ago
Groups Beta