Support Forum

Question to MyCred-Plugin

KA Kalle1887
Kalle1887
Member

Hi you all,

I just installed the MyCred-Plugin. I see that I can declare points for Topics, Posts etc.

But: In the forum at the “user description” (at the left side of the forum) I see now:

 

“MyCred” + image + points…

 

Is it possible to change “MyCred” into another name?

Can I delete or change the image?

Thank you very much, Kai

1 Answer

New Answer

IK Ike
Ike
Member

Hey Kalle1887,

Yes you can do both these things but it does require making a child theme. See Creating a Child Theme and then download the relevant Child Theme Framework from our store for free.

Next you will want to copy the topic view template over to your child themes templates folder – My guess is this is Default so using that as an example you can find it in:

wp-content > sp-resources > forum-themes > default > templates > spTopicView.php

copy it to

wp-content > sp-resources > forum-themes > yourchildtheme > templates

If you then locate the line:

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

You can firstly add the argument ‘icon’ and secondly change the label from ‘MyCred’ to whatever you’d like. The function should then appear as something like:

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

This will remove the icon and obviously ‘YourLabel’ can be any text you like.

I can’t test this right now unfortunately so please let us know if this works or if you encounter any problems.