Can I disable give reputation for users with number of posts less N?
#1
Please help me with my question: How can I disable give reputation for users, who not reached minimum post limit?
Reply
#2
Ok, open reputation.php

Change

// This user doesn't have permission to give reputations.
	if($mybb->usergroup['cangivereputations'] != "yes")

To:

// This user doesn't have permission to give reputations.
	$postslimit = 21;
	if($mybb->usergroup['cangivereputations'] != "yes" || $mybb->user['postnum'] <= $postslimit)

Change the variable $postslimit to whatever number of posts you want.
Reply
#3
thanks, its work.
but this changes will be discarding after updating to new versions MyBB... Sad
Reply
#4
Just do them over then.
[Image: destroyerjf8.jpg]

Give us your feedback about MyBB in this thread and become listed on the MyBB website.
Reply
#5
a simple plugin would be easier =P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)