Hide Karma score | Customization | Forum

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Hide Karma score
Adam Burton
Member
Members
Forum Posts: 103
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
1
December 29, 2016 - 1:01 pm
sp_Permalink sp_Print

Can anyone advise me on the following:

I do not have the Karma Module installed but Karma Scores are displayed in user profiles.

Is there a way to hide Karma scores? Will I have to edit the template?

Thanks so much.

RedWine
Member
Forum Posts: 549
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline
2
December 29, 2016 - 2:03 pm
sp_Permalink sp_Print

karma module is installed by default as soon as you install the CMS. The karma score shows in two places: the Top Users page and the profile page.

If you want to hide it, you have to edit the template.

If you still want to hide it, let me know to tell you how.

Adam Burton
Member
Members
Forum Posts: 103
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
3
December 29, 2016 - 3:32 pm
sp_Permalink sp_Print

Thanks RedWine, I would like to hide it.

RedWine
Member
Forum Posts: 549
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline
4
December 30, 2016 - 6:30 pm
sp_Permalink sp_Print

If you hide the karma from being displayed by commenting the HTML code, it will still appear in the source code view of the page. If this doesn't suit your needs, then instead of commenting the code, delete if.

Top users:
1- open /templates/bootstrap/topusers_data.tpl
and comment/delete this bloc on LINE 22 like this:

<!--<td>{*$user_karma*}</td>-->

2- open /templates/bootstrap/topusers_center.tpl
and comment/delete this bloc, on line 17, 18 and 19 like this:

<!--<th>
{*#KLIQQI_Visual_TopUsers_TH_Karma#*}
</th>-->

User profile:

1- open /templates/bootstrap/user_profile_center.tpl
and comment/delete the bloc of lines from 23 to 30 like this:

<!--<tr>
<td><strong>{#KLIQQI_Visual_Rank#}:</strong></td>
<td>{$user_rank}</td>
</tr>
<tr>
<td><strong>{#KLIQQI_Visual_User_Profile_KarmaPoints#}:</strong></td>
<td>{$user_karma|number_format:"0"}</td>
</tr>-->

Adam Burton
Member
Members
Forum Posts: 103
Member Since:
April 20, 2016
sp_UserOfflineSmall Offline
5
December 31, 2016 - 8:45 am
sp_Permalink sp_Print

That's excellent, thank you RedWine.
Happy New Year.

Forum Timezone: America/New_York

Most Users Ever Online: 27

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

cyrus: 60

lipsmega: 47

OxyThemes: 36

Newest Members:

Thamer Azez

Liza Murray

Giorgio

marked

Nabil Shaabani

Zunaira Khan

ijavucal

Rishiraj

josam

sandgroup

Forum Stats:

Groups: 1

Forums: 8

Topics: 333

Posts: 1747

 

Member Stats:

Guest Posters: 2

Members: 1224

Moderators: 2

Admins: 1

Administrators: ChuckRoast

Moderators: Kshitij Kumar, Mthobisi