Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
ashow "not working" troubleshooting Gravatar rating problem.
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:48 pm

yes, of course... the d=404 tells it to return the gravatar does not exist vice the default gravatar... so frankly, at bit of loss...

what is the response from gravatar.com... ashow() the value returned....

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:48 pm

yes, of course... the d=404 tells it to return the gravatar does not exist vice the default gravatar... so frankly, at bit of loss...

what is the response from gravatar.com... ashow() the value returned....

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:59 pm
Using : ashow($headers);

 

With d=404 this is return : 

Array ( [cache-control] => max-age=300 [content-type] => text/problem-with-post-edit-buttontml; charset=utf-8 [date] => Sat, 16 Feb 2013 19:55:32 GMT [expires] => Sat, 16 Feb 2013 20:00:32 GMT [last-modified] => Mon, 11 Feb 2013 19:51:01 GMT [server] => nginx [via] => 1.1 varnish [x-varnish] => 3531257088 3531246365 [content-length] => 13 [connection] => close )<br /><br />Without d=404 this is return : <br />

Array ( [access-control-allow-origin] => * [cache-control] => max-age=300 [content-disposition] => inline; filename="ac38eb1eaad0c2c07ef90a0d2264f893.jpg" [content-type] => image/jpeg [date] => Sat, 16 Feb 2013 19:58:34 GMT [expires] => Sat, 16 Feb 2013 20:03:34 GMT [last-modified] => Mon, 11 Feb 2013 19:51:01 GMT [server] => nginx [source-age] => 1848 [via] => 1.1 varnish [x-varnish] => 254322374 253216379 [content-length] => 3068 [connection] => close )
Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 2:01 pm

Above this was inserted as code

 <br /><br />Without d=404 this is return : <br />

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 2:18 pm

well, that makes sense... first ones says no image (ie gravatar) was found... that is the gravatar response... the second one says, here is the image we found - and its the default gravatar...

so not sure why it works from url and not from your server... quite odd...

are you running varnish on your server? wouldnt think it would matter - just not that familiar with it...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 2:38 pm

I dont think i run vanish, but it is a hosted server.

 

But the second one is not the default avatar, it is acctually my avatar.

 

filename="ac38eb1eaad0c2c07ef90a0d2264f893.jpg"


Where the default is 


filename="d92c92bc0664c52c080ef240cae00625.jpg"


So it does show my avatar when removing d-404

All gravatars with lowest rating (G) are also showing. even with d-404 

//René
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 3:18 pm

oh, when I put it in url, I got a mystery man... but doesnt matter... in first example, gravatar returned no image... so we have to move to the next avatar priority... and this is still a unique report so somewhat mystified...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 3:29 pm

Problem is, that i cannot ask my users to rate their pictures as G, since the website is related to cannabis, and so are most the gravatars.-

 

Can i change so SP grabs gravatar same way as wordpress maybe ?

 

//René

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 9:47 pm

dont know what you mean...  we do grab them the same way...  except wp does not use 404 because they want the default gravatar...  you can use the wp avatars by making that the top priority... but again, users without a gravatar will get the default gravatar...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 9:57 pm

How can it then be that gravatars with rating G work, when same gravatar changed to Rating PG/R/X stops working in simplespress.

Without making any changes to settings in forum, maxrating is still X.

 

/René

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625