Support Forum
can you give me a link on your site where any of those gravatars in that test topic are displaying correctly since you said they show up in wp fine???
Visit Cruise Talk Central and Mr Papa's World
Hi there
I was not using posts / comments in my wordpress site.
but i have now created a page with comments and posts.
http://www.cannabisforum.dk/archives/468
Else you can try to login with user : gravatar2/gravatar2 and see the profile for user.
/René
well, I cannot explain what is going on... both the WP avatar and the SP avatar are sending the exact same url for the gravatar... The difference is the WP code is simply outputting the url as the image... we cannot do that because of the priority scheme and must see if the gravatar is valid first... If I just enter the verification gravatar url directly in the browser it returns the expected answer... however, if I use the wp functions for this or any standard php code for checking the headers, the return answer is an error condition...
so something on your server is blocking the headers check... are you running mod_security? or any other purported security plugin or mechanisms (such as bad behavior)??
might be time to talk with your host and find out why:
$headers = wp_get_http_headers($url);
generates an empty response on your server... of course, url is the url of your gravatar... but something is blocking or messing with those header checks... and we know it works because tens of thousands of folks are using gravatars fine...
Visit Cruise Talk Central and Mr Papa's World
So, I assume you resolved this with your host???? I see your forum now displaying gravatars properly...
Visit Cruise Talk Central and Mr Papa's World
Hello.
Sorry no problem is not yet resolved, but for now i am using WP avatars in simple press.
I am waiting for my host to get back to me why i cant get http_header from gravatar.com, i can grab http headers fine from other sites.
<?php
$url = 'http://0.gravatar.com';
print_r(wp_get_http_headers($url, 1));
?>
Gives me no result
<?php
$url = 'http://www.google.com';
print_r(wp_get_http_headers($url, 1));
?>
Gives me fine Http header feedback.
//René
I will get back to you as soon i have further updates.
yup. exactly what I was seeing... and the wp avatars explains why I was seeing them now...
might just be mod_security dorking again if you are running it...
please let us know what they say...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)