Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Gravatar/MyCred Not Working
Avatar
Joe Bunting
Member
sp_UserOfflineSmall Offline
Sep 28, 2016 - 5:36 pm

Hello! I notice I'm not the only person having this trouble, but I didn't see any solutions on the board, so I'm making a new topic. Both Gravatar and MyCred simply stopped working right. Gravatar won't show at all (though it shows just fine on the rest of the site), and the SimplePress MyCred plugin insists that the Wordpress MyCred plugin isn't installed - although it is.

We've cleared the cache. We tried it with all other plugins disabled. Nothing changed.

I can send an admin username/password to support, if that's what's needed! Thanks in advance for your help. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 28, 2016 - 9:42 pm

starting with gravatars, can you provide more info?  currently, we have 1 user with an issue I believe but no issue found yet...  how about a link to example?? are  you getting no image or the next avatar priority??  are you using the gravatar cache plugin?

and no reports of mycred not working so need more info too... what version of mycred plugin?  and wp and our mycred plugin?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 29, 2016 - 4:58 am

I can replicate the problem with our MyCred plugin on the latest version of the core WP MyCred. Looks like a simple fix so if you like I can give you the edit to make or - we will issue an update pretty quickly.

On the gravatar issue - need the responses to the questions @mr-papa has posed but I would ask that if you ARE sing our gravatar cache plugin - could you deactivate it to see if the problem persists.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Joe Bunting
Member
sp_UserOfflineSmall Offline
Sep 29, 2016 - 4:38 pm

Thanks for your quick reply! You folks are terrific.

Mr Papa said
starting with gravatars, can you provide more info?  currently, we have 1 user with an issue I believe but no issue found yet...  how about a link to example?? are  you getting no image or the next avatar priority??  are you using the gravatar cache plugin?

It defaults to the Simple-Press avatars, for some reason. Individuals can upload their own, of course, but we want Gravatars to pull automatically.

Gravatar works just fine on the rest of the site, which is baffling: 

 Image Enlarger

And before you ask, yes, we disabled the caching plugin along with every other plugin aside from Simple-Press. Sadly, it didn't fix it!

and no reports of mycred not working so need more info too... what version of mycred plugin?  and wp and our mycred plugin?  

*edit* Forgot to mention Wordpress is version  4.6.1.

MyCred's WP plugin is Version 1.7.3.

The Simple-Press myCred Extended Integration plugin is Version 1.0.6.

MyCred is registering points, but it won't take any of our customizations (e.g. changing "mycred" to "quills," since we're a writing forum).

Image Enlarger

Also, the Simple-Press dashboard thinks the Wordpress plugin isn't installed:

Image Enlarger

Yellow Swordfish said
I can replicate the problem with our MyCred plugin on the latest version of the core WP MyCred. Looks like a simple fix so if you like I can give you the edit to make or - we will issue an update pretty quickly.

Fantastic! I'd love the simple fix for now; we'll update as soon as that comes down the pike, too. 🙂

On the gravatar issue - need the responses to the questions @mr-papa has posed but I would ask that if you ARE sing our gravatar cache plugin - could you deactivate it to see if the problem persists.  

We don't have your gravatar cache plugin at the moment; we didn't have it before, when the gravatars were working fine. Do we need to install it?

Thanks again!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 29, 2016 - 4:47 pm

Let's get MyCred out of the way first. The file you need to edit is the maim plugin file - so - 
/wp-content/sp-resources/forum-plugins/mycred/sp-mycred-plugin.php

Line 47 - locate the function sp_mycred_show_alert()

Change the 'if' test to this:

if (! class_exists('myCRED_Core')) {

and you should be fine. Note that the link to the myCred hooks from the SP plugins list is also wrong but you don't need that to work with things.

Now onto Gravatars. We really are going to need a link to a page where a gravatar doesn't show. That doesn't need to be as a member - we really, in the first instance, need to see what the source code is calling. If you want to keep this private then...

Please PM credentials to both myself and to 'Mr Papa'. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2016 - 9:48 pm

so you are seeing avatars?  just not the ones you want?  can you tell us your avatar priorities on forum - profiles - avatar options...

Avatar
Joe Bunting
Member
sp_UserOfflineSmall Offline
Sep 30, 2016 - 8:38 pm

I've PMd you both, and thanks so much!

In terms of the Avatar priority, it's set to the following: 

Gravatar
Uploaded Avatar
Sp Default Avatars
Wp Avatars
Avatar Pool

(Also, I altered the code as requested, but nothing seems to have changed. I'm pretty sure that's going to be user error. 🙂 )

Thanks for your help!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2016 - 8:51 pm

as to the code, make sure you have proper quotes.. use the raw code button and copy direct...

gravatar cache plugin not required.. but can improve performance on your site... but please dont activate until we sort through the avatar issue first...

by going to simple press avatars, do you mean uploaded or default?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2016 - 8:54 pm

okay, so I see both uploaded avatars and default avatars...  can you give me example of a user who you absolutely knows has a valid gravatar at gravatar.com but its not showing?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 30, 2016 - 9:26 pm

so I am seeing calls to gravatar on topics... but its for getting the mystery man...

I added my email to this account which does have gravatar but it does not show... and oddly, when loading, it does query gravatar.com and my avatar is returned..  not sure why its not displayed or used though..

trying to investigate, but I am having difficulty using your wp admin - namely the simple press admin pages...  they are all throwing js errors from something called wpmUi... do you know what that is?  After loading an sp admin page, these errors prevent me from going any further in the admin...

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626