MyAvatars: a Wordpress plugin for MyBlogLog
Tired of Gravatar? You can now use MyAvatars, a plugin that shows MyBlogLog's avatars in your comments instead of Gravatar's ones even if you're not subscribed to MyBlogLog.com.
It's already used on this blog. Take a peek!
NEWS
Version 0.2b is out!!!!
Here are some features for the current version 0.2b:
- Added nofollow for avatars (from 0.2b)
- "No image bug" solved (from 0.2b)
- Title attribute for avatars in english
(from 0.2b) - "Big images" bug fixed (from 0.2a)
- Improved XHTML validation (but we still use onload="") (from 0.2)
- Gravatar support (not active by default) (from 0.2)
- Trackbacks/Pingback support (Works good, but it's not perfect) (from 0.2)
- Support for blogs with more than 1 author, works very well (from 0.2)
- Separated CSS Style (from 0.2)
- Email address is now safe!!! (from 0.2)
- Customizable title for the avatars (from 0.2)
- Gets MyBlogLog avatars of your commenters
- Links directly to their MyBlogLog profiles
- Easy installation & template integration
- Added email support for retrieving profiles (from 0.1a)
- If not MyBlogLog member will prompt the registration page (from 0.1a)
UPGRADING
MyAvatars is getting better, but to upgrade from 0.1 version you have to follow these steps:
- Disable older versions
- Delete the plugin from your server (take a copy on your PC)
- Upload the MyAvatars folder, without renaming it to your WordPress plugin folder
- Activate the plugin in your panel
If you have already installed version 0.2 you can just overwrite the folder named MyAvatars in your plugins folder.
INSTALLATION
- Download the file myavatars.zip, extract & copy it in your plugin directory preserving the folder name
- Activate the plugin in your plugin page
THEME INTEGRATION
Paste the code given inside the comment's loop (just after the "foreach ($comments as $comment) :" instruction) in your comments.php file. You can style the code for a better integration using the dedicated CSS in the plugin folder.
Call the function MyAvatars with a true for Gravatar support. E.g. MyAvatars(true);
Leave blank for default settings
EXAMPLE
if(function_exists("MyAvatars")) MyAvatars();
![]()
CONFIGURATION
From version 0.2 MyAvatars has some settings you can change. You can change settings by editing the php file in the plugin folder. Comments will help you during configuration.
FAQ
I can see all the avatar except mine!
Check your WordPress profile in your admin panel. Be sure to set your URL to the URL of your blog.
I have a "stack error" in Internet Explorer!
It happens only on some machines. I'm working to find out what kind of problem is...
BLOGGER USERS
Merlinox made a Blogger plugin. Take a look here. Ask him for support about blogger plugin.
LEGAL STUFF
For support or suggesting a feature leave a comment. This plugin is to be used at the user's own risk.
PER GLI ITALIANI
Il mio inglese è evidentemente maccheronico. Se non vi torna qualcosa lasciate un commento...
Articoli che potrebbero interessarti
MyAvatars 0.2 is out!!!MyAvatars 0.2a
MyAvatars, little update
MyAvatars… Che si fa?
12 plugins per WordPress





(61 voti, media: 4.39)
14 Dicembre 2006 alle 15:35
Grande Napolux!
Bravo…
14 Dicembre 2006 alle 16:15
testing…
14 Dicembre 2006 alle 16:18
testing…(email only)
14 Dicembre 2006 alle 16:44
@Steve
Did you mean there’s a way to catch profile from email?
14 Dicembre 2006 alle 16:52
Testing MyAvatars
14 Dicembre 2006 alle 16:57
Another test with another email!
14 Dicembre 2006 alle 17:04
testing unregistered url…
14 Dicembre 2006 alle 17:12
sorry about test messages
it works nicely!
14 Dicembre 2006 alle 17:13
Are tests ok? No problem, tests are welcome!

14 Dicembre 2006 alle 17:55
Potrebbe esserci una sorpresa anche per gli utenti blogger e sicuramente per gli utenti con blog alternativi.
Potrebbe…
***
It maybe a suprise also for blogger users… maybe…
***
p.s.: bravo Napolux
14 Dicembre 2006 alle 18:09
Ho un problema col plugin.
Appena lo attivo dal pannello mi da segnale di errore.
Su che versione l’hai testato? io ho la 2.0.4
Grazie
14 Dicembre 2006 alle 18:33
@Sapientone
Che errore ti da?
Napolux.com è basato su WP 2.0.4…
14 Dicembre 2006 alle 18:36
Bellissimo! Adesso lo provo anche io!
14 Dicembre 2006 alle 18:39
appena clicco su ATTIVA mi carica una pagina bianca con su scritto questo:
Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.sapientone.org/htdocs/wp-content/plugins/myavatars.php:29) in /home/mhd-01/www.sapientone.org/htdocs/wp-includes/pluggable-functions.php on line 272
Avrò creato qualche casino in preceenza.
Secondo te cosa può essere?
14 Dicembre 2006 alle 18:39
Proviamolo
14 Dicembre 2006 alle 18:47
@Sapientone
Prova a riscaricarlo, adesso va
Fammi sapere!
14 Dicembre 2006 alle 19:09
Funziona bene ma mi mette l’icona sopra il commento, sarebbe meglio a lato come qui…
Alberto
14 Dicembre 2006 alle 19:16
Adesso funziona. Ottimo plugin
Alberto io l’ho inserito in un div apposito, magari conviene anche a te, così da poter avere maggior controllo sulla disposizione.
14 Dicembre 2006 alle 19:22
Se solo lo sapessi fare, mica sono un programmatore come voi… sono soltanto un umile blogger!
14 Dicembre 2006 alle 19:31
Alberto ma neanche io sono un programmatore
Più tardi magari ti invio il codice per mail
14 Dicembre 2006 alle 19:34
Ma sei un sapientone… Grazie per la gentilezza.
14 Dicembre 2006 alle 19:36
Let me try a little of this sumptin’ sumptin’. Email only.
14 Dicembre 2006 alle 19:43
Hi Eric!
14 Dicembre 2006 alle 19:48
nice!!! works with email now
14 Dicembre 2006 alle 19:48
This is great, I’ll be adding it to my site soon.
Thanks
14 Dicembre 2006 alle 19:51
@Steve
Yes, and I put a link to MyBlogLog registration page for non-users.
14 Dicembre 2006 alle 19:55
Sfortunatamente il plugin per blogger non è fattibile. Il richiamo a chi commenta non ha alcuno standard per poter usare l’innerHTML.
Domani preparo però lo script per i blog personalizzati.
***
Unfortunaly blogger plugin can’t do. HTML of who comment hasn’t standard to use for innerHTML.
Tomorrow I try to do script for custom blog.
14 Dicembre 2006 alle 20:14
Alla faccia della “sicurezza”, si possono trovare le email delle persone che lasciano commenti! Basta guardare l’indirizzo dell’immagine del terzo commento, alla fine risulta la mail.
Poi non so perché ma non vendo nessuna immagine (anche se quando incollo l’indirizzo dell’immagine in un altra pagina le vedo), forse ci vogliono i cookie o i referrer (tutte cose che blocco)
14 Dicembre 2006 alle 20:19
@Timendum
Se blocchi i cookie penso non ti funzioni neanche la barra a lato di MyBlogLog.
L’email la vedi se non hai compilato il campo URL lasciando il commento, cosa davvero improbabile…
14 Dicembre 2006 alle 20:33
Come improbabile? Poi “poveretti” che non abbiamo un blog dobbiamo ucciderci?
In effetti non funziona neanche la barra a fianco… che fastidio, non capisco perché si sia obbligati ad utilizzare i cookie!
14 Dicembre 2006 alle 21:24
MySpace and WordPress happenings
A bit of news, part rather belatedly, part fresh off the grill. We’ve added support for MySpace pages. They said it couldn’t be done. That maybe it shouldn’t be done. That we were mad for even thinking about it. That
14 Dicembre 2006 alle 22:33
Problema con il plugin. Quando salvo un post, esce questo messaggio do errore:
[Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.maestroalberto.it/htdocs/wp-content/plugins/myavatars.php:29) in /home/mhd-01/www.maestroalberto.it/htdocs/wp-admin/inline-uploading.php on line 5
Warning: Cannot modify header information - headers already sent by (output started at /home/mhd-01/www.maestroalberto.it/htdocs/wp-content/plugins/myavatars.php:29) in /home/mhd-01/www.maestroalberto.it/htdocs/wp-includes/pluggable-functions.php on line 269]
14 Dicembre 2006 alle 22:35
Aggiorna il plugin alla versione 0.1a
O altrimenti elimina le righe vuote (vedrai che il file alla riga 29 non ha niente, ritorna indietro fino all’ultimo carattere che vedi, dovrebbe essere ? seguito da un segno “maggiore”) alla fine del file myavatars.php e sovrascrivilo sul server.
Fammi sapere se ci sono problemi!
14 Dicembre 2006 alle 23:00
Sto già usando la versione 0.1, devo modificare quella?
14 Dicembre 2006 alle 23:01
Scarica la versione 0.1a e sovrascrivi semplicemente il file del plugin
14 Dicembre 2006 alle 23:13
Sembra tutto ok
14 Dicembre 2006 alle 23:15
Ottimo, se ci sono problemi fai un fischio!
15 Dicembre 2006 alle 00:58
[...] Per una guida all’installazione e per scaricare il plugin andate qui. Prendi i feed | var staf_confirmtext = ‘Mail inviata’ #stafBlock { position: absolute !important; z-index: 100000; display: none; width: 350px; height: 350px; } #stafForm { background-color: #ffffff; border: 1px solid #c6c6c6; padding: 5px; margin:0; } #stafForm h2 { margin: 0; } #stafForm input, #stafForm label, #stafForm h2 { font-family: ‘Arial’, Verdana, Sans-Serif; font-size: 12px; color: #222222; } #stafForm input { width: 150px; height: 20px; margin-top: 5px; border: 1px solid #ccc; } #stafForm label { float: left; display: block; width: 150px; line-height: 16px; } #stafClose { float: right; margin-right: 5px; } x [...]
15 Dicembre 2006 alle 01:32
Hi
I’ve implemented the code on my blog but I have 2 questions:
I - My blog has some old comments where users didn’t give an email address. See http://www.connectedinternet.co.uk/2006/05/31/889/comment-page-1/#comments for an example. how do i fix the formatting for those avatars?
II - How do I change the code so that if an avatar is clicked on, it opens up in a new window?
Thanks!
EB
15 Dicembre 2006 alle 03:04
Ottimo
15 Dicembre 2006 alle 04:05
Anche il plugin per Blogger è pronto. Grazie amico.
MyBlogLog Blogger Plugin
15 Dicembre 2006 alle 09:44
Congratulations! This is great! Unfortunately, I have put in plug-in folder and activated, but it does not seem to be working. Any suggestions?
15 Dicembre 2006 alle 10:14
@Joshua P.G. Lane
Did you put this code in the comment’s loop?
if(function_exists(”MyAvatars”))
MyAvatars();
@Everton Blair
1. Really strange. I wonder you can set to “” email for that comments…
2. It opens in new windows… In Firefox 2.0 opens in a new tab…
If you still have problems contact me!
15 Dicembre 2006 alle 10:29
Think so. Have two php files related to comments:
wp-comments-post.php
wp-commentsrss2.php
Could not find the code you referenced as the preface: foreach ($comments as $comment) :” instruction, except in the wp-commentsrss2.php file.
Is that where the comments loop would be found for me?
15 Dicembre 2006 alle 10:30
Within the wp-commentsrss2.php file, I entered the code as follows:
// this line is WordPress’ motor, do not delete it.
if ($comments) {
foreach ($comments as $comment)
if(function_exists(”MyAvatars”))
MyAvatars(); {
// Some plugins may need to know the metadata
15 Dicembre 2006 alle 10:31
@Joshua P.G. Lane
Try this file
wordpress/wp-content/themes/gluedideas_subtle/comments.php
15 Dicembre 2006 alle 13:05
metto il mio faccione anche qua! pare che funzioni tutto…
15 Dicembre 2006 alle 16:10
[...] A new wordpress plugin MyAvatars can show MyBlogLog avatars in your comments instead of Gravatars even if you’re not subscribed to MyBlogLog. [...]
15 Dicembre 2006 alle 16:42
proviamo…
15 Dicembre 2006 alle 17:25
Vedi, il problema è l’esclusione a priori delle gravatar, che non mi piace :-\
15 Dicembre 2006 alle 17:44
@Andrea Micheloni
Mah, ultimamente Gravatar funziona e non funziona… Diciamo che sono più le volte che non va, personalmente, quelle poche volte che funziona, mi rallenta di molto il blog.
Nessuno vieta di alternare i due plugin, basta semplicemente attivarli o disattivarli selettivamente.
15 Dicembre 2006 alle 17:48
Got it working. Guess I needed some rest — was 3am here. Love it!!!!
Is there any way of “turning off” the functionality that: If not MyBlogLog member will prompt the registration page (from 0.1a)?
Love everything else about it! Thank you. Nice work, Man!
15 Dicembre 2006 alle 17:51
@Joshua P.G. Lane
Well, the “registration feature” and the “question mark image” was suggested by MyBlogLog staff.
Imagine it like a way to promote MyBlogLog.
15 Dicembre 2006 alle 18:30
Ho un’altra idea, Napolux, e l’ho appena finita
http://miche.netsons.org/projects/autoavatars/
È ancora in testing, ma funziona! E questo è già abbastanza.
15 Dicembre 2006 alle 18:51
That’s neat. How about trackbacks? You can use their profile avatar too, and link it to their community page. It’s better rather than a question mark for trackback. Just my 2 cents.
15 Dicembre 2006 alle 19:38
AutoAvatars for myBlogLog and Gravatar
Recently myBlogLog is having much success; it’s a website that allows you to insert into your blog many social tools, e.g. a box with the names and pictures of mybloglog users recently visiting your website.
Thanks to this Napolux has created a W…
15 Dicembre 2006 alle 21:24
@Vincent
Good idea! A feature for the next release
15 Dicembre 2006 alle 22:51
[...] WP Plugin: MyAvatars, a Gravatar replacement You can now use MyAvatars, a plugin that shows MyBlogLog’s avatars in your comments instead of Gravatar’s ones even if you’re not subscribed to MyBlogLog.com. Very cool! I did not see anything about image caching and the ability to use the MyBlogLog avatars on posts would be a cool addition, but this is much appreciated and much needed plugin. Thanks MyBlogLog Blog (that was a mouthful) (No Ratings Yet) Loading … tagged gravatar, linkyloo, mybloglog, plugin, wordpress and Wordpress Plugins If you enjoyed this post from Weblog Tools Collection please Subscribe to the RSS feed. Related Posts from the Past: [...]
15 Dicembre 2006 alle 22:57
[...] Kembali ke model sentralisasi. Lepas dari masalah skalabilitas sistem, bisa dikatakan hanya model ini yang memungkinkan pengunjung-pengunjung memiliki avatar tanpa harus memiliki situs web atau mendaftarkan dirinya di tiap weblog. Hal ini mendorong penggunaan layanan-layanan lain sebagai pengganti Gravatar. Diantaranya adalah dengan menggunakan avatar pada MyBlogLog. Saat ini saya sedang mencoba penggunaan metoda ini. Plugin yang saya gunakan agar instalasi WordPress saya ini dapat menggunakan avatar dari MyBlogLog adalah MyAvatars. Sayangnya, MyBlogLog tidak sepopuler Gravatar. Tidak banyak pengunjung yang memiliki avatar pada MyBlogLog. [...]
15 Dicembre 2006 alle 23:49
Beside fallback to Gravatar support, I think it would be nice if it will support pavatar too.
16 Dicembre 2006 alle 00:26
[...] MyAvatars: a Wordpress plugin for MyBlogLog [...]
16 Dicembre 2006 alle 00:36
[...] In giro per la blogosfera alla ricerca di plugins per WordPress, ho trovato quello ottimo di Napolux per integrare gli avatars di MyBlogLog nei commenti (ben recensito da Sapientone), l’equivalente per Blogger di Merlinox e un progetto simile a quello doi Napolux di Andrea Micheloni. [...]
16 Dicembre 2006 alle 01:04
Nice job.
16 Dicembre 2006 alle 01:04
This looks great, but I think the blogosphere would be served by one avatar/identity aggregator. I wrote about as much here…
http://ecrosstexas.com/blog/2006/12/gravatar-sucks-try-buddy-cards
16 Dicembre 2006 alle 01:22
Napolux, Thanks for the nice Plugin. Check my post here.
DG…
16 Dicembre 2006 alle 02:12
Hi there. Your plugin was recommended to me, and looks like it will be fantastic when I can get it to work. I am hoping you can help. I’ve placed the code EXACTLY as you instruct in my comments.php file, below the comment_text() line. Nothing happens. Try it anywhere else, my comments don’t appear.
I am using a Hemingway theme mod. The code in my comments.php is different to yours only in that there are some div containers - div class=”content” above if ($comment->comment_approved == ‘0′)
and that closes after the comment_text() line (where I then put your code).
Any ideas on what I can try? Many thanks!
16 Dicembre 2006 alle 04:07
MyAvatars
I use MyBlogLog service in this blog. If you’re WordPress user, you can now integrate MyBlogLog into your blog comments. You can display MyBlogLog avatar instead of Gravatar. How? Easy, use MyAvatars plugin, a Wordpress plugin for MyBlogLog. I am…
16 Dicembre 2006 alle 04:28
I am not myblog.com user, how can i update my avatars?
16 Dicembre 2006 alle 05:23
thats a gud one dude.
16 Dicembre 2006 alle 10:00
Could that work for wordpress.com users also? that would be too great !!!
thanks so much for such a great plugin. It was great time to have something other that the gravatars which were failing.
16 Dicembre 2006 alle 10:27
@Hans
It seems that Wordpress.com don’t allows external plugins.
http://faq.wordpress.com/2005/10/27/can-i-upload-my-own-plugins/
http://faq.wordpress.com/2006/07/22/where-is-my-plugins-tab/
I don’t know if this can be “hacked”…
So, give feedback to the staff, maybe they’ll install it
Stay tuned
16 Dicembre 2006 alle 14:18
OK, ora provo a installarlo anch’io (se combino casini posso fare un fischio?)
Ciao
Biagio
16 Dicembre 2006 alle 18:37
@Biagio
Assolutamente
16 Dicembre 2006 alle 19:17
OK, fatto! Pensavo peggio…
Grazie per la disponibilità e per il bel plugin…
(ma se volessi far comparire la foto nell’angolo in alto a dx del commento? si puote fare? e, chiaramente, se si, come?)
16 Dicembre 2006 alle 19:48
Devi inserire il php dentro un div, o aspetti la prossima release
16 Dicembre 2006 alle 19:59
@Andrea Micheloni
Stai pensando alla mia proposta di ieri?
16 Dicembre 2006 alle 20:10
In realtà ti avrei già risposto su gmail.. ma te non ti connetti mai?
16 Dicembre 2006 alle 21:37
[...] Gravatar out MyAvatars in Sometime last month I told you all about Gravatar a website that lets you put your own personal Avatar in the comments on my and other websites. What I didn’t know is about all the problems Gravatar has been having. They have been on going for months now. So I started looking for a new solution. There are a few promising ones. But the one I am using at the moment is MyAvatars created my an Italian developer named Napolux. So if you are a wordpress user you might want to check out this plugin. [...]
16 Dicembre 2006 alle 23:15
Right, fixed the problem. And I have a security concern…
I did not use the function call. I just used MyAvatars(); enclosed. But I then had to comment out the insecure and somewhat dubious functionality of the email addresses of non-MyBlogLog users being visible.
Now my copy of the plugin just takes non-users to the registration site and they have to fill in their email etc themselves.
You really should remove that ‘functionality’ as it’s a licence for spamming email harvesters. Otherwise, looks fantastic. Thank you!
It would be nice to have the ability to increase the size of the images in a future release. But yeah - well done!
17 Dicembre 2006 alle 01:57
Complimenti Napolux!!!
awesome plugin
installato e funziona
ps:
temo anch’io come Andy per lo spam…
grazie per il plugin
17 Dicembre 2006 alle 11:58
@Andy, @gidibao
The plugin needs of course improvements
I didn’t think about spammers, well… The next release (maybe on xmas week) will have some improvements, and I’ll take care of this problem for sure
17 Dicembre 2006 alle 16:22
i have gotten it.. thanks anyway…
17 Dicembre 2006 alle 17:35
sry for the spam… but yea… i edited the mailto function to prevent spammers catching on the email…
17 Dicembre 2006 alle 18:27
Blog compatibility
I managed to hack the current template and changed the plugin compatibility from gravatar to MyBlogLog… It’s time consuming, but I managed to do that hack while spam the plugin’s creator’s blog. The spam continues as I realised …
17 Dicembre 2006 alle 20:41
@brokenShardz
Ok, whatever you say
18 Dicembre 2006 alle 09:53
I’ve started a MyBlogLog Community Exchange if anyone wants to do an exchange.
18 Dicembre 2006 alle 15:12
[...] Nel sito di Napolux è invece disponibile il download per il plugin di WordPress. [...]
19 Dicembre 2006 alle 12:59
Klasse Plugin !!!
19 Dicembre 2006 alle 14:24
Nice!
Installed and working on my site.
I’ve added this to my Wordpress Plug-ins/Add-ons page since I know many folk reference it.
19 Dicembre 2006 alle 14:43
[...] I’ve added a new plugin to the site called MyAvatars. [...]
19 Dicembre 2006 alle 15:06
Bel plugin! Ora lo scarico e lo provo, grazie!