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
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2013 - 4:11 am

Hello

I am seign the default Avatar in simplepress forum. in Wordpress it does show the gravatar.

 

I Can see the Gravatar if i set the Rating to G in Gravatar account for the avatar.

 

Regards

 René

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 14, 2013 - 8:05 pm

do you still have the gravatar cache plugin enabled??

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 9:50 am

No that plugin was disabled.

 

Is there someway i can check ratingcheck function to see output from this.

 

//Rene

 

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

you can use ashow on the url in request to gravatar.com... the only
thing we do is pass the rating to gravatar.com...

a couple of slight differences that seem to have no impact... the url
to gravatar from wp is 0.gravatar.com... ours is just gravatar.com...
both seem to work find directly... also, wp now passes size= as s= and
rating= as r=... but again both seem to work directly... of course,
gravatar.com continues to support the older style too for backward
compat (or is it vice versa?)...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 12:06 pm

Hmm. the very wierd this is that :

ashow($avatarData->url);

Shows : Working Avatar link.

http://0.gravatar.com/avatar/4998c167ac4a439cac627f889016d1de?d=404&s=90&r=X

But the is no picture shown.

So even though Avatar URL is working the avatar is not shown.

 

Is there another place where you check Rating ? since sfgmaxrating is correct set to 4 and link ends with r=X

Regards

René

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

nope. no where else... we build the link and ship it off to
gravatar... assuming we get valid response back, we use it... if no
response, then go to next avatar priority...

not sure about your link though... we dont build them with
0.gravatar.com... maybe test code? we just use http://www.gravatar.com...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:01 pm

Yes I have added 0.gravatar as test, when i had http_header issue.-

 

I have now changed back to http://www.gravatar.com but still same result.

 

If i change Gravatar Rating from X to G the gravatar will work. on any rating setting 1-4, but it will not show other than G rating even though link end on r=X and there is a valid avatar :S

 

Any troubleshooting sugestions would be appriciated.

 

I have made no manual changes to database, and only manual file change has been done in. sp-common-view-functions.php And this file has been restored from downloaded installation zip file, with same result :s

 

So right now the forum is standard setup, with no own modification to it.

 

/René

 

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

try changing the X to x... we have made a similar change in our code... shouldnt matter, but worth a try...

all the ratings have been changed to lowercase in next version vs uppercase... in the select statement...

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:26 pm

No unfortunatly. that gives same result.

 

The e-mail i am using to test with is : gravatar2@exnet.dk  *account is activated and working at gravatar.com

 

/René

 

 

Avatar
Rene Iversen
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2013 - 1:31 pm

If i remove : d=404&  from the link, the gravatar will show but so will the default Gravatar for all other members who do not have a gravatar avatar.

 

Rating is also working when removing d=404& it will only show avatar rated correctly. even big and small letters (X/x PG/pg G/g)

 

Hope this helps.

/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