Flickr Functional Suite
Last update on Aug 4, 2006
Adds local mini-database to color tag Flickr users you meet.
Last Update: 25 Aug 2006


Summary
Provides an interface to let you assign colors to users you meet - that way, if you find a user's link on a page in the future, it will automatically be highlighted with thes color you previously gave them.
In group pool pages, you can highlight user photos where more than one image is visible from the same user. You can also overlay all comments from a user under the corresponding photos on that page.
Features:
- Configuration
- All features can be toggled on / off
- Access to configuration either through [?] links or main "Organize" menu
- Colors can be customized.
- User coloration
- All links to a user's photostream will be altered:
- Clicking on them brings up a mini-menu
- You can assign a color to any user, which will highlight the user links
- Colors will be remembered (only on your computer, though)
- It is now possible to assign multiple colors to a user
- Links to their photos, profile and pool images (if in pool page) shown in menu
- Group pool analysis
- When viewing pool pages, all images on the page are tallied
- Users posting more than one photo will be noted
- Images from those users will get a colored background
- Background colors are unique to each user (but otherwise essentially random)
- Summary of users posting multiple images shown at top of page
- Comments for all photos on a pool page are pre-fetched
- For any poster on a pool page, all their comments can be shown for other photos on the same page
- NOTE: these functions are off by default, turn them on in the options page ('Organize' Flickr menu)
- When viewing pool pages, all images on the page are tallied
Screenshots
Compact comment summary

Image grouping in pools

Customizing options

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

login to vote
Somme User link don't don't display the assign color example : !Esco & Güilmon!
Maybe these signs :
û , ! , & are not recognize
Can you help me and us by the same way?
Here some additional comment
login to vote
Thanks again, another excellent suggestion. Implemented, a spin-off advantage is that if you like ctrl/middle-clicking to open tabs, the original links will still function in that mode.
Along the same Play Nice With Others lines, I tried a variety of schemes to colorize the user links differently - rather than chopping the user names into pieces, I tried to float colored divs/spans under the username, to leave the username text uninterupted. Experiment failed miserably; I always seem to enter the lower level of CSS hell when trying to get float, position and width to get along together...
login to vote
No problems :) Here's another one: it affects one of steev's scripts, probably others. Basically you overwrite the 'href' attribute on the username links. This is a bit rude because it will cause havoc with other GM scripts that look for those URLs.
The reason you are doing it is so that when someone clicks on a username link to bring up your menu, the browser doesn't follow the link. There is a much better way of achieving this. In Mozilla/Firefox you can prevent the browser from following a link by calling e.preventDefault() in your click handler, where e is the event object that is passed into your event listener.
You need to fix two functions:
in armUserPhotosLink, remove the line that read "el.href = 'javascript:void(0)'" and replace the lines beginning with "el.addEventLister" with the following code:
el.addEventListener(
'click',
function (e) {
e.preventDefault () ;
return CatFlickrSuite.userPhotoClick(this, e) ;
},
false
);
Now, in insertSettings, remove the line that reads "setL.href = 'javascript:void(0)'" and replace the lines beginning with "setL.addEventLister" with the following code:
setL.addEventListener(
'click',
function (e) {
e.preventDefault () ;
return CatFlickrSuite.settingsClick(this, e) ;
},
false
);
Cheers :)
login to vote
Wow, nice catch, can't believe you found that. I actually hit a user name this morning with an asterisk and was puzzling over why it was failing. I implemented your fix; I had tried looking for the equivalent of Perl's \Q..\E a few weeks ago for another RE, but gave up and forgot it was an issue.
Thanks!
login to vote
Great script, but I found a bug. At line 943 you pass a user's display name harvested from the page directly into a RegExp constructor. This causes problems when user's have RE significant characters in their display name. The problem can be fixed by changing line 943 to read as follows:
var matcher = new RegExp (term.replace (elipre,'').replace (/([(){}.^$*?+[\]\\])/g, '\\$1') + '.+$') ;