« GooSync: sincronizzare PDA con google calendar | Main | Io non sono NERD e tu »
MyBlogLog Blogger Plugin (blogger 2 too)
By Merlinox | December 20, 2006
For new blogger version 2, js to use is: myBlogAvatar2.js
New code is:
<div style="border:0;float:right;margin: 5px;">
<script>
myBlogAvatar(’<data:comment.id/>’,'<data:comment.authorUrl/>’);
</script>
</div>
To insert after:
<dl id=’comments-block’>
<b:loop values=’data:post.comments’ var=’comment’>
<dt class=’comment-author’ expr:id=’"comment-" + data:comment.id’>
or similar.
Uno speciale ringraziamento a Napolux per la collaborazione e la realizzazione di questo plugin, disponibile anche per WordPress!
MyBlogLog grows up every day. Blogger is one of must blog platform in world.
Why not integrate them?
A simply plugin (javascript) to insert MyBlogLog Avatar in your blogger comments.
How to?
- download (from here!) plugin in js and save it on your site, or you it directly from my site (better if you say it to me…)
- integrate few code chars into your blogger template
Integration
- Insert that code here into your &l
- Insert that code here into your <head> blog template. If you download js somewhere, you have to write your absolut or relative path and file:
- Before your blogger tag "<$BlogCommentAuthor$>" insert:
<script>myBlogAvatar(’<$BlogCommentNumber$>’,'<$BlogCommentAuthor$>’);</script>
If you want to customize image style you can write something similar like:
<div style="border:1px solid #999999;float:right;margin: 0 0 0 15px"><script>myBlogAvatar(’<$BlogCommentNumber$>’,'<$BlogCommentAuthor$>’);</script></div> - Update your template and publish it.
Very easy. No?
An example: foto.merlinox.com
MyBlogLog cresce giorno dopo giorno, anche in Italia. Blogger è la piattaforma pubblica di blog più famosa al mondo.
Perchè non integrarli?
Un semplice plugin (javascript) per inserire il MyBlogLog Avatar nei commenti del tuo blog (in blogger).
How to?
- scarica (da qui!) il plugin in js e salvalo nel tuo sito, o usa direttamente puntando l’indirizzo del link (meglio se me lo comunichi)
- integra le poche parole di codice necessarie
Integration
- Inserisci il codice all’interno della sezione <head> del tuo blog. Se scarichi da qualche parte il plugin devi mettere il percorso assoluto o relativo corretto.
- Dopo il tag "<$BlogCommentAuthor$>" del template di blogger inserisci:
<script>myBlogAvatar(’<$BlogCommentNumber$>’,'<$BlogCommentAuthor$>’);</script>
Se vuoi personalizzare lo stile dell’avatar puoi usarlo anche in questo modo (esempio):
<div style="border:1px solid #999999;float:right;margin: 0 0 0 15px"><script>myBlogAvatar(’<$BlogCommentNumber$>’,'<$BlogCommentAuthor$>’);</script></div> - Aggiorna il tuo template e pubblicalo.
Facile no?
Un esempio : foto.merlinox.com
Tags: blog, socialBookmark
Post simili







December 15th, 2006 at 9:09 am
Segnalato!
December 15th, 2006 at 9:17 am
Grande Sapientone!
December 15th, 2006 at 11:59 am
forte! Ho aggiornato il mio post su mybloglog ciao!
December 15th, 2006 at 12:08 pm
Visto visto e l’hai pure installato
http://mioguru.blogspot.com/2006/11/mybloglog-per-creare-la-community-del.html
December 15th, 2006 at 5:04 pm
mitico!
December 15th, 2006 at 5:30 pm
Quando vuoi ti passo lo script anche per il tuo anche se sono certo che non ne hai bisogno!
December 15th, 2006 at 6:58 pm
Ah.. complimenti!
December 15th, 2006 at 8:24 pm
… ma fosse almeno un punto di domanda un po’ più decente!
December 16th, 2006 at 2:39 am
@andrea: complimenti accettatissimi anche se immeritati, il punto di domanda ti riferisci a chi non ha myBlogLog? Bisogna dirglielo a loro
L’avevo levato, controllando la dimensione dell’immagine tramite JS e agendo sui CSS, ma poi tramite Napolux quelli di MyBlogLog hanno chiesto di riattivarlo.
December 18th, 2006 at 2:47 pm
Ottimo hack Merlinox!
ho appena pubblicato sul mio sito un articolo sul tuo plugin.
Se ci fosse qualche imprecisione, ti invito a contattarmi per una mia pronta modifica dello stesso.
Buona giornata
December 18th, 2006 at 2:54 pm
Un onore gidibao. Thanks.
January 3rd, 2007 at 4:56 am
[...] I have to thank Napolux and Merlinox. Those italian (
) guys made a very good job!! Napolux is the author of MyAvatars for Wordpress and Merlinox developed MyBlogLog Blogger Plugin for Google Blogger. Using these plugins you can get the MyBlogLog avatars on your blog comments. Now I’m using both of them.
[...]
January 25th, 2007 at 9:47 pm
Very nice. Thanks!
January 25th, 2007 at 9:55 pm
Of course bloke
But… where is your avatar?
January 25th, 2007 at 10:26 pm
There you go
January 31st, 2007 at 7:46 am
I would surely implement your creation when I set up my free blogger acc next time. Thanks for your brilliant idea!
God bless you.
Regards,
Fenton
January 31st, 2007 at 8:48 am
Thanks you too Fenton for you visit and message
March 6th, 2007 at 10:47 pm
Thanks Merlinox, this is really great! I’ve been waiting soooo long for Blogger to come up with a solution to display these avatars. Now thanks to MyBlogLog and you it is possible at last
March 6th, 2007 at 10:55 pm
@tiseb: Thank you too for comment
March 7th, 2007 at 1:11 am
Is there any way to get the sillouette pic to show up instead of the question mark?
March 7th, 2007 at 1:21 am
You can put it everywhere, but inside:
<b:loop values=’data:post.comments’ var=’comment’>…</b:loop>
I hope I explained good:
http://tinyurl.com/2bckcv
March 7th, 2007 at 2:02 am
I don’t think so. I want to change the question mark icon (coiserv.gif) to a <b> silhouette</a></b> image like wordpress users have:
http://www.mybloglog.com/buzz/images/pict_none.gif
March 7th, 2007 at 2:10 am
@blog bloke: "?" is standard image required directly by mybloglog. MyBlogLog put that image directly instead of avatar.
Only way I see to do what you want is to replace with JS all occurence of that image… but it’s not so simply.
You must create a loop on window.onload…
March 8th, 2007 at 1:14 am
Thanks Merlinox for your quick response, but I was wondering if you would consider updating this post showing how to include the silhouette icon instead of the standard question mark?
Also, I notice that you are using inline comments. I assume you are using the New Blogger because I notice that you are using Custom Domains similar to my setup. So would you consider writing a post showing how to make inline comments for the New Blogger?
If so, would you also let me know when the post is finished so I can provide a link to my readers?
Thanks.
April 2nd, 2007 at 2:32 pm
Ciao Merlinox, volevo ringraziarti per lo script, ottimo lavoro.
Ciao!!!
April 2nd, 2007 at 2:41 pm
@giuseppe: grazie a te, ma è una cavolata
April 10th, 2007 at 10:42 pm
I finally found what I want. Many many thanks.
I’ve written a Chinese step by step installation guide on my blog. By the way, in my instructions, I told my reader to link the myBlogAvatar2.js file hosted on my web site, not on yours. Just in case the hotlink traffic. Please let me know if you have any concern.
http://pigtailleo.blogspot.com/2007/04/bloggercom-mybloglog.html
June 13th, 2007 at 10:30 am
just a test
June 13th, 2007 at 10:32 am
hu
August 13th, 2007 at 10:30 am
My avatar seems to have stopped working! Any ideas?
August 13th, 2007 at 2:14 pm
@Blog Bloke: no. ’cause I see your avatar
Try to check my source code.
November 9th, 2007 at 8:09 pm
Hello Merlinox,
Thank you for this excellent script! I have now implemented this into my own blog, and have also made a detailed post to explain to (new) Blogger Layouts users how they can include this in their blogs (which of course credits you and provides a link back to this post!).
Do you have a post which explains how you created these inline comments? This is far more useful than the default Blogger pop-up screen, and so I would be very interested to learn more about this if you have the time.
Best wishes,
Amanda
November 11th, 2007 at 3:00 pm
Thank you very much Amanda. Sorry but I don’t understand what you ask to me

If you need more help please write here or directly in my email: merlinox (@) gmail.com
November 12th, 2007 at 12:16 am
Testing
December 2nd, 2008 at 8:17 pm
Thanks for this great tips!!
December 3rd, 2008 at 9:19 am
to you too