Hide Karma score | Customization | Forum

Log In

Please consider registering
Guest

— Forum Scope —




— Match —





— Forum Options —





Min search length: 3 characters / Max search length: 84 characters

Register Lost password?
sp_TopicIcon
Hide Karma score
RSS
Profile photo of Adam Burton
Adam Burton
88 Posts
(Offline)
1
December 29, 2016 - 1:01 pm

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.

Profile photo of RedWine
RedWine
436 Posts
(Offline)
2
December 29, 2016 - 2:03 pm

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.

Profile photo of Adam Burton
Adam Burton
88 Posts
(Offline)
3
December 29, 2016 - 3:32 pm

Thanks RedWine, I would like to hide it.

Profile photo of RedWine
RedWine
436 Posts
(Offline)
4
December 30, 2016 - 6:30 pm

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>-->

Profile photo of Adam Burton
Adam Burton
88 Posts
(Offline)
5
December 31, 2016 - 8:45 am

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

Forum Timezone: America/Detroit
All RSS Show Stats

Administrators:
ChuckRoast
RedWine

Top Posters:

Adam Burton: 88

DrCrash: 74

lipsmega: 38

Steven: 35

medioholik: 33

OxyThemes: 24

Kshitij Kumar: 24

Emma Laurencez: 22

zombiemaker: 20

Mark in the UK: 20

Newest Members:

Gutenberg

Sophie

sigit supriyanto

Mohd Rukhairy Abdul Rahman

ark

Angel

Jan

EricSpar

Lance N

Michael McMullen

Forum Stats:

Groups: 1

Forums: 8

Topics: 219

Posts: 1186

 

Member Stats:

Guest Posters: 1

Members: 806

Moderators: 0

Admins: 2

Most Users Ever Online: 27

Currently Online: ChuckRoast
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)