Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] Possible to remove "Points:" from showing up for excluded roles?

6 Posts
2 Users
0 Reactions
2,141 Views
Posts: 53
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris-r)
Member
Joined: 6 years ago
[#5212]

Hello, 

 

I have the myCRED plugin installed to wpForo.  I have excluded a few roles from participating with the points system through myCRED.   The problem I'm having is, the phrase "Points:" is still showing up below those roles on the forum.  Can this be removed now or the ability to remove it be added in a future update?

Selection 001

Thank you, 

-Chris


5 Replies
Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi Chris,

I'll ask the developers and let you know asap. 


Astghik
Posts: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 years ago

@chris-r,

please let us know are you using the latest version of the wpForo myCRED Integration addon (v. 1.0.9)? 


3 Replies
Customer
(@chris-r)
Joined: 6 years ago

Member
Posts: 53
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@astghik

 

Hello, 

 

Yes I am using the latest version of the the wpForo myCRED Integration addon.  

 

-Chris

 


Astghik
Admin
(@astgh)
Joined: 8 years ago

Illustrious Member
Posts: 6645
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@chris-r,

This issue will be fixed in the next update. If you need to solve it asap, please follow the steps below:

1. Open the /wp-content/plugins/wpforo-mycred/wpforo-mc.php file

2. Find the displayPoints($member) function

3. Replace the whole function with the following one:

public function displayPoints($member) {
if ($member['ID']) {
$userID = $member['ID'];
if (function_exists('mycred_get_users_balance')) { //User Points
$balance = mycred_get_users_balance($userID, $this->core->cred_id);
if ($balance) {
$myCred = mycred_core();
$pointsLable = $myCred->point_types[$this->core->cred_id];
echo '<div class="wpforo-mycred-points-wrap">' . $pointsLable . ': ' . $balance . '</div>';
}
}
}
}
 
change the code

Warning: Making changes to active plugins is not recommended.


Customer
(@chris-r)
Joined: 6 years ago

Member
Posts: 53
Astghik
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@astghik

 

Awesome! Thank you so much for being so quick with this issue.  

 

Thanks again and take care.

-Chris

 


Share:
Scroll to top