You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

jimrandomh comments on Meta: A 5 karma requirement to post in discussion - Less Wrong Discussion

46 Post author: Jack 20 January 2011 06:22AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (51)

You are viewing a single comment's thread. Show more comments above.

Comment author: jimrandomh 26 January 2011 02:06:13PM *  12 points [-]

Then let me make it as easy as possible:

--- a/r2/r2/models/subreddit.py
+++ b/r2/r2/models/subreddit.py
@@ -173,6 +173,8 @@ class Subreddit(Thing, Printable):
return True
elif self.is_banned(user):
return False
+ elif self == Subreddit._by_name('discussion') and user.safe_karma < 5:
+ return False
elif self.type == 'public':
return True
elif self.is_moderator(user) or self.is_contributor(user):

Note that this is a bit of a hack; the right thing to do is to replace the karma_to_post global variable with a member of Subreddit, and make some UI for adjusting it. One side-effect of doing it this way is that the message users get when they don't have enough karma (from r2/r2/templates/newlink.html:81) always says they need 20, regardless of which section they tried to post to.

Comment author: topynate 27 January 2011 11:35:11PM 0 points [-]

It looks like wezm has followed your suggestion, with extra hackishness - he added a new global variable.