There ls no way to give and receive karma for nodes, only comments

mercmobily - May 20, 2007 - 17:06
Project:Simple Karma
Version:5.x-1.0
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:mercmobily
Status:closed
Description

Hi,

this is a self-requested feature, and it's here so that similar requests can be made duplicates of this one.
This is a simple karma module aimed at giving and receiving karma for *comments* posted onto a web site.
The module is completely focussed on comments.
There are three groups of reasons to it:

* Playing nice with Drupal

Drupal already offers a way of commenting on nodes. There are plenty of good modules that let you do that - for example, the excellent 5Stars. However, there aren't any other modules out there that allow you to give other fellow users karma - good or bad - based on what comments they make on the site's hosts. So, if you want people to vote on nodes on your site, use one of the many other options. This module really wants to play well with Drupal.

* Technical reasons. This is a very strong one. Drupal treats Nodes and Comments differently. They are loaded using two different functions. Unfortunately, their unique IDs are different (cid and nid). This module would have to make a great effort to conciliate this. I tried, the code became very messy (and I am a tidiness freak), the javascript behind it more complex, and everything became a little too hard - and much harder to debug. When I was trying to convert the module to a more "generalised" version, I realised that it just didn't feel right. If in a future version of Drupal comments become nodes, then technically speaking it will be much easier to code this.

* Logical reasons. A node is something somebody authors and could be voted on. A comment is a general contribution people get karma for. This makes sense, and "feels" right. In a forum, the actual post has limited importance - what counts, is how people respond to it, and that's what brings (good or bad) karma.

If you absolutely need people to vote on comments, please use one of the other many modules available out there to vote on comments!

Merc.

#1

mercmobily - May 20, 2007 - 17:07

Issue closed!

#2

mercmobily - May 20, 2007 - 17:08
Assigned to:Anonymous» mercmobily
Status:active» closed

#3

mercmobily - May 22, 2007 - 05:04

Hi,

Well, nevermind that.
The module now allows giving/taking karma for nodes as well.
It was a major rewrite, and it took a lot of effort to make it "consistent" with the rest of Drupal.

Thanks!

Merc.

 
 

Drupal is a registered trademark of Dries Buytaert.