Ask Your Question

Is it possible to moderate user-content based on karma or other factors?

asked 2013-01-29 15:55:28 -0500

qubit's avatar

updated 2013-01-30 17:27:23 -0500

Is it/would it be possible to moderate user content based on a user's karma or other factors (such as age of user account, etc..) ?

As a short-term solution, would it be possible to tweak the Content Moderation code in an install so that a particular user group avoids moderation?

Edit: To be more clear, I would like to be able to enable the 'Content Moderation' flag, but only have it apply to a certain subgroup of users such as:

  • All users with karma < MIN_KARMA_TO_SKIP_MODERATION
  • All users who are not in a group flagged to SKIP_MODERATION
  • All users whose account is younger than MIN_AGE_TO_SKIP_MODERATION

I think that some of this mechanism could live in models/

def needs_moderation(self):
    """``True`` if post needs moderation"""
    if askbot_settings.ENABLE_CONTENT_MODERATION:
        #todo: needs a lot of details
            return False
        # Pseudocode here...
        if user.karma >= MIN_KARMA_TO_SKIP_MODERATION ||
           user.group_has_flag_enabled(SKIP_MODERATION) ||
           user.age >= MIN_AGE_TO_SKIP_MODERATION
            return False
edit retag flag offensive close merge delete


There is no functionality to set the karma levels per user group at this time.

Evgeny's avatar Evgeny  ( 2013-01-29 17:28:17 -0500 )edit

Sorry if I'm not being clear enough here. I don't want to set karma levels for a group (I'm not even sure what that would mean). I'm just interested in some finer-grained controls for which content should go through the moderation queue.

Perhaps I will try to hack some of the features in and submit a patch. That might make my intentions more clear :-)

qubit's avatar qubit  ( 2013-01-29 18:20:05 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-29 16:08:44 -0500

Evgeny's avatar

Hmm, please clarify what you mean. User content is moderated based on karma.

In the settings there is a whole section on the karma limits, that apply to various moderation tasks.

edit flag offensive delete link more


Ah, okay, thanks for the clarification! It may be that the version of the askbot software I'm testing doesn't have the fine-grained controls for moderation to which you're referring. In which version of Askbot were those introduced?

qubit's avatar qubit  ( 2013-01-29 16:18:48 -0500 )edit

It's been there for a long time. Login as admin, click link "settings" then adjust whatever you need.

Evgeny's avatar Evgeny  ( 2013-01-29 16:21:23 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-01-29 15:55:28 -0500

Seen: 180 times

Last updated: Jan 30 '13