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
Question to MyCred-Plugin
Avatar
Kalle1887
Member
Free Members
sp_UserOfflineSmall Offline
Jan 21, 2016 - 6:29 am

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

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Jan 21, 2016 - 7:37 am

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.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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