Discussion & Support
This is where you can ask questions or leave feedback regarding the Gravatars2 plugin.
SUPPORT REQUIRES A DONATION
I am no longer giving support for this plugin without a donation — it’s becoming repetitive and not very rewarding. You can email me (kip @ this website’s hostname) with your question, and I can tell you what minimum donation amount is sufficient per the difficulty of the question. Note that this donation in no way obligates me to any contractual duties. It’s mostly a way to make sure that people have exhausted their own efforts at resolving their own problems before asking for my support.
If you find any bugs, please let me know so I can squish them. If you have never used Skippy’s Gravatars plugin, and you run into problems, please check out the questions and answers in his thread to answer common problems.
May 2nd, 2006 at 4:13 pm
Go to gravatar.com to get a gravatar. As people with gravatars leave comments on this page, we should hopefully see the efficiency of caching the gravatar images (as well as “no images” and even server errors). I have the options set so that this page only checks for a gravatar image the first time a new email address is used in a comment. After that, the system cron job refreshes the gravatars.
SUPPORT REQUIRES A DONATION
I am no longer giving support for this plugin without a donation — it’s becoming repetitive and not very rewarding. You can email me (kip @ this website’s hostname) with your question, and I can tell you what minimum donation amount is sufficient per the difficulty of the question. Note that this donation in no way obligates me to any contractual duties. It’s mostly a way to make sure that people have exhausted their own efforts at resolving their own problems before asking for my support.
NOTE TO THOSE HAVING PROBLEMS WITH GRAVATARS2 PLUGIN ON THEIR SITE:
If you don’t leave the URL / link to your site, I have no way of seeing what is going on, so helping you will be quite difficult and perhaps impossible. So, if you want me to help you, then you need to leave the URL / link to your site, and explain what the problem is, and have an example that I can see when I go to your site (e.g. a direct link to a comment not working, or whatever).
May 3rd, 2006 at 3:56 pm
This is a test to see if my gravatar shows up. It’s not working on my site.
May 3rd, 2006 at 4:06 pm
Update, it works in my post, but not in the comments.
May 3rd, 2006 at 4:27 pm
One further point of clarification: the “original” (http://www.gravatar.com/implement.php#section_2_2) plugin works. Both this plugin and skippy’s plugin only show the default gravatar.
The theme I am using, 3K2, has gravatar support “built-in”, so I didn’t have to edit my comments file at all, but I guess it is only built to support the original plug. I’m not sure what I would have to edit to make it work with this plug. Here is the file: http://www.christopherawheeler.com/comments.txt
Thanks.
May 3rd, 2006 at 11:57 pm
@Christopher A. Wheeler: I made a change to make the Gravatars2 plugin work with the Original WordPress Gravatar plugin syntax. Your comments.php file was set up with that syntax, which isn’t (wasn’t) compatible w/ Gravatars2. Now, though, it will work. Note that the options you are passing in there, however (rating, size, default) are ignored, since those options are set in the Gravatar Options admin interface.
So, re-download & unzip the files (into the root WordPress directory), delete your gravatar cache, and try it again. Let me know if it works.
May 4th, 2006 at 10:32 am
That is so awesome, it works. Now I have to figure out how I want to style it better.
Thanks so much for your help.
May 4th, 2006 at 3:44 pm
@Christopher A. Wheeler: I’m glad it’s working for you, now. Let me know if you ever have any ideas on how to make this plugin better.
May 4th, 2006 at 10:29 pm
If I think of something I will for sure let you know. The only thing I wish I could do now is try and figure out a good way to put it where I want it.
May 5th, 2006 at 12:56 pm
Can you tell me (or link me) how I would be able to use the Gravatars as icons for post authors?
May 5th, 2006 at 6:55 pm
@Dean: Instead of $comment->comment_author_email, use $authordata->user_email as the parameter for gravatar_path (or gravatar, or wp_gravatar — whichever you are using currently — in your index.php and/or single.php and/or archive.php files. This won’t work with the gravatar.com WordPress plugin version — only this one or Skippy’s.
Or… I may make this a feature in an upcoming release… stay tuned.
May 6th, 2006 at 1:42 am
OK, I don’t know how but somehow after installing your plugin I broke my blog. Nothing works - posts, comments, feed - nothing. I really regret not backing up my blog prior.
Any ideas? Can I delete the Gravatars2 installation files safely in hopes of recovering my blog?
May 6th, 2006 at 7:51 am
@Dean - No worries… this plugin does not modify any core files, it only adds files. So, just remove the ./wp-content/plugins/gravatars2.php file and that will remove the plugin. Did you install or activiate anything else? Did you modify any template files (ie: comments.php)? I will email you to see if we can troubleshoot the problem, though. It’s most definitely a PHP problem — but with errors/warnings disabled, we can’t see what’s wrong without looking at the logs.
May 6th, 2006 at 10:09 am
UPDATE: I think I replicated the problem. Gravatars2-WPCron isn’t working on WP 1.5.1. I’m working on a fix now. In the meantime, you can remove that file: ./wp-content/plugins/gravatars2-wpcron.php
May 6th, 2006 at 10:39 am
BUG FIX: I found the problem with Gravatars2-WPCron not working on WP 1.51. New version released: 1.3.1b — download & reinstall (unzip into WordPress root directory)
May 6th, 2006 at 1:20 pm
Oh sweet crap, you’re the man. My site’s not broken! Thanks!
:D
So I’ve reinstalled Gravatars2 and it seems to be working, but I’m finding it difficult to customize the way the Gravatars are formatted on my site. Kip, would you mind sharing your comments.php so us n00bs can use it as a guide?
My personal gravatar is not working on my site for my old posts. I used a different email address when I signed up for a Gravatar than what’s in my WP profile and I don’t want to have to create another account, but I will if I must. Check it out here: http://deanish.com/music/pearl-jam-pearl-jam#comments . Also, the blank_gravatar.png image isn’t working at all. Thoughts?
May 6th, 2006 at 1:31 pm
Nevermind about my personal gravatar - the comments remember the email address associated with the comment itself rather than the WP user, so I just had to edit each of my comments with my correct email address. Still don’t know about the blank_gravatar.png though - here’s the link (just so you can see that the image is valid): http://deanish.com/wp-content/gravatars/blank_gravatar.png
May 7th, 2006 at 6:48 pm
Thanks for all of your help, Kip.
May 7th, 2006 at 8:19 pm
You’re welcome, Dean. After we got your problem fixed, I made a minor fix to the plugin that makes sure the path for the default gravatar starts with a “/” (unless it’s a URL, of course). That should keep other people from running into the same problem.
May 8th, 2006 at 5:55 am
very good
May 9th, 2006 at 2:11 am
Works great, thanks a lot
May 11th, 2006 at 4:54 pm
Hey nice work! However I get the following error when I try add a local avatar on my blog:
Warning: copy(): URL file-access is disabled in the server configuration in /home/site/blog/wp-content/plugins/gravatars2.php on line 145
Warning: copy(http://www.linktosite.com/gallery/d/5789-1/IMG_0891.JPG): failed to open stream: no suitable wrapper could be found in /home/site/blog/wp-content/plugins/gravatars2.php on line 145
Any insights would be much appreciated. Thank you.
May 11th, 2006 at 7:38 pm
Just to clarify. I’m using WordPress 2.0.2, on PHP 4.4.2; I’d like to use gravatar2 primarily for the local avatars since my blog is private.
May 11th, 2006 at 8:31 pm
@Teddy: That error means you don’t have “allow_url_fopen” set to “On”. If you go to Options->Gravatars, you should see a message saying that. But, you are in luck… I’m actually about through with a modification that allows this to work without “allow_url_fopen” being On — which is a good thing for security-minded hosting providers. I should have the update no later than tomorrow.
May 12th, 2006 at 12:39 am
UPDATE: I’ve changed the code so that “allow_url_fopen” is no longer needed. After installing the new version, click “submit” in your Gravatar Options to set the default remote copy timeout.
May 14th, 2006 at 11:04 pm
Great! It’s working perfectly now. Thanks for all your hardwork. It’s much appreciated.
May 15th, 2006 at 1:51 pm
Hey Kip-
I have author pages for all my users that have created posts on my site… Is there a way to “curauth” or whatever so that their gravatars show up on that author page, for each author?
If so, that would be perfect… I don’t think there’s a single plugin out there capable of that.
Eric
May 15th, 2006 at 2:18 pm
@badkarma9000: I’d have to see how the author pages are set up to be sure, but if there is a php file that creates the author pages, and you can output the email address for the author, then just call the gravatar function and pass it the email address. If you manually create each page, then you can use the gravatar tag in the page (<gravatar email@domain.tld />).
May 15th, 2006 at 2:23 pm
That would work, except I’ve got a lot of users, so I need it to be automated…
The normal php variables for author pages, to call author info, look like the following:
About user_firstname; ?> user_lastname; ?>:
user_description; ?>
Contact Information:
The Website - user_url;?>”>user_url;?>
AIM Screenname - user_aim;?>
MSN Screenname - user_msn;?>
Yahoo Screenname - user_yim;?>
Posts by user_firstname; ?> user_lastname; ?>:
May 15th, 2006 at 2:24 pm
Crap, sorry I’m a dummy and forgot php doesn’t work here… Someway I can pass you the PHP? E-mail or something?
I’m at badkarma9000@cox.net
May 15th, 2006 at 2:38 pm
@badkarma9000: Take a look here: http://codex.wordpress.org/Author_Templates
There is a “user_email” field for the $curauth variable. Just add the gravatar tag where you want it, and pass it the “user_email” field (like I posted above, or using your own image tag output. This is outside the scope of the Gravatars2 plugin, though, so I’m afraid I can’t offer any more advice as I don’t use the “current author” tags that you are using.
May 15th, 2006 at 2:45 pm
Where would I pass the field in the tag?
Without the carrot/question marks, I have:
php if (function_exists(’gravatar’)) { gravatar_image_link(); }
May 15th, 2006 at 2:57 pm
Also, everything seems to be working fine, except its not reaching out and finding the gravatars via e-mail on the comments, even.
In other words, despite me having a pic up at Gravatar, with a proper rating below what I mentioned in the options, my name still has the default gravatar next to it, not my real gravatar.
I used the code I specified above in the comments.php page, too.
Any ideas?
May 15th, 2006 at 3:09 pm
What’s the URL to your site so I can see what the gravatars look like? Are you using Gravatars or Gravatars2 plugin? Your comments.php file should be set up as described here: http://zenpax.com/gravatars2/installation/ (for Gravatars2).
May 15th, 2006 at 3:10 pm
http://www.mediasignalonline.com
May 15th, 2006 at 3:10 pm
and im using gravatars 2
May 15th, 2006 at 3:11 pm
Actually, that’s weird… because my gravatar should be showing up here, too, and its not…
Weird.
May 15th, 2006 at 3:29 pm
Ahhh… I think the problems I’m experiencing have to do with my cache?
What settings should I use in the options for cache?
May 15th, 2006 at 3:33 pm
@badkarma9000: The problem was that it had cached a “no image” (meaning when it had last checked, there was no gravatar associated w/ your email address). Now there is, and I manually refreshed the cache (after deleting your cached gravatar from my site). It would have re-checked after 1 day if I had not manually done it. On your site, when I checked it, it was not using cached gravatars, so yours was showing up in the comments. If you turn caching back on, go into Manage->Gravatar Cache & delete the gravatars & refresh the cache. That should pick up the latest gravatars associated /w the email addresses. Caching speeds things up (a LOT) so you want to cache if possible. But, that means that it may take your site a while to pick up changes made at gravatar.com (1 day for “no image” cached).
May 15th, 2006 at 3:36 pm
@badkarma9000: Recommended settings can be restored by hitting “RESET” in the Gravatar Options. To pick up changes made at gravatar.com immediately, you’ll need to delete the cached gravatar in Manage -> Gravatar Cache. Also, be sure to read these instructions to set up cron if you can. If you set up Unix system cron, then set the “Automatic Cache Checking” to “Disabled”.
May 15th, 2006 at 3:41 pm
Thanks a ton Kip, that seems to have done the trick!
Now on the author page, where would I enter the changes you listed above, in this line of code:
php if (function_exists(’gravatar’)) { gravatar_image_link(); }
Like, where would I put user_e-mail?
May 15th, 2006 at 3:47 pm
Also, Kip, when I did turn back on Caching, with the recommended settings, I deleted the cache and refreshed the cache, and now its not finding any gravatars.
It’s like when caching is off, it finds them, but when caching is on it doesn’t.
May 15th, 2006 at 3:50 pm
@badkarma9000: that function was made for comments, but you can override it by passing the email address as the first parameter. ie:
<?php if (function_exists('gravatar')) { gravatar_image(USER_EMAIL); } ?>Note the “link” part I took out, because that pulled the URL from the comment. I’ll have to update that function later to allow overrides on the URL, too. In the meantime, if you want the link, you’ll have to wrap the gravatar_image in your own <a href=…> tags.
Also, the “USER_EMAIL” part will need to be whatever function you are using to return the email address of the author.
May 15th, 2006 at 3:58 pm
@badkarma9000: I just sent you an email.
May 16th, 2006 at 5:35 pm
Works great for me. For some reason the download from gravatar.com didn’t work, but I found this one and it works perfectly. thanks
May 18th, 2006 at 11:43 am
I have having the same issue that badkarma9000 was having. If I disable the cache, they work fine. Enabling the cache and I get default images (and not my default image - the one from gravatar.com (the question mark).
Viewing the cache shows everyone there, but no one has a gravatar …
Any ideas?
May 18th, 2006 at 11:47 am
Never mind … seems to be working now. boggle …
May 18th, 2006 at 11:49 am
@Scooter: In the Gravatar Cache, if you see an “(E)” following the “NO GRAVATAR” title, that means there was an error retrieving the icon from gravatar.com. In testing, a 1 second timeout was sufficient for the initial check, and 5 seconds for retrieving the image, but that may need to be increased due to heavy loads on gravatar.com. So, in Gravatar Options, set “Remote Info Timeout” to 5, and “Remote Copy Timeout” to 10… increase if necessary. You can delete the cache, and then “Refresh” to have it recache the images from gravatar.com. If you still have “(E)”s on some, you can set the “Failure (Error)” cache time to “1″ (second), and keep clicking “Refresh” to try just those images again. Let me know how it works out — I may change the default “Remote Timeout(s)” in the next release, as gravatar.com seems to be timing out more these days.
May 22nd, 2006 at 1:28 am
Way to go Kip! The plugin rocks!
May 23rd, 2006 at 5:01 am
Hey,
Works great! Thanks a lot.
Just one question….
How the heck can I stop people from leaching all the cached gravatars.
Like for example anyone can download:
/wp-content/gravatars/local/AnotSoRandomNumber
I’ve already blocked all popular image types of being leeched, but of course that is by extension.
Any ideas?
Thanks a lot,
Will
May 23rd, 2006 at 8:27 am
@Will: Did you use mod_rewrite to stop the leaching? If so, you can use the same thing, but instead of using the extension of the images, use the path to the gravatars in the rule.
For example, if you have something like this:
RewriteCond %{HTTP_REFERER} ^$ [OR]RewriteCond %{HTTP_REFERER} !^http://(.*)war59312\.com/.*$ [NC]
RewriteRule .*\.([gif|jpe?g|png]+)$ - [NC,F]
You can add/change that last rule to be:
.*/wp-content/gravatars/local/.* - [NC,F]I can’t imagine people leaching your gravatars… that’s just crazy!
Good luck. Glad you like the plugin.
May 23rd, 2006 at 2:26 pm
Hi Kip,
thanks for the plugin. Some questions: How can I change the size of the gravatar showing up in my comments? I tried it in options - gravatars - default gravatar size but it didn’t change anything.
Another problem is that my local gravatar doesn’t show up, hmmm…do you have any clue what I’m doing wrong?
Must the email address at gravatar.com and the blog user email (=me) be the same?
May 23rd, 2006 at 2:53 pm
@Cola: Changing the gravatar size in the options will make the gravatar that is retrieved from gravatar.com the size you specify. It will not change 1) the sizes of the cached gravatars or 2) the size of the “default gravatar” (the “blank_gravatar.png”). You will need to delete & refresh the cache to get the new sizes from gravatar.com, and you will need to manually edit/create a new default gravatar to make it whatever size you want. If you are using a global avatar for yourself, then yes, you will need to use the same email address as registered with gravatar.com. Or register another one with gravatar.com. Or pay the $5 to associate multiple email addresses to the same gravatar image. Hope that helps.
May 23rd, 2006 at 3:15 pm
@Kip: Thanks a lot for your very quick and helpful answer! I followed your steps and it worked immediately; I have now a smaller image size
But I still cannot see my local image though I already registered a second account on gravator.com. I think my gravatar there is not rated yet, can this be the “mistake”? But although I should see my local pic, shouldn’t I?
May 23rd, 2006 at 4:08 pm
@Cola: The email address you are using on here does not have a public gravatar yet (as you said, it may have not been rated yet). If that’s the same email address you are using on your site, you’ll just need to wait until it is rated. You can use a local gravatar by clicking on “My Account” and then “Gravatar”. It will show you on that page what gravatar is associated with your user.
May 23rd, 2006 at 9:06 pm
Hey,
Yeah I doubt it too, but I prefer to be pro active.
Not working though. Here is what I have at the moment:
# Stop Leechers For Hotlinking Images And FilesOptions +FollowSymLinks
RewriteEngine on|ra|ram| in_|sys|sy_)$ - [F,NC]
RewriteCond %{REQUEST_URI} !(^/robots\.txt|/favicon\.ico|/sitemap\.xml)$
RewriteCond %{HTTP_REFERER} !^http://(www.)?war59312.com(/)?.*$ [NC]
RewriteRule .*\.(torrent|iso|gif|jpe?g|avi|css|doc|mid|mov|mp3|mp4|mpg|pdf|pps|ppt
swf|wav|wma|xml|png|cab|7z|cmd|txt|log|rar|zip|exe|js|ex_|dll|dl_|inf|
RewriteRule .*/wp-content/gravatars/local/.* - [F,NC]
Thanks again,
Will
May 23rd, 2006 at 10:38 pm
@Will: I don’t think your conditions will apply to your 2nd rewrite rule. I’m no mod_rewrite guru… For more help, check out:
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
http://www.modrewrite.com/
May 24th, 2006 at 4:40 am
hi kip, this is a VERY VERY beautiful plugin, and hour with your modifications finally works well on my blog!
I wanted to know one what but, as I make to modify the dimensions of the avatar? to me it always remains 80×80.
thanks and good work!!!
May 24th, 2006 at 8:29 am
@Arturo: It looks like you got it… but, just in case, see this comment.
May 25th, 2006 at 3:21 pm
Hi Kip,
too bad that your plugin is dependent on gravatars.com because my gravatar is still not rated and I didn’t know that it takes so long or if it even works. Is there another more reliable gravatar service that I could use together with your plugin?
May 25th, 2006 at 4:13 pm
@Cola: You may want to post something on the gravatar.com forums. Also, while you are waiting for your gravatar to be rated, you can use a local gravatar (see my previous comment for details). There is no alternative to gravatar.com that I know of, but Tom (the gravatar.com admin) is working on improving the service.
May 27th, 2006 at 12:26 am
Hey,
All right thanks for the pointer.
Will
May 28th, 2006 at 5:48 pm
Nice plugin! Thanks!
May 28th, 2006 at 9:49 pm
Hi,
Great Works! I get the following error when I try add a local avatar on my blog, though:
Warning: fopen(/home/theblog/public_html/wp-content/gravatars/local/496a6a658dd2e4f6cf903ec7ffe7258c): failed to open stream: Permission denied in /home/theblog/public_html/wp-content/plugins/gravatars2.php on line 379
Warning: fclose(): supplied argument is not a valid stream resource in /home/theblog/public_html/wp-content/plugins/gravatars2.php on line 383
Help would be appreciated. Thanks.
May 29th, 2006 at 9:17 am
@Allen: The web server needs write access to the ./wp-content/gravatars/* directories & files. Use
chmod -R a+w <gravatar cache directory>to give everyone write access to the files & directories in your “<gravatar cache directory>”. Also, make sure that the “local” and “global” directories under the “gravatars” directory exist. They should if you unzipped the gravatars2.tar.gz file into your root WordPress directory. If you didn’t, you’ll need to create those files manually.May 29th, 2006 at 6:36 pm
Thanks. The local gravatars work now.
May 30th, 2006 at 9:20 pm
Can i have a directory with some images so when people that dont have gravatars and leave a comment they will have a random selected gravatar for them?
On option i tried to put a path to a directory but it didnt work…
May 30th, 2006 at 9:53 pm
BTW just installed latest version and I had to delete all cache manually and then click the recache button. Before I did this, all local gravatars where showing up as red x.
So if anyone else runs into this, that’s is all you have to do.
May 30th, 2006 at 10:01 pm
Hey,
Also, I just noticed that cached gravatrs are 40px by 40px like they are suppose to be, since I have set Default gravatar size to 40x. But, blank_gravatar is always 80px by 80px.
Could you please make this setting also for blank_gravatar ? That or could you please provide a blank_gravator of 40px by 40px.
I suck at grahpics…
Thanks,
Will
May 30th, 2006 at 10:03 pm
Whoops, sorry, just saw your reply above. Guess I need new glasses. Sorry!
May 30th, 2006 at 10:14 pm
@Marcus: Yes, just specify a directory in the “Default gravatar image” box, like the 2nd example in the Gravatar Options. It must begin & end with a forward slash (”/”).
May 30th, 2006 at 11:05 pm
Kip, i just notice that i followe the options instructions before i posted the question here, but i forgot that i moved my blog to another directory and didnt type the name there. Doh!
Now everything is cooooooollll. The plugin works great!!
May 31st, 2006 at 9:05 am
Great Plugin!
Thank you
June 2nd, 2006 at 6:30 am
Great, using it now…
June 4th, 2006 at 10:30 am
Thank you! I thought for sure I’d messed up my blog theme for gravatars because no matter what I tried I couldn’t get them up and running. But your plugin works great.
June 5th, 2006 at 9:13 pm
Thank you very much for your efforts, this plugin works wonderfully.
June 8th, 2006 at 12:19 am
Hi, I’m not sure if this is working for me or not, I’m just getting the word “gravatar” next to my name. Maybe it’s got to cache first, i don’t have the wp-cron plugin installed, but i’ll probalby look into that. Hopefully it works within the next couple of days, unless you know I did something wrong. If you could, please let me know. Thanks…
June 8th, 2006 at 7:46 am
@Victor: Looks like it’s working now… I see the “blank gravatar” beside you name on your blog comments.
June 8th, 2006 at 8:09 am
I didn’t realize that the default gravatar’s location didn’t match my site. Thanks for the great plugin.
June 8th, 2006 at 10:32 pm
Actually, what’s the difference between Gravatar2 and wp_gravatar
June 8th, 2006 at 11:16 pm
@Jerry: http://zenpax.com/gravatars2/
- caching
- local gravatars
- admin interface
- etc
June 11th, 2006 at 8:25 pm
I’m unable to use a local gravatar. Every time I try to submit a path to the image, it returns a file not found. What format is the local image path supposed to be in?
Would it be easier/better to use a file upload for local gravatars?
June 11th, 2006 at 9:32 pm
@Paul: You need to place your local gravatar in the ./wp-content/gravatars/local/ directory, and then specify the filename (relative to that “local” directory). Or you can specify a remote url. I will probably add file upload in a later release.
June 13th, 2006 at 8:16 am
Great update to such an awesome plugin! Been using Skippy’s and I just upgraded to your’s. Took a little re-tweaking of my comments.php as I’m doing some custom stuff, but it appears to be all working now.
June 13th, 2006 at 8:31 am
Hmm, my cache page is taking a bit to load (I have quite a few comments) and I noticed that there’s a lotta inline CSS. May I suggest replacing it with CSS classes and then putting some CSS into the header via the
admin_headerhook? And making it only be inserted up there in the header when needed would be appreciated too.June 13th, 2006 at 8:40 am
Haha, hi, it’s me again (sorry).
I’ve noticed that some people’s gravatars are animated (example) however when they get cached by this plugin, they aren’t animated and are much smaller than the original (probably due to the lack of animation). Is this intended or is it a bug?
June 13th, 2006 at 10:47 am
@Viper007Bond: This plugin doesn’t insert any CSS at all. It outputs an image tag, with a “gravatar” class (so you can style it with your own external CSS file).
June 13th, 2006 at 10:49 am
@Viper007Bond: I will try to test it later with an animated image — or if someone could post theirs on here, that would be great. I don’t know any reason why caching it would keep it from working.
June 13th, 2006 at 2:33 pm
@Viper007Bond: In regards to the animated images, it is a problem with gravatar.com resizing the images. Here is that same animated image you posted above, but resized by gravatar.com: (resized example) This is apparantly a known issue (gravatar forum).
June 13th, 2006 at 6:16 pm
Ah, okay @ animations. Makes sense now.
As for the CSS, I was referring to the admin area where you can view the Gravatar cache. Each cache item is in a div that has a style that says float: left, etc.
June 13th, 2006 at 6:56 pm
@Viper007Bond: Ah! Yeah, I haven’t changed that part much yet. Much improvement is needed in that area. Having all of them on one page is a big problem, also. I’ll probably use AJAX in that area in a future release. Thanks for the input.
June 14th, 2006 at 12:06 am
Ah, nice.
Okay, well I’d like to request filtering by type (i.e. most of the time I don’t wanna see the people without Gravtars). Thanks.
June 14th, 2006 at 8:15 am
@Viper007Bond: Great idea. I’ll also allow sorting. It’s not been a big priority because most people probably will never even look at that screen — but for those that do, it needs a lot of work.
Thanks for the feedback — if you think of anything else, just let me know.
June 14th, 2006 at 10:27 am
I can´t fix bug 902.
can you help me????
thanks!!!
company (@) panelista.com
June 14th, 2006 at 10:51 am
@i can’t fix bug 902: Skippy has instructions here. My recommendation is just to upgrade your Wordpress to 1.5.2 or later (preferably the latest release — 2.0.3 right now).
June 15th, 2006 at 5:49 am
I’m tring using it. Thank you!
June 16th, 2006 at 1:43 pm
Hi.. i use 3k2 theme but when i open a single post in IE, i can’t see my gravatar image… in firefox work very well… i modified the comments.php template according to your gravatrs2 plugin…
June 16th, 2006 at 7:00 pm
@ReDirEct__: It has something to do with your style sheet. When I disabled your styles in IE, the image shows up. I’m sorry I don’t have time to figure out exactly what is wrong, but hopefully that will give you enough help. If you figure out what it is, please post back here so other people using that theme can make it work also.
June 17th, 2006 at 6:08 am
i’m not sure that is a problem with stylesheet… because the default image it’s shown correctly… i forgot to say that the gravatar cache function don’t work with my host provider and i must load every gravatar remotely… i think it’s some other issue…
June 17th, 2006 at 9:23 am
@ReDirEct__: when I disabled your stylesheet, the image shows up. It’s probably not JUST a stylesheet issue — but it is definitely related. I noticed your default image is smaller — perhaps that is why it would show, but the other would not? What error(s) do you get that let you know the caching doesn’t work? There is now 2 ways to cache: fsockopen and cURL. If fsockopen isn’t working, try cURL (has to be installed, though). What OS platform is your site running on: Windows? Linux?
June 17th, 2006 at 9:39 am
@ReDirEct__: I just posted a test comment on your site, and my gravatar shows in IE. It is without a doubt a stylesheet issue.
Regarding the caching, please let me know if you are getting any errors trying to cache, or what the problem is exactly. Also, what OS platform are you running on?
June 17th, 2006 at 11:55 am
My (free) hosting site dont specify what operating system they run… but it’s the fsockopen that it’s disabled by my provider… i don’t know how to use cURL… in any way i tried to put the images included in your plugin as defaut image but give me the same result… i noticed that the problem appears wht the comment text it’s long more than the avatar… i tried also to resize the avatar to the same size of the default gravatar my gravatar won’t to show…
June 17th, 2006 at 12:23 pm
@ReDirEct__: How do you know fsockopen is disabled by your provider? Do you get an error? What is it? I just posted a long comment on your site, and the gravatar still shows up in IE. You are using a different style class for YOUR comment gravatar (as opposed to other people’s gravatars commenting on your site).
June 17th, 2006 at 12:32 pm
Yes yes… i know.. but the only difference is the background color… i know about the fsockopen because a read about it on the forum of my provider internet site… i don’t know how to solve the IE problem… if you want, this is the theme internet site: http://aydin.net/blog/2006/03/23/three-column-k2-theme-for-wordpress-3k2/
If you have the time you can see the comments.php and style.css… i really don’t know where it can be wrong… the only css rule for the different comment view change obly the background color…
June 17th, 2006 at 12:43 pm
@ReDirEct__: Are you SURE it was fsockopen — not “fopen”?? I have not seen anyone disable fsockopen. Can you provide the url to the thread on the forum where your ISP says they have disabled fsockopen. I’d really like to see how they did it, and why.
As per the IE problem, I’d suggest looking for the “authorcomment” style(s), and disable it(them). Re-add each style line one at a time, test with IE, until you find the culprit.
June 17th, 2006 at 6:24 pm
oops… i think you are right.. it’s fopen… but… when i enable the cache the gravatars disappears…
For the IE problem I will try that way
June 17th, 2006 at 6:31 pm
ah.. it seems that i can’t write global directory (i chmoded to 777, also local grvatar directory)… when i enable cache all avatars are changed with the default gravatar image…
June 18th, 2006 at 8:21 am
@ReDirEct__: Use Manage->Gravatars in WP Admin to delete all cached gravatars, and then “Refresh” to download them again. If there is an “(E)” beside the name, that means there was a problem downloading them from gravatar.com.
June 18th, 2006 at 10:23 am
Yes there is an (E) beside the name… how can get cache to work?
June 20th, 2006 at 12:00 pm
Hello Kip,
I try to make the plugin work, but it doesn’t show a picture, just a link on the right side of the comment, what I’m doing wrong
And where can I find an explanation of the options in the admin panel?
I really appreciate your help
Alex
June 20th, 2006 at 12:05 pm
@Alex: You need to set a valid “default gravatar” in the options. The only documentation currently are the Installation Instructions on this site, as well as the Readme.txt file.
June 21st, 2006 at 3:27 am
Shall I put the wp-content directory included in the .zip in the WP root directory upon installation? Won’t that replace my already existing wp-content directory? Please help.
June 21st, 2006 at 7:15 am
@Slowfinger: That will put the files included in the zip into the wp-content sub directory. You can do it manually if you want, but it’s just easier to extract it to the root directory.
June 21st, 2006 at 7:57 am
Only a test, thanks for the plugin!
June 21st, 2006 at 12:55 pm
Thanks,
I have in my comment loop the following line
” class=”gravatar” alt=”Gravatar Icon” />
so looks like it’s missing
{ gravatar_image_link(); }
How do you suggest to edit it, replace/add? Hack-challenged here, Thx!
June 21st, 2006 at 1:09 pm
… meaning there’s much gravatar-related content between braces instead of the above mentioned. Simply add? Any help welcome.
June 21st, 2006 at 1:24 pm
@Slowfinger: I’d replace what you have with the example I give in the Installation Instructions.
June 21st, 2006 at 1:28 pm
Thanks.
June 21st, 2006 at 3:31 pm
Works Greatly, i make an italian version for installation instructions on my blog…
June 21st, 2006 at 4:09 pm
Hi Kip, I still can make it to work and I set a default gravatar, in my comment.php is already a gravatar function
“>” class=”gravatar” alt=”" />
I also replaced it with your code and both are not working, it’s frustrating
Any help would be great
Alex
June 21st, 2006 at 4:20 pm
@Alex: What do you have for the default gravatar? On your site, it shows “http://derfrison.com32″ as the default gravatar. That’s not a valid image URL.
June 21st, 2006 at 4:29 pm
Ok, I guess I’m coming closer. When I logged out of wordpress and I used my email address it showed me my gravatar when I wrote a comment, after I approved the comment it detected that I’m the admin and put a gray background to the comment, the picture wasn’t showing anymore, is it possible it is behind the background?
I also made a comment with another email address but instead of a default gravatar it’s showing a broken image link, it tried everything for a path to the default gravatar but nothing is working.
You can find the comments here
http://www.derfrison.com/?p=20
Thanks for helping.
Alex
June 21st, 2006 at 4:36 pm
@Alex: Try this: http://www.derfrison.com/wp-content/gravatars/blank_gravatar.png
June 21st, 2006 at 5:47 pm
Thanks Kip, sorry that I bother you, I figured out where to put the css style, yours didn’t work because there where already a gravatar style in my theme. So now it’s working but it still haven’t right in IE . On Mozilla it looks good an I’m sure I can fix it with some tweaks but on IE the gray background still comes over the picture if I have a long text and if it’s a short text the background stops at the picture.
in my css style is right now
/* gravatar plugin */
.comments #commentlist li img.gravatar {
float:right;
margin: -5px 0 0 ;
padding: 3px;
border: 1px solid #000;
background: #fff;
}
Thank you so much for helping me.
Alex
June 21st, 2006 at 5:55 pm
CSS Styling issues are outside the scope of this plugin. I’m sorry I don’t have time to look into everyone’s themes and figure out the problems they are having, but there are a lot of CSS tutorials on the web that might be useful.
June 21st, 2006 at 6:51 pm
I understand, thanks a bunch Kip.
June 22nd, 2006 at 5:18 am
Kip, I know that CSS are not the core issue here, but is the CSS styling provided in the installation instructions meant to result in this thread’s styling? Mine doesn’t look anywhere near this even though I’ve copied and pasted the last bits from what you provide through the “here is what this site is using” (http://zenpax.com/examples/style.css) link.
Last question, not clear with the “add the following cron job:
0 * * * * /usr/bin/php
/full/path/to/wordpress/gravatars2-cache-refresh.php
>/dev/null 2>&1 ”
lines under the System Cron section. Should it be included in the installed gravatars2-cache-refresh.php? I’d love to use the System Cron option, as you suggest (without installing more plug-ins).
Many thanks
June 22nd, 2006 at 8:11 am
@Slowfinger: Yes, the CSS styling that is used on this site, results in the gravatars looking like they do here. You most likely have conflicting styles applied to your gravatars.
Cron: http://www.google.com/search?q=cron
If you are unfamiliar with cron, you can use Cron Monkey plugin to make it easier.
June 22nd, 2006 at 8:50 am
That sounds promising, thanks.
June 22nd, 2006 at 11:23 am
I had a look, the only rules for Gravatars I have in my stylesheet is from the mentioned css you provide. I’m also enquiring at the K2 (my theme) forum.
My comments page: http://www.quidtum.it/blog/2006/06/18/fiori-di-zucca/#comments
June 22nd, 2006 at 12:13 pm
@Slowfinger: you are loading multiple style sheets. I assure you, there is a conflicting “gravatar” style being loaded on that page.
June 23rd, 2006 at 12:59 pm
I am quite confused.
I installed the script. As an admin, i have the option to call a local gravatar for myself.
For a registered user, there is no Gravatar option in the account settings area.
All a registered user sees is “Dashboard” and “Profile”
Also, is there an optio