This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes JForum and the fly likes User star ratings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JForum
Bookmark "User star ratings" Watch "User star ratings" New topic

User star ratings

Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424

How does JForum give star ratings to users?

In my forum, there is an user who posted 8 messages and got 1-star, whereas another user who posted 9 messages does not have any star.

Is there more weightage to posts than replies?

-- MH
[originally posted on by mh]
Migrated From
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
Rating (aka Karma) is based on user ratings and not the number of posts. E.g., if someones like the post, they can "give karma" (or rate it). This goes into the jforum_karma table.

A postings "karma" ranking is the average of all the karma given to it by users.

A user's Karma rating (Stars) is based on the total point given across all ranked posting. (or something like that.. check the posting/dig in the code for the specifics...).

So, your 1 star user had someone rank one of his posts and the 0 star didn't...

Oh, FWIW, there is a second "forum rank" mechanism which is based solely on the number of posts. This is the label that shows up under the user's id, e.g. Forum Baby. These are settable in the admin screens.
[originally posted on by monroe]
I agree. Here's the link:
subject: User star ratings
jQuery in Action, 3rd edition