Flickr Hacks / Discuss

Current Discussion

Request: A fast way to know if I've already commented a particular picture (just like the favorite star but for comments)
Latest: 3 hours ago
Flickr Award Counter Problem
Latest: 7 hours ago
# of favs in the photostream
Latest: 14 hours ago
GM Script: Flickr Easy Photo Post - Yet Another Way To Post Photo In Comments. (the easiest probably)
Latest: 15 hours ago
What are the best Greasemonkey scripts?
Latest: 34 hours ago
Award Counter for Google Chrome
Latest: 35 hours ago
GM Script: View date of addition in a group pool
Latest: 2 days ago
justified groups..... eeeeek
Latest: 2 days ago
Looking for a script that reveals my untagged groups
Latest: 3 days ago
A script to remove Aviary
Latest: 4 days ago
Flickr easy post help---
Latest: 4 days ago
flexplore
Latest: 4 days ago
More...

Search this group's discussions

GM Script: Flickr Inline Comment Editor - Lets you edit or delete comments without leaving the page you are on - Updated : 4th Mar 2010

view profile

steeev is a group administrator steeev says:

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.
Originally posted at 12:55PM, 19 May 2007 PDT (permalink)
steeev edited this topic 24 months ago.

view photostream

mortimer?  Pro User  says:

Wow, great idea! I've been planing to implement that since a while!
Posted 61 months ago. (permalink)

view photostream

Balaji Dutt  Pro User  says:

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!
Posted 61 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

yes im planning on adding it to photo comments too, watch this space.
Originally posted 61 months ago. (permalink)
steeev edited this topic 32 months ago.

view photostream

Balaji Dutt  Pro User  says:

: Awesome! Looking forward to the update :D
Posted 61 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Originally posted 61 months ago. (permalink)
steeev edited this topic 32 months ago.

view photostream

Balaji Dutt  Pro User  says:

: 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
Posted 61 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Posted 61 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Posted 61 months ago. (permalink)

view photostream

Paranoideo says:

The server appers to be down :(
Posted 61 months ago. (permalink)

view photostream

Paranoideo says:

Thanks for the mirror :)
Posted 61 months ago. (permalink)

view photostream

عʈ¡ - ʇıɯʃ ıʇӡ ʞıɹӡ  Pro User  says:

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.
Posted 61 months ago. (permalink)

view photostream

mortimer?  Pro User  says:

I can't get it to install from the normal site, neither from the mirror :(
Posted 61 months ago. (permalink)

view photostream

mortimer?  Pro User  says:

Ok, I finally got it. and it works great ;)
Originally posted 61 months ago. (permalink)
mortimer? edited this topic 61 months ago.

view photostream

zpaperboyz  Pro User  says:

This works so Awesome. Thanks.
Posted 58 months ago. (permalink)

view photostream

malik ml williams  Pro User  says:

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....
Posted 53 months ago. (permalink)

view photostream

malik ml williams  Pro User  says:

hmm... okay, now i just got the latest greasemonkey update (2008.01.21) and the "delete" function of this script no longer works....
Posted 53 months ago. (permalink)

view photostream

SioM  Pro User  says:

I had the same problem with other scripts, so I went back to the previous version of GM.
Posted 53 months ago. (permalink)

view photostream

Kathy~  Pro User  says:

yes I am finding that out too---- just uninstalled and reinstalled and didn't help
Posted 53 months ago. (permalink)

view photostream

zpaperboyz  Pro User  says:

Anyone get a work around on this. This was my favourite script and now I can't delete any posts. grrr.
Posted 51 months ago. (permalink)

view photostream

rgdaniel  Pro User  says:

zpaperboyz wrote

Anyone get a work around on this.

Yes, previous version of GM, as noted above...
Posted 51 months ago. (permalink)

view photostream

rgdaniel  Pro User  says:

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.
Posted 51 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Originally posted 49 months ago. (permalink)
steeev edited this topic 49 months ago.

view photostream

f/43 - Fabio Raphael says:

The SAVE button does not work
FF 3 b3

Help plz!
Originally posted 48 months ago. (permalink)
f/43 - Fabio Raphael edited this topic 48 months ago.

view photostream

steeev is a group administrator steeev says:

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.
Originally posted 48 months ago. (permalink)
steeev edited this topic 48 months ago.

view photostream

steeev is a group administrator steeev says:

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...
Originally posted 48 months ago. (permalink)
steeev edited this topic 32 months ago.

view photostream

malik ml williams  Pro User  says:

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!
Posted 48 months ago. (permalink)

view photostream

kiwi_kirsch  Pro User  says:

steeev your scripts are sooo cool!!!!! :))))
Posted 47 months ago. (permalink)

view photostream

CotswoldPhoto  Pro User  says:

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:

Posted 46 months ago. (permalink)

view photostream

CotswoldPhoto  Pro User  says:

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.
Posted 46 months ago. (permalink)

view photostream

egreene7  Pro User  says:

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.
Originally posted 46 months ago. (permalink)
egreene7 edited this topic 46 months ago.

view photostream

zyrcster  Pro User  says:

You still get that, but you'll need to refresh the page to see the change.
Posted 46 months ago. (permalink)

view photostream

egreene7  Pro User  says:

Thanks, I didn't think about refreshing!

This script is great! It saves so much back and forth time within the groups.
Posted 46 months ago. (permalink)

view photostream

dfg photography  Pro User  says:

Thanks steeev!
Posted 46 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Posted 39 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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
Originally posted 32 months ago. (permalink)
steeev edited this topic 32 months ago.

view photostream

Alesa Dam  Pro User  says:

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.
Posted 29 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Posted 28 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

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.
Posted 27 months ago. (permalink)

view photostream

Wil C. Fry  Pro User  says:

Thanks for the update! This is one of my top five favorite scripts.
Posted 27 months ago. (permalink)

view photostream

François Collard  Pro User  says:

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.
Originally posted 27 months ago. (permalink)
François Collard edited this topic 27 months ago.

view photostream

Wil C. Fry  Pro User  says:

That sounds like a conflict with another script... This one's still working fine...

Can you take a screenshot of what you're seeing?
Posted 25 months ago. (permalink)

view photostream

Wil C. Fry  Pro User  says:

Glad you found the conflict. :-)

To be honest, I never found a good "text area resizer" for Firefox...
Posted 25 months ago. (permalink)

view photostream

decembre  Pro User  says:

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
Originally posted 22 months ago. (permalink)
decembre edited this topic 22 months ago.

view photostream

decembre  Pro User  says:

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

Now Firefox can do it !

I search alway a way to Escape HTML Entities in TextAreas...
I Found a GM script , Escape HTML Entities in TextAreas, but it seems not working.
Originally posted 9 months ago. (permalink)
decembre edited this topic 9 months ago.

view photostream

_Eric.R_  Pro User  says:

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)))
Originally posted 9 months ago. (permalink)
_Eric.R_ edited this topic 9 months ago.

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr Hacks discussion threads