Advertisement:

Author Topic: How to display how much karma a post has?  (Read 143 times)

Offline confuseamuse

  • Jr. Member
  • **
  • Posts: 111
How to display how much karma a post has?
« on: August 12, 2017, 07:41:43 AM »
I would like to be able to display the amount of karma a single post has received from members. What would I need to add to Display.template.php to do this?

Offline brynn

  • Jr. Member
  • **
  • Posts: 327
  • Gender: Female
    • Inkscape Community
Re: How to display how much karma a post has?
« Reply #1 on: August 12, 2017, 08:13:44 AM »
I'm not sure if I understand your question completely.  There is a feature which allows members to have a karma value.  That can be enabled in admin panel > Core Features.

I found a mod which appears to allow you to have karma for posts (or maybe topics?).  Note that I haven't used it.  But that's what it sounds like it does:  https://custom.simplemachines.org/mods/index.php?mod=3474
Inkscape Community  (SMF with Tiny Portal)

Inkscape for Cutting Design  (originally a phpBB forum, converted to SMF, and using Simple Portal)

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,679
Re: How to display how much karma a post has?
« Reply #2 on: August 12, 2017, 09:19:27 AM »
a post does not receive karma, a user receives karma, so you cant really get a number the way you want.