Roberto Ballerini - traveling Published on July 26, 2008
by Roberto Ballerini - travelingpro

Roberto Ballerini - traveling's blog

Browse posts
A new group...
Posted on August 23, 2008
8 comments (latest 4 months ago)
ACCOUNT CLOSED
Posted on August 9, 2008
40 comments (latest 4 months ago)
I didn't know...
Posted on August 4, 2008
57 comments (latest 4 months ago)
Summer Jamboree 2008
Posted on August 3rd, 2008
6 comments (latest 4 months ago)
Ipernity Refer Comment [NEW: version 0.92 - 26-Jul-08]
93 comments (latest 3 months ago)
My 25th shot over 1000 visits
Posted on July 23, 2008
AFK: away from keyboard
Posted on July 7, 2008
5 comments (latest 6 months ago)
Que viva España
Posted on June 30, 2008
17 comments (latest 6 months ago)
Photostream of the Day - June 21st 2008: Factoryno
Posted on June 21, 2008
12 comments (latest 4 months ago)

Keyword tags

firefox
greasemonkey
ipernity refer comment

Member tags

Carsten
Roberto Ballerini - traveling
tobstone
    

More information

This post is public
© All rights reserved
  1. 5 people added it to their favorites
  2. Read 0 times

Ipernity Refer Comment [NEW: version 0.92 - 26-Jul-08]

Saturday July 26, 2008 at 08:22AM

You asked for it, you got it! ;-)
Is a GreaseMonkey Script I translated from Flickr to Ipernity.

ADDED in 0.92: IpernityFox resolution (thanks Carsten)
UPDATED in 0.91: restored a smaller size for the comment (the previous code was incompatible with the new Ipernity codebase)
ADDED in 0.9: home page resolution;
BUGS CORRECTED in 0.9: parameter trapping
ADDED in 0.8: when you come from a user stream or blog, her web alias is shown (thanks to moty66)
ADDED in 0.7: the comment is now of a more little size, as suggested
UPDATED in 0.7- 0.8 - 0.9: a new list of group names is resolved

What is GreaseMonkey ? A Mozilla Firefox extension.

What are GM scripts? Are scripts permitting to modify a webpage appearence and functionality.

What is Ipernity Refer Comment? It is a GM scripts that keeps trace of where you come from. Every time you enter a page with a comment box, the comment box is automagically filled with the HTML code informing of where you came from and with a backlink.

 

WARNING: I'd like to have a single version, even because this functionality will be perhaps integrated in Ipernity's interface. So, if you want it modified some way (with the name of your group or something similar), please drop me a line. I'm studying the way to make it automatically, but a lot of groups haven't a web alias defined, so they are identified by numbers and I think saying 'Coming from the 24xxx group...' isn't a good service.

EDIT: in version 0.6 I added the group name resolution for groups with over 100 members; this is obtained hardcoding group informations inside the script code and so it is error prone. I searched for all the groups with more than 100 members: quantity doesn't mean quality, but it's impossible to hardcode the names of the over 1000 Ipernity groups. I tried to be precise in including all the bigger groups, but if you find some missing group, let me know and I will include it in the next release.

PLEASE: notify me of every error or request; having only a single version of the script is vital to its evolution

NOTE: I found a little bug. When you come from your home page how seen by other users, there is a parameter and your name comes with "?rev=xx" appended; this will be corrected in version 0.9.

You can download it here: www.consulentionline.org/Ipernity-Add-referer-into-comments.php

List of resolved groups:

  • Weekend Walk Wonderz
  • Germany
  • Macro
  • i-Central
  • Geometric Abstracts
  • Night Shots
  • the Absurd
  • Bokeh
  • Less is More
  • PIX EDIT
  • Ipernity Groups Directory
  • Best of the Week
  • B&W
  • Black and White
  • Crazy Faces
  • asymetrix
  • Manipulated reality
  • Metropolis
  • Flowerotica
  • me, myself and I
  • Strong colors
  • Art libre...
  • selfportraits
  • Architecture
  • Portrait
  • Travel Photo Forum (added in 0.7)
  • Catchy Colours (added in 0.7)
  • Landscape (added in 0.7)
  • fog, dust, mist... (added in 0.7)
  • Graffiti (added in 0.7)
  • Animal Photos (added in 0.7)
  • Red! (added in 0.7)
  • Candid Street Photography (added in 0.7)
  • Ipernity meetings (added in 0.7)
  • Flowers (added in 0.7)
  • Take a look! (added in 0.7)
  • Mono images (added in 0.8)
  • Sky is creative, I'm not (added in 0.8)
  • Time for Experiments (added in 0.8)
  • into the woods (added in 0.8)
  • Girls - An Ode to Female Beauty (added in 0.8)
  • Blue! (added in 0.8)
  • Light (added in 0.8)

ADDED in 0.9:

  • B&W
  • Sony R1
  • Tree
  • Illusions
  • 4 Seasons - Spring
  • 4 Seasons - Summer
  • Illusions of Nature
  • 4 Seasons - Fall
  • 4 Seasons - Winter
  • Clouds
  • Backlighting
  • Fruits and Vegetables
  • Stone
  • Leaves
  • The Dark Side
  • One pic/One song
  • mpph
  • professional photographers
  • Another view of the world
  • chimney-roofs-walls
  • urban life
  • The Sky is the Limit
  • Reflection
  • Contemporary Abstracts
  • Photographes Super Amateurs
  • HDR
  • * most creative *
  • Unofficial Ipernity Ideas and Wish
  • Red!
  • Praise and Curse of the City
  • An Ocean of Blue
  • Sunrise - Sunset:

 

93 Comments / add your comment?

     says:
thank you so much for this script, I am going to make some test and then I will post again
Posted 15 months ago. ( permalink )
nihabu says:
Ok I think it works... thanks for it!!!

--
Seen in a user home page (?)
Posted 15 months ago. ( permalink )
Dirkpro says:
Yeeeeeeeeeeeehaaaaaaaaa :) Thanks! Looks great!

--
Coming from a mailbox (?)
Posted 15 months ago. ( permalink / translate )
mad.melonpro says:
oh boy :D:D:D
you're GREAT!!! :D

--
Coming from here (?)
Posted 15 months ago. ( permalink )
[op]drie says:
great thanks, my friend you did a great job, but there's more to do........ ; ]

--
Seen in a user home page (?)
Posted 15 months ago. ( permalink )
Roberto Ballerini - travelingpro says:
I want to clarify this point for the group admins.
If you don't go to the Administration page, click on the Web alias and set the web alias, i.e. the group address: mygroup.ipernity.com (and the corresponding www.ipernity.com/group/mygroup). If you don't do so, the group is identified only by its serial number.
If you don't do so, the only way I can show the group name in this script is with a terrific table serial/name and you don't want every page having a two minutes load time because ofe the script, don't you? :-))))

--
Seen in my account recent activity (?)
Posted 15 months ago. ( permalink )
Axel F. says:
Thanks - I've missed this useful tool!
Posted 15 months ago. ( permalink )
Wiki Tangopro says:
Thanks a lot Roberto! Gonna test it tonite!
Posted 15 months ago. ( permalink )
Christine Lebrasseur says:
You're a king ! (the brother of Mortimer ? ;)

--
Seen in a user home page (?)
Posted 15 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Perhaps the father... MDR
--
Coming from a blog (?)
Posted 14 months ago. ( permalink )
Christine Lebrasseur replies:
Posted 14 months ago. ( permalink / translate )
Bigoode [Frozen account]pro says:
clap clap clap
Posted 15 months ago. ( permalink )
rob_visualpro says:
Wow! Thanx! Works like a charm...

You should inform the team-ipernity. They should put this skript on their third-party-page!

--
Seen in a user's network (?)
Posted 15 months ago. ( permalink )
Paprikaplains says:
Thanks! Good work, it's very useful!

--
Seen in a user home page (?)
Posted 15 months ago. ( permalink )
Roberto Ballerini - travelingpro says:
Thanks to all of you for your interest, your warm support and kind comments. I hope you will enjoy this new 0.6 version.

--
Coming from a blog (?)
Posted 14 months ago. ( permalink )
Waechorpro says:
Thank you Roberto, very useful script.
Posted 14 months ago. ( permalink )
GiNa P. says:
Thanx a lot Roberto. I really was waiting for it...
I hope my both main-groups can manage it to get more members for using this nice script...
--
Seen in the latest posts of Roberto shown at my home page ;o) (?)
Posted 14 months ago. ( permalink )
Paŭl Peeraertspro says:
Grazie mille, Roberto!!!

--
Coming from here (?)
Posted 14 months ago. ( permalink )
greyninepro says:
Thanks Roberto, for all the effort you put into this scripts!

A suggestion: Since the backlink should only be a little hint, what do you think about posting the linktext in small?
--
Seen in a user home page (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Something like this?
|
|
V
--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
greyninepro replies:
yes something like that. or just with a <small>-tag.
 |
V
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Posted 14 months ago. ( permalink / translate )
greyninepro replies:
Posted 14 months ago. ( permalink )
Kiezkicker <--> ɹǝʞɔıʞzǝıʞpro replies:
Maybee the "(?)" in small, too?
And what's about the www.ipernity.com/about/gm - www.ipernity.com/blog/14433/24792/comment/596449#comment596449 - would be nice if you haven't google for this great script and found it just by mistake. ;)
--
Coming from a blog (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
It is already so! I suppose this is a problem with the browser font...
I've already sent my scripts to the Team, but I think they are studying the way to integrate these functionalities in Ipernity's standard inteface

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Ulf Buschmann says:
Cool! Thank you very much!
Posted 14 months ago. ( permalink )
Bigoode [Frozen account]pro says:
Thanks!!!!!
II
v
--
Seen in a user home page (?)
Posted 14 months ago. ( permalink / translate )
_marmota says:
Cool! Just what I was looking for!

--
Seen in a user's network (?)
Posted 14 months ago. ( permalink )
manganite says:
That's pretty cool!

Thanks, Roberto :)

--
Seen in Explore what's hot (?)
Posted 14 months ago. ( permalink )
♥/work. says:
good job!thank you very much!
Posted 14 months ago. ( permalink )
j'pèse mon chat !!pro says:
yesss!!!!!! :)))))
Thanks :D

--
Seen in a user home page (?)
Posted 14 months ago. ( permalink )
Dink says:
Hey! Thanks for this useful piece...
I've managed it to work with Camino.
Thanks again!

Update: worked only once in Camino and doesn't anymore. I have to rebuild the booklet it again and again then it works...
Strange.

Update 2: Well ... won't work. I have to switch to Firefox for this function.
Posted 14 months ago. ( permalink )
Dink edited this comment 14 months ago.
Roberto Ballerini - travelingpro replies:
sorry. I don't have a Mac to test it on Camino.

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Dink replies:
No problem... it works with firefox. Greasymon key scripts will come to Camino the next versions.
Thanks again.
Posted 14 months ago. ( permalink )
Kiezkicker <--> ɹǝʞɔıʞzǝıʞpro says:
A few more:

into the woods (105 Mitglieder): www.ipernity.com/group/woods
Girls - An Ode to Female Beaut… 144 Mitglieder: www.ipernity.com/group/girls
Mono Images 155 Mitglieder: www.ipernity.com/group/25280
Zeit für Experimente - 105 Mitglieder: www.ipernity.com/group/experiment
Straßenfotografie - 106 Mitglieder - www.ipernity.com/group/streetphotography
Sky is creative i'm not - 105 Mitglieder: www.ipernity.com/group/sky.creative
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Thank you for your aid.
The fifth is already in 0.7; the other five will be in 0.8.
Even the Blue! group will be added.
I invite you all to help me keep it updated.

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
     says:
Hi Roberto

I've made some modification to your script, now it can show the username and the group name on the comments, I hope that you can take a look at it.

--
Coming from robertoballerini's blog (?)
Posted 14 months ago. ( permalink )
     edited this comment 14 months ago.
Roberto Ballerini - travelingpro replies:
Great!
I haven't studied it, but what happens when a user didn't define a name? Perhaps we must add a test to control if tmp[4] is a number

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
     says:
sure, It's just a fast way, need to be tested when we search a group and when we search in a user home page, but for 10 minutes of work I got good results

--
Seen in moty66's user home page (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Sure. You're more able than me with javascript! How about a more thorough revision of the script? We can then merge the two versions.

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro says:
Sure. You're more able than me with javascript! How about a more thorough revision of the script? We can then merge the two versions.

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
     says:
The main problem is time, but at the end of this week I hope that I can take a look at the script then I will let you know and update the above link.

--
Seen in moty66's user home page (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
I partially implemented it in 0.8: thank you very much!

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
tuvalupro says:
Thanks a lot for this script.
What do you need for my groups to be supported? The webalias is already set. I have an early version of your script and I added these lines:

case '25589':
case 'sony-r1': risposta = 'the Sony R1 '; break;
case '26222':
case 'tree': risposta = 'the Tree '; break;
case '26294':
case 'illusions': risposta = 'the Illusions '; break;
case '26411':
case 'spring': risposta = 'the 4 Seasons - Spring '; break;
case '26412':
case 'summer': risposta = 'the 4 Seasons - Summer '; break;
case '26295':
case 'illusionsofnature': risposta = 'the Illusions of Nature '; break;
case '26413':
case 'fall': risposta = 'the 4 Seasons - Fall '; break;
case '26414':
case 'winter': risposta = 'the 4 Seasons - Winter '; break;
case '25563':
case 'clouds': risposta = 'the Clouds '; break;
case '25560':
case 'backlighting': risposta = 'the Backlighting '; break;
case '26943':
case 'fruits': risposta = 'the Fruits and Vegetables '; break;
case '28026':
case 'stone': risposta = 'the Stone '; break;
case '25906':
case 'leaves': risposta = 'the Leaves '; break;

Do you still need those?

Yours Arne.
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
I chose to only add groups with more than 100 members, but your desires are orders, my friends ;-) (wait until 0.9)

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
tuvalupro replies:
Oh, didn't know that. Thank you :)
Posted 14 months ago. ( permalink )
Stilettopro says:
Oh goodie, goodie gumdrops!!! :-)

Thank you so much!!

He he - look at that, already I can tell the improvement!!!

--
Seen in stiletto home page (?)
Posted 14 months ago. ( permalink )
[op]drie says:
Thanks for version 0.8
--
Seen in a very secret place (?)

--
Seen in opdrie home page (?)
Posted 14 months ago. ( permalink / translate )
Dink says:
Thanks a lot! Great job...!
Posted 14 months ago. ( permalink )
GiNa P. says:
Thanx for adding Time for Experiments Roberto...

--
Seen in a user home page (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
;) thank you for making an interesting group

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro says:
I found a little bug. When you come from your home page seen by other users, there is a parameter and your name comes with "?rev=xx" appended; this will be corrected in version 0.9.

--
Seen in robertoballerini home page (?)
Posted 14 months ago. ( permalink )
     says:
[BUG]
if you come from the browser bookmarks, you will get a javascript error, because the variable referrer is not set
Posted 14 months ago. ( permalink )
     edited this comment 14 months ago.
Roberto Ballerini - travelingpro replies:
Thanks: will be trapped in 0.9

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
Pippinapro says:
Fatto BigMushroom! Non ho capito quando spieghi del Bug, cosa c'è che non va però non mi importa..:P
un bacino

--
Seen in pippina11 home page (?)
Posted 14 months ago. ( permalink / translate )
Waechorpro says:
thx Roberto

--
Seen in a user home page (?)
Posted 14 months ago. ( permalink / translate )
Billpro says:
Posted 14 months ago. ( permalink / translate )
[op]drie says:
Thx for 0.9 cool

--
Seen in opdrie home page (?)
Posted 14 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
OH MY!!!! Your coffee spills all over my scripts...bonk

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
[op]drie replies:
I still want you to use your old icon/avatar, everyone is changing his/her icon, you started it. please change it back, so it will stop ; ]

--
Seen in a user's home page (?)
Posted 14 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
OK: let me introduce you my new old buddy:

wink

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
[op]drie replies:
NO, no, conoscete che cosa significo

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
Yes: I was kidding:

376794295 c18532e11d o by Roberto Ballerini

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
[op]drie replies:
Sì, quello è quello
Posted 14 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
Congratz for the Italian: you never stop to made us surprises!

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink )
Pippinapro replies:
vai con l'italiano opdrieeee!!!

--
Seen in Explore what's hot (?)
Posted 14 months ago. ( permalink / translate )
[op]drie replies:
Non è perfetto, ma provo

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
Pippinapro replies:
BRAVO!! anche il mio inglese non è corretto ma va bene, per capirsi no? :)

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
[op]drie replies:
Sì naturalmente. Ma come è il vostro dutch?

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
Babelfishesque!!!
Posted 14 months ago. ( permalink )
Pippinapro replies:
niente di niente..

--
Seen in Explore what's hot (?)
Posted 13 months ago. ( permalink / translate )
So 2.0.0.9pro says:
Ma basta, Roberto, non ce la faccio piu a seguire le "new releases" ;)

--
Seen in sowhat home page (?)
Posted 14 months ago. ( permalink / translate )
Roberto Ballerini - travelingpro replies:
Tu dois remercier Chris Ruelle qui ajoute toujoures de nouvelles pages ;-)

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
So 2.0.0.9pro replies:
Rhalalalalala, on arrête plus le progrès :) En tout cas, merci à toi pour ces améliorations constantes.

--
Seen in my account recent activity (?)
Posted 14 months ago. ( permalink / translate )
Billpro says:
Also working in Windows Vista? At the moment I have some problems.
Posted 13 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Unable to directly verify: I'm a Linux user. I'll make some Web search to try to give you an answer.

EDIT: I can confirm you that there are problems between Vista, Firefox and Greasemonkey --> have you updated to the last GM and Firefox versions?

--
Seen in my account recent activity (?)
Posted 13 months ago. ( permalink )
Billpro says:
Thanks Roberto, it's working now!

--
Seen in Explore what's hot (?)
Posted 13 months ago. ( permalink )
Roberto Ballerini - travelingpro replies:
Happy you solved your problems ;-)

--
Seen in my account recent activity (?)
Posted 13 months ago. ( permalink )