View Full Version : Minimum characters per visitor message?
Rlad78
03-28-2015, 03:48 PM
I'd like to lower the minimum characters per visitor message in vB3 without changing the minimum characters per post. Is it possible to set these settings individually? Each time I change the "minimum characters per post" in the Message Posting options it changes both the post and visitor message minimum, which I don't want as I want them to have different values. Thank you!
PinkMilk
03-28-2015, 08:15 PM
Updated after reading OP again
I'm not sure you can change one without the other, my quick fix suggestion would be to add a guest condition to editor_toolbar_off template and add the pattern (http://www.w3.org/TR/2009/WD-html5-20090825/forms.html#attr-input-pattern) and required (http://www.w3.org/TR/2009/WD-html5-20090825/forms.html#attr-input-required) attributes to the textarea:
Find:
tabindex="1">$newpost[message]
Before add:
<if condition="$show['guest']">pattern=".{10,}" required </if>
Then change 10 to whatever amount you wish min to be.
This is just a quick fix, I'm sure someone else would come up with a better solution.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.