2014-02-05, 07:16 PM
2014-02-05, 09:55 PM
Not checked, but I think this will work.
Open reputation.php and find nearabout line 232:
Trim out the base condition, make it:
I think this will force users to input comments in any situation (from post or direct).
Update:
I've made an option-driven version of it
http://demonate.com/thread-1419.html
Open reputation.php and find nearabout line 232:
if($mybb->input['pid'] == 0)
{
$mybb->input['comments'] = trim($mybb->input['comments']); // Trim whitespace to check for length
if(my_strlen($mybb->input['comments']) < 10)
{
$show_back = 1;
$message = $lang->add_no_comment;
eval("\$error = \"".$templates->get("reputation_add_error")."\";");
output_page($error);
exit;
}
}
Trim out the base condition, make it:
$mybb->input['comments'] = trim($mybb->input['comments']); // Trim whitespace to check for length
if(my_strlen($mybb->input['comments']) < 10)
{
$show_back = 1;
$message = $lang->add_no_comment;
eval("\$error = \"".$templates->get("reputation_add_error")."\";");
output_page($error);
exit;
}
I think this will force users to input comments in any situation (from post or direct).
Update:
I've made an option-driven version of it

http://demonate.com/thread-1419.html
2014-02-09, 03:39 AM
simply 

2014-02-09, 05:13 PM
@effone very much will "Method 1" force everyone to input a comment and there is no way to do it without core edit?
2018-11-03, 02:21 AM
Hello MyBB users:
I tried this tutorial, but run into issues. I posted my concern in the general forum, but since I'm not getting responses, I'll post it here in case I get more visibility.
https://community.mybb.com/thread-220234...pid1317015
I would appreciate some assistance with this.
I tried this tutorial, but run into issues. I posted my concern in the general forum, but since I'm not getting responses, I'll post it here in case I get more visibility.
https://community.mybb.com/thread-220234...pid1317015
I would appreciate some assistance with this.
2018-11-03, 10:10 AM
This guide was for MyBB v1.6
I have replied to your thread with guidelines:
https://community.mybb.com/thread-220234...pid1318096
I have replied to your thread with guidelines:
https://community.mybb.com/thread-220234...pid1318096