Flickr Buddy Interesting

By Mortimer Last update Apr 17, 2009 — Installed 1,724 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 4 posts, 3 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Mortimer Script's Author

will check this Ric, thanks

 
ric Scriptwright

I found out that the Pool Interestingness doesn't work when a group doesn't have an icon (i.e., it's using the default one). The offending line is:
thegroupid=unsafeWindow.document.getElementById('SubNav').innerHTML.split('\/buddyicons\/')[1].split('\.jpg')[0];
A suggestion to fix this is:
thegroupid=unsafeWindow.document.body.parentNode.innerHTML.match(/global_group_nsid\s*=\s*"(.+?)"/)[1];

 
ric Scriptwright

Another nice one, Pierre! :-) Thanks!

My first suggestion would be to allow the users to customize the number of pictures shown. I simply added two variables (width & height) and changed 4 lines of code to do this (I prefer a box with 6x6 pictures, instead of the default 5x5). I know, it's trivial for anyone who knows a bit of javascript, but it's hard for anyone who doesn't...

And I found out a problem with users that don't allow image downloads. The spaceball.gif that covers their images has an absolute position with a z-index on the link for it, and that link appears above those in the "Quick" pop-up, which means you can't open any link that is right above one of his/her images in the photostream.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel