what is the maximum number of characters that can be in a comment.
May be also usefull to prevent looong spam comments!
You can enter it in every include - or! as how I'm gonna show you, add it to
your System Configuration menu! yay
Open inc/lang/yourlang/syscon.ini
Add in the END of it:
- Code: Select all
comment_max_long_title = "Comments maximum length:"
comment_max_long_description = "The maximum length of characters can be used in comments."
Open inc/mod/syscon.mdu
Find:
- Code: Select all
showRow($echo['allow_url_instead_mail_title'], $echo['allow_url_instead_mail_description'], makeDropDown(array('yes' => $echo['sayYes'], 'no' => $echo['sayNo']), 'save_con[allow_url_instead_mail]', $config_allow_url_instead_mail));
After Add:
- Code: Select all
showRow($echo['comment_max_long_title'], $echo['comment_max_long_description'], '<input type="text" name="save_con[comment_max_long]" value="'.$config_comment_max_long.'" size="10">');
That's it, save all, upload, and check it out in your system config!
Hope it helps
DarkSlim
