Support Forum

Gravatar/MyCred Not Working

25 Answers

New Answer

MP Mr Papa
Mr Papa
Member

yes, WP made a change to the HTTP library and its a breaking changing (though they failed to document it or relay it to developers)… so we will have to make a change…  just working out the best way to adapt to the new api here… have several fixes, just testing best performing one…

YS Yellow Swordfish
Yellow Swordfish
Member

Thanks! We are discussing when to release…

JB Joe Bunting
Joe Bunting
Member

Thanks you, guys! You’re great!

Any further progress on the MyCred thing? It at least knows that the WordPress plugin is installed now, but still won’t let us change “MyCred”” to “Quills” beneath user avatars, specifically. Do I need to make a template change?

MP Mr Papa
Mr Papa
Member

the mycred fix is in place and mostly tested… just need to find the time to release… likely this coming weekend…

same for the gravatar issue.. going to need a core change to account for the wp code change… we are talking about this coming weekend as well…  I could give you a manual code change if you are up to it…

JB Joe Bunting
Joe Bunting
Member

If it’s coming that soon, I’m more than happy to wait for the fix.

Thank you so, so much for working on this!

YS Yellow Swordfish
Yellow Swordfish
Member

Joe Bunting said
Thanks you, guys! You’re great!

Any further progress on the MyCred thing? It at least knows that the WordPress plugin is installed now, but still won’t let us change “MyCred” to “Quills” beneath user avatars, specifically. Do I need to make a template change?  

Apologies – I think we missed this one. Yes – you would need to make a small template change. If you are already using a child theme you will need to ensure that the topic view template in copied from the parent to the child. And then change the label on the myCred display function.

I can talk you through this is greater detail if you can tell me what SP theme you are using,

If you are not yet using a child theme I would suggest you start by downloading and activating the child theme framework for your theme (free from our store) and changing the name to suit. For more details on doing this see –  https://simple-press.com/documentation/codex/themes/theme-basics/creating-a-child-theme/

JB Joe Bunting
Joe Bunting
Member

We’re using a child theme created from Reboot, and it’s definitely up to date since we just created it today. 🙂 I’d definitely appreciate being talked through that!

The gravatars look fantastic! It’s also loading faster – seconds faster – so whatever you did, you did an awesome job. Let me know what to do with the MyCred stuff under the avatars in the template, and I’ll get that done. 🙂 Thanks!

MP Mr Papa
Mr Papa
Member

thanks for the kind words…

as to the mycred question, will reference here: https://simple-press.com/documentation/codex/plugins/our-plugins/available-plugins/mycred-integration/

so you want to change the MyCred label to Quills…  in your child theme, you will want to copy the spTopicView.php template file over to your child theme you so can edit it… then find this line:

                                    if (function_exists('sp_PostIndexMyCred')) sp_PostIndexMyCred('tagClass=spPostUserMyCred spCenter', __sp('MyCred '), __sp('MyCred'));

to something like

                                    if (function_exists('sp_PostIndexMyCred')) sp_PostIndexMyCred('tagClass=spPostUserMyCred spCenter', __sp('Quills'), __sp('Quills'));

you will find a template file for mobile and desktop, so probably want to edit both…

JB Joe Bunting
Joe Bunting
Member

For the record, you’re geniuses, and it’s all working great!  It’s also loading so much faster than it was, which I don’t understand, but I certainly appreciate. 🙂 Thanks so much for all your hard work!

MP Mr Papa
Mr Papa
Member

sorry about that gravatar issue…  and thanks for the kind words!