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: 2 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 PM - adds useful links next to usernames - Updated 24th Mar 2010

view profile

steeev is a group administrator steeev says:

Ive written a new GreaseMonkey script called "Flickr PM" (Compatible with Firefox, Google Chrome and Opera)

It adds a little envelope icon next to usernames on most pages on Flickr, clicking the icon, pops up a mail window that lets you compose and send a flickr mail to that user without leaving the page you are on. It also adds a link for the users profile, Flickr DNA, Darckr.com, Flickr Scout, their photo archive and also a link to their favourites.

This is what the mini toolbar looks like
(old pic)
RE is a link to check or change relationship status
DN is a link to Flickr DNA for that user
IN is a link to The most interesting photos of that user (listed on darckr.com)
SC is a link to Flickr Scout for that user

Heres another screenshot, this time demonstrating the mail popup functionality: FlickrPM working in conjunction with Flickr Contacts Organiser

You can view another screenshot of the script in action here.

Changelog
---------------
14-Mar-08 fixed mail sending function
21-May-08 fixed some display bugs, and added a link to flickr leech
19-Feb-09 updated script to work with latest site changes, also replaced flickr leech link with flickr river link
15-Sep-09 added flickrpm functionality to gallery pages
16-Oct-09 added "RE" - change relationship link, renamed text links.
18-Jun-10 Fixed compatibility with Google Chrome and Opera
4-Aug-2010 Fixed for new photo page (still needs a bit more work)
5-Aug-2010 Fixed mail sending function on photo pages.
5-Aug-2010 Fixed for photos with multi page comments
24-Mar-2011 Fixed to work in Firefox 4

Get FlickrPM here

All my flickr gm scripts can be obtained from here:
steeev.freehostia.com/flickr

Donations gladly accepted! Though this script is being given away for free, it is not free for me to develop it, many, many hours have been spent programming, testing and supporting it. If you appreciate my work, and would like to thank me, and also support future development and maintenence, please consider making a donation, big or small, every little helps. My paypal link is available on my website and also on my profile page.
Originally posted at 5:04AM, 28 May 2005 PDT (permalink)
steeev edited this topic 14 months ago.

1 2 next →
(101 to 165 of 165 replies in GM Script: Flickr PM - adds useful links next to usernames - Updated 24th Mar 2010)
view photostream

zyrcster  Pro User  says:

Again, if you look up a few comments, you will see the fix. Roll back the greasemonkey update. I'll re-do the post in bold.
Posted 52 months ago. (permalink)

view photostream

*Damselfly*  Pro User  says:

Yeah, I saw the post. But was wondering if there's anyway to fix it without rolling back the update?
Posted 52 months ago. (permalink)

view photostream

zyrcster  Pro User  says:

*Damselfly* Not until someone updates the script, and Steeev has been missing for some time now.
Posted 52 months ago. (permalink)

view photostream

ѕhadowdancer says:

It's not difficult to uninstall GM and then install the June update. It takes about 60 seconds.
Posted 52 months ago. (permalink)

view photostream

*Damselfly*  Pro User  says:

Thanks Criz and Linda. I think I will wait for Steev to update the script. Not keen to roll back as I believe the Firefox update fixed some security issues? Meantime, I can still send my mail via Safari :)
Posted 52 months ago. (permalink)

view photostream

.debbie T says:

I agree with you. I wouldn't roll back the GM script. Looks like it was a security fix.

In the meantime, you can go to the person's profile, and send mail from that link.
Posted 52 months ago. (permalink)

view photostream

vtpeacenik  Pro User  says:

Just wanted to add that I have the same problem sending mail thru this script. It hasn't worked for months.
Posted 51 months ago. (permalink)

view photostream

~Sage~  Pro User  says:

Bummers! I keep forgetting this thing doesn't work! Maddening
Originally posted 51 months ago. (permalink)
~Sage~ edited this topic 51 months ago.

view photostream

steeev is a group administrator steeev says:

ive updated the flickrpm script to fix the mail sending bug. paypal donations are welcome, if you appreciate my scripts and would like me to fix and update more of them... my paypal link is available at my website or on my flickr profile page.
Originally posted 51 months ago. (permalink)
steeev edited this topic 51 months ago.

view photostream

farissshafee II  Pro User  says:

thanks for the latest update steeev , kinda thinking when was it updated and you already did (and probably to some other too, I mean by date or month stats) - excellent!
Originally posted 51 months ago. (permalink)
farissshafee II edited this topic 51 months ago.

view photostream

Wil C. Fry  Pro User  says:

Flickr PM doesn't work for me at all. I performed a hard refresh... still nothing...
Posted 51 months ago. (permalink)

view photostream

hervcha says:

It doesn't work for me too when I have to send Email
Originally posted 50 months ago. (permalink)
hervcha edited this topic 50 months ago.

view photostream

zyrcster  Pro User  says:

Try reinstalling the script. Steeev recently updated it to correct for the GM update that happened in January.
Posted 50 months ago. (permalink)

view photostream

vikisuzan  Pro User  says:

"Greasemonkey 0.6.9.20070507.0 could not be installed because it is not compatible with Firefox 3.0b4."

Now what? I uninstalled Flickr PM. Then I tried installing the above and the above message popped up.
Posted 50 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

ive updated the script again, this time ive added a link to flickr leech "FL"
and fixed some minor display bugs. the script now works in the latest version of GM and also the latest version of FF.
Posted 49 months ago. (permalink)

view photostream

Niederrheiner  Pro User  says:

The link INT is down .. please post again
Posted 43 months ago. (permalink)

view photostream

john weiss  Pro User  says:

INT returns the following message:

"This Account Has Been Suspended. - Please contact the billing/support department as soon as possible."
Posted 43 months ago. (permalink)

view photostream

Big Hugs  Pro User  says:

"This Account Has Been Suspended. - Please contact the billing/support department as soon as possible."

I've got the same problem with INT!
Posted 43 months ago. (permalink)

view photostream

solennial says:

Same here with INT
Posted 43 months ago. (permalink)

view photostream

drayde says:

Hi! I'm missing the INT link, too.
In fact, I'm missing it so much that I'm working on a replacement.
Anyone interested in beta testing it?
Posted 43 months ago. (permalink)

view photostream

Remiss63  Pro User  says:

i'm also getting this message:

"This Account Has Been Suspended. - Please contact the billing/support department as soon as possible."

is there a problem with the way this script accesses the Flickr API?
Posted 43 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

drayde has kindly setup an alternative "interesting service" at apps.gagalabs.com/flickr/interestingby and i have edited the flickrPM script so the INT link now points to his service, so in order to get the INT link working again, just reinstall the script,

thanks drayde!
Originally posted 43 months ago. (permalink)
steeev edited this topic 43 months ago.

view photostream

drayde says:

Thanks steeev for adding the link to flickrPM!
I'll do my best to serve the masses of requests that probably start coming in now :-)
If anyone has problems with the service or has other feedback, don't hesitate and send me a FlickrMail.
Posted 43 months ago. (permalink)

view photostream

john weiss  Pro User  says:

I've tried this out and it solves the problem beautifully. Thanks to both drayde and steeev for dealing with this so quickly for those of us who can't fathom Flickr without FlickrPM.
Posted 43 months ago. (permalink)

view photostream

*Sally M*  Pro User  says:


drayde and steeev

Thank you!
Posted 43 months ago. (permalink)

view photostream

solennial says:

Flickr Leech is down for a while it seems they outgrew their hosting. . .

www.flickrleech.net/

so the FL on the script doesn't work now.
Posted 42 months ago. (permalink)

view photostream

CORDAN  Pro User  says:

I'm having the same problem with Flickr PM that Flickr Icon Buddy was doing pre 3.5 fix.
It works okay in forum posts but not in photo streams.

Does anyone know how to fix it?

Thank you
Posted 40 months ago. (permalink)

view photostream

larigan.  Pro User  says:

Same here! I've tried reinstalling but it didn't help.
Posted 40 months ago. (permalink)

view photostream

.dr4gon  Pro User  says:

flickr must've changed something because mine doesn't work on my desktop or laptop either, works here though :\ I miss it already!
Originally posted 40 months ago. (permalink)
.dr4gon edited this topic 40 months ago.

view photostream

CORDAN  Pro User  says:

Flickr made some changes and hosed a few scripts I use. Flickr Icon Buddy was doing the same thing, but someone made a fix for it. I was hoping they could fix PM too. Funny how much I use it. It's one of my fav scripts.

I saw a friends Flickr and they don't use any GM scripts. Wow, it's a whole different Flickr world w/o them.
Posted 40 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

Mmmmm... Doing some fast research, I've found the following:

Edit the script and locate this piece of code:


underphotonode = document.getElementById('DiscussPhoto');
if (!underphotonode)
return;
ourtable = underphotonode.getElementsByTagName('table');
if (ourtable[0] == null)
return;
tds = ourtable[0].getElementsByTagName('td');

for (var j=0, xl=tds.length; j<xl; j++) {
if (j%2 == 0)
buddyid = grabuserid(tds[j].innerHTML);
else
if (tds[j].getElementsByTagName('h4')[0])
tds[j].getElementsByTagName('h4')[0].innerHTML = tds[j].getElementsByTagName('h4')[0].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
}


Then, change it to:


underphotonode = document.getElementById('DiscussPhoto');
if (!underphotonode)
return;
tds = underphotonode.getElementsByClassName('comment-block');
if (tds[0] == null)
return;

for (var j=0, xl=tds.length; j<xl; j++) {
buddyid = grabuserid(tds[j].getElementsByClassName('comment-owner Who clearfix')[0].innerHTML);
if (tds[j].getElementsByTagName('h4')[0])
tds[j].getElementsByTagName('h4')[0].innerHTML = tds[j].getElementsByTagName('h4')[0].innerHTML.replace('says:', makeLinks(buddyid) + 'says:');
}


Now it works in photostreams too ;)

I must say I really have no idea on Greasemonkey scripts, so maybe this is not the best way to solve the problem. But we can use it until Steeev makes its own patch.

Hope it helps.
Originally posted 40 months ago. (permalink)
ToniVC edited this topic 40 months ago.

view photostream

kiwi_kirsch  Pro User  says:

you are a genius!!
:))
i have my mailthing back on photpages!!!

on activity pages, it's still missing. can-'t rememeber if it had ever been ther. might that be fixable as well?

genius, anyway. thank you so much!
Posted 40 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

kiwi_kirsch, please check the patched code again. I modified it because the original one was not working on photopages with more than one comments page. Now it should work in all cases...

Oh!, and the real genius is Steeev who did the main work ;)
Originally posted 40 months ago. (permalink)
ToniVC edited this topic 40 months ago.

view photostream

Cereal-Killer 72 says:


Perfect !!!!
Moltes gràcies mestre, ets un geni !!!
Posted 40 months ago. (permalink)

view photostream

lynmar  Pro User  says:

ToniVC How do you find the code? I'll change it but don't know where to find it.

Thank you!!
Posted 40 months ago. (permalink)

view photostream

CORDAN  Pro User  says:

It worked, thank you.

lynmar

Tools / Greasemonkey / Manage User Scripts /

Find FlickrPM and highlight it. On the bottom left of the open window, you will see a EDIT button. Click on that. (Note, if you have not set a program for editing, it will ask you to do so. Any text editor should work).

When you first open this file, just do a quick SAVE AS and save a copy of the original to your desktop in case you have a problem with the edit. Delete it later when you are happy..

Then find the portion of code as listed above and cut and paste & save. I had to restart Fire Fox to get it to work.

Hat's off to ToniVC for the fix. I hope Steeev comes around sometime. His scripts are so useful.
Posted 40 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

, thank you for explaining how to edit the code. But I do exactly the opposed: I edit the file and then save the edited version to the dektop. The original one can always be reinstalled from Steeev site. I keep a copy of the patched one so in case I lose it I don't have to go through the editing process again ;)

Also, do you remember any other place where the script should work and stopped doing so? Maybe I could try to fix it too while waiting for Steeev to come to the rescue...
Originally posted 40 months ago. (permalink)
ToniVC edited this topic 40 months ago.

view photostream

ToniVC  Pro User  says:

kiwi_kirsch wrote


on activity pages, it's still missing. can-'t rememeber if it had ever been ther. might that be fixable as well?


I've fixed it too. Locate this code:


if(location.href.match(/photos\_comments\.gne/)) {
datds=getElementsByClassName("Who");
for(j=0;j<datds.length;j++) {
buddyid = grabuserid(datds[j].innerHTML);
datds[j].innerHTML += ' ' + makeLinks(buddyid);
}
}


and just after it (don't substitute!) add the following:


datbls=document.getElementById('recent-activity').getElementsByClassName('act-details');
for(i=0;i<datbls.length;i++) {
datrs=datbls[i].getElementsByTagName('li');
for(j=0;j<datrs.length;j++) {
buddyid = grabuserid(datrs[j].getElementsByClassName('act-who')[0].innerHTML);
if(datrs[j].getElementsByClassName('act-content')[0])
datrs[j].getElementsByClassName('act-content')[0].innerHTML=datrs[j].getElementsByClassName('act-content')[0].innerHTML.replace('said:', makeLinks(buddyid) + 'said:');
else
datrs[j].innerHTML=datrs[j].innerHTML.replace('added', makeLinks(buddyid) + 'added');
}
}


Now it should work on www.flickr.com/recent_activity.gne pages too. (If it doesn't work the first time, reload the page. I don't know why this happens...)

You should also locate the following line:


} else if (location.href.match(/recent\_activity\.gne/) || location.href.match(/photos\_comments\.gne/)) {


and change it to:


} else if (location.href.match(/recent\_activity\.gne/) || location.href.match(/activity\/photostream/) || location.href.match(/photos\_comments\.gne/)) {


for it to work when recent activity has more than one page...

Please tell me if it works for you! ;)

(Please note that this is not the best solution, and I don't guarantee it will work on ALL kind of activity information pages, but it works for the most used... at least the ones I most use, hehe)
Originally posted 40 months ago. (permalink)
ToniVC edited this topic 40 months ago.

view photostream

CORDAN  Pro User  says:



Thanks for all the fixes! I just save the old one I'm editing in case I hose the edit. Then I can just start over. After I'm done I save the "fixed" version and delete the old one. Actually I save the entire GM Scripts folder on another backup drive so I have them all if I need to reinstall.

Do you happen to know a way to save the comments from scripts like Flickr Quick Comment? I use some different computers and wish I could just copy all the comments I've already made instead of having to make new ones for each computer.
I don't know where FF stores those at.

Thanks!
Posted 40 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

CORDAN wrote


Do you happen to know a way to save the comments from scripts like Flickr Quick Comment? I use some different computers and wish I could just copy all the comments I've already made instead of having to make new ones for each computer.
I don't know where FF stores those at.


FF stores all its configuration information on a file named "prefs.js" stored somewhere in the "Documents and settings" folder. If you locate it, you can edit it and then look for the string "quick comment" to find a line where the information you are looking for is defined.

But there's an alternative (and easier in my opinion) way to do it. In the FF URL bar type "about:config". Then, on the filter box type "quick comment". You will see a preference named "greasemonkey.scriptvals.http://6v8.gamboni.org//Flickr Quick Comment.quicktag". To the right you will see a "Value" string. This string contains all you Quick Comments comments, using a particular syntax. Double click on it to access the info. This way you are accessing the info on "prefs.js" file (wherever it is), and if you modify the data it will be modified on that file too.

I imagine you can simply copy this string (or any part of it) from one of your computers and then paste it on the other one. I never have done this but I think it should work. Try it and let me know ;)

In fact, you can even edit this string by hand to add new comments or change the existing ones without having to go through the usual GM procedure. The syntax is easy: for each comment the string contains the title followed by "{#}" and then the text of the comment. If there's more than one comment they are stored one after the other separated by "@#@". Try this ;)
Originally posted 40 months ago. (permalink)
ToniVC edited this topic 40 months ago.

view photostream

steeev is a group administrator steeev says:

ive updated the script to work with the latest site changes. ive also replaced the flickr leech link with a link to flickr river.

thanks tonivc for helping people patch the script whilst waiting for my official update.
Posted 40 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

Great news Steeev!! Thanks a lot ;)
Posted 40 months ago. (permalink)

view photostream

CORDAN  Pro User  says:

Thanks ToniVC and steeev !
Posted 40 months ago. (permalink)

view photostream

drivebybiscuits1  Pro User  says:

will GM and Flickr PM work on the iphone

--
Seen in a discussion of the group "Flickr Hacks" (?)
Posted 39 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

i dont have an iphone so i cant try it, but at a guess i would say no. unless the iphone browser has a compatible version of greasemonkey or theres a version of firefox + greasemonkey for the iphone, which i dont think is the case right now. though stranger things have happened, i heard people have managed to get windows 3.1 running on a nokia N95, if thats possible then i guess anything is hehe.
Posted 39 months ago. (permalink)

view photostream

clickykbd  Pro User  says:

For those curious... I've seen some "proof of concept" implementations of greasemonkey scripts on safari/iphone. But I'm pretty sure at this stage it has to be a jailbroken phone.
Posted 39 months ago. (permalink)

view photostream

drivebybiscuits1  Pro User  says:


thanks
--
Seen in a discussion of the group "Flickr Hacks" (?)
Posted 39 months ago. (permalink)

view photostream

Laramie_Coyote  Pro User  says:

I downloaded the newest version. Thanks for that!

But I don't see the FR link for FlickrRiver. I know the FL link never worked for me. I had hopes that the FR would. But I don't see it as an option.
Posted 38 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

i removed that link, and also replaced the INT link with a link to laurent's darckr.com, it does pretty much the same thing as both plus more, so decided to reduce the number of links.
Originally posted 38 months ago. (permalink)
steeev edited this topic 38 months ago.

view photostream

Laramie_Coyote  Pro User  says:

Thanks, Steeev! It's a great little script! Love it!
Posted 38 months ago. (permalink)

view photostream

MikeAdamsPhotos  Pro User  says:

steeev, how can I add my Twitter to this like you did?

Loving this!
Posted 27 months ago. (permalink)

view photostream

ToniVC  Pro User  says:

Any plans to make it compatible with the new Flickr photo page? That would be great news...
Posted 23 months ago. (permalink)

view photostream

decembre  Pro User  says:

+1
Posted 23 months ago. (permalink)

view photostream

BluAlien  Pro User  says:

+2 :)
Posted 23 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

ive made a preliminary fix for the new photopage, it still needs a bit more work, but its almost there. donations gladly acccepted.
Originally posted 22 months ago. (permalink)
steeev edited this topic 22 months ago.

view photostream

decembre  Pro User  says:

Great!

Work for me on the second/third/etc page of comments with AutoPager...
Originally posted 22 months ago. (permalink)
decembre edited this topic 22 months ago.

view photostream

CORDAN  Pro User  says:

Thanks Steeev..
Posted 22 months ago. (permalink)

view photostream

jeffs4653  Pro User  says:

Send steeev donations!
Posted 22 months ago. (permalink)

view photostream

steeev is a group administrator steeev says:

yes please! :)

btw script updated to v3.9f to fix a bug with sending mail on photo pages.
Originally posted 22 months ago. (permalink)
steeev edited this topic 22 months ago.

view photostream

steeev is a group administrator steeev says:

*further update* updated to v4.0 - fixed for photos with multi page comments
Posted 22 months ago. (permalink)

view photostream

CORDAN  Pro User  says:

Aug 22 2010

Steeev, Have noticed a interesting glitch on the photo page.

It seems to pick up the Favs / Photo Stream/ etc. of the person above the person I click on. And if I go to the first person who comments, and select, their faves, I go here

www.flickr.com/photos/null/favorites/

I have tried this with both ver3.9 and 4.0 on my Mac, WinXP and Win7.
All have the very same result. Not sure who Null is ??

It seems to be working fine in this and other group forums.
Posted 22 months ago. (permalink)

view photostream

CORDAN  Pro User  says:

Found the conflict.

Using the patched version of “Flickr - Move comment form up” is the problem.

If it’s above FPM, it will happen in the photo comment page. If I move FPM to the top or above MCFU, it works as it should.

I can reproduce it 100% of the time. So, simple fix!

Thanks for a great script again Steve.
Posted 21 months ago. (permalink)

view photostream

decembre  Pro User  says:

Haa, i found some little things :

► Problem on multi page comments (with autopager):

The PM Bar is loaded multi time near each buddy Icon..


DONE :Now that is good, i don't remeber why but it work perfectly no (probably because i change the Autopager's rule...)





► And can you tweak it to put the PM bar under the user name , because with some long name , it load badly, like that on Profile Page:

PM - Prob-1-(Profile)

Done :
I use my Userstyle for that :Flickr WideScreen - ALLinONE
Originally posted 21 months ago. (permalink)
decembre edited this topic 7 months ago.

view photostream

decembre  Pro User  says:

Another request :
Because Flickr Buddy Interestingness , stop working For Pool - (Firefox 7),
I want use Flickr PM on Pool Pending Member Page .

Can you do that Steeev?
Originally posted 7 months ago. (permalink)
decembre edited this topic 7 months ago.

πλευρά του εαυτού μου [deleted] says:

After a hard reset and importing my favorites from a saved file, my greasemokey script "FlickrPM" doesn't work any longer. Does anyone know how to solve/troubleshoot this matter?
Posted 4 months ago. (permalink)

Would you like to comment?

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

1 2 next →
(101 to 165 of 165 replies in GM Script: Flickr PM - adds useful links next to usernames - Updated 24th Mar 2010)
RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr Hacks discussion threads