MyBlogLog Blogger Plugin (blogger 2 too) | MrX

« GooSync: sincronizzare PDA con google calendar | Main | Io non sono NERD e tu »

MyBlogLog Blogger Plugin (blogger 2 too)

By Merlinox | December 20, 2006

Cliccare per ingrandire

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!

(versione italiana)

 

MyBlogLog grows up every day. Blogger is one of must platform in world.
Why not integrate them?

A simply plugin (javascript) to insert MyBlogLog Avatar in your blogger comments.
How to?

  1. 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…)
  2. integrate few code chars into your blogger template

Integration

  1. Insert that code here into your &l
  2. Insert that code here into your <head> template. If you download js somewhere, you have to write your absolut or relative path and file:

    <!– merlinox mybloglog blogger plugin (.merlinox.com) : START –>
    <script type="text/javascript" src="http://.merlinox.com/mrx//test/myBlogAvatar.js"></script>
    <!– merlinox mybloglog blogger plugin (.merlinox.com) : END –>
  3. 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>
  4. 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 più famosa al mondo.
Perchè non integrarli?

Un semplice plugin (javascript) per inserire il MyBlogLog Avatar nei commenti del tuo (in blogger).
How to?

  1. 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)
  2. integra le poche parole di codice necessarie

Integration

  1. Inserisci il codice all’interno della sezione <head> del tuo . Se scarichi da qualche parte il plugin devi mettere il percorso assoluto o relativo corretto.
    <!– merlinox mybloglog blogger plugin (.merlinox.com) : START –>
    <script type="text/javascript" src="http://.merlinox.com/mrx//test/myBlogAvatar.js"></script>
    <!– merlinox mybloglog blogger plugin (.merlinox.com) : END –>
  2. 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>
  3. Aggiorna il tuo template e pubblicalo.

Facile no?

Un esempio : foto.merlinox.com


Tags: ,

Post simili

36 Responses to “MyBlogLog Blogger Plugin (blogger 2 too)”

  1. Sapientone aggiunge:

    Segnalato!

  2. Merlinox aggiunge:

    Grande Sapientone!

  3. ferdi aggiunge:

    forte! Ho aggiornato il mio post su mybloglog ciao!

  4. Merlinox aggiunge:

    Visto visto e l’hai pure installato :) http://mioguru.blogspot.com/2006/11/mybloglog-per-creare-la-community-del.html

  5. k76 aggiunge:

    mitico!

  6. Merlinox aggiunge:

    Quando vuoi ti passo lo script anche per il tuo anche se sono certo che non ne hai bisogno!

  7. Andrea Micheloni aggiunge:

    Ah.. complimenti! :D

  8. Andrea Micheloni aggiunge:

    … ma fosse almeno un punto di domanda un po’ più decente! :P

  9. Merlinox aggiunge:

    @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.

  10. gidibao aggiunge:

    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 ;)

  11. Merlinox aggiunge:

    Un onore gidibao. Thanks.

  12. Franciov aggiunge:

    [...] I have to thank Napolux and Merlinox. Those italian ( :D ) 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. :) [...]

  13. Blog Bloke aggiunge:

    Very nice. Thanks!

  14. Merlinox aggiunge:

    Of course bloke :) But… where is your avatar?

  15. Blog Bloke aggiunge:

    There you go ;-)

  16. Fenton aggiunge:

    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

  17. Merlinox aggiunge:

    Thanks you too Fenton for you visit and message :)

  18. tiseb aggiunge:

    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 :-)

  19. Merlinox aggiunge:

    @tiseb: Thank you too for comment :)

  20. Blog Bloke aggiunge:

    Is there any way to get the sillouette pic to show up instead of the question mark?

  21. Merlinox aggiunge:

    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

  22. Blog Bloke aggiunge:

    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

  23. Merlinox aggiunge:

    @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…

  24. Blog Bloke aggiunge:

    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.

  25. Giuseppe T. aggiunge:

    Ciao Merlinox, volevo ringraziarti per lo script, ottimo lavoro.

    Ciao!!!

  26. Merlinox aggiunge:

    @giuseppe: grazie a te, ma è una cavolata :)

  27. PigTailLeo aggiunge:

    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

  28. cali aggiunge:

    just a test

  29. huhu aggiunge:

    hu

  30. Blog Bloke aggiunge:

    My avatar seems to have stopped working! Any ideas?

  31. Merlinox aggiunge:

    @Blog Bloke: no. ’cause I see your avatar :) Try to check my source code.

  32. Amanda aggiunge:

    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

  33. Merlinox aggiunge:

    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 :)

  34. khairilhusniotmail.com aggiunge:

    Testing

  35. Takumi86 aggiunge:

    Thanks for this great tips!!

  36. Merlinox aggiunge:

    to you too :)

Comments