![]() |
Post minimum lengh 4 words
Hello i want to make my board reject post that has less than 4 words or smilies
how can i do that? |
Admin CP -> vB Options -> Message Posting and Editing Options -> Minimum Characters Per Post
Also, make sure ignore quoted words is set to yes. As far as smilies, I don't think you can set it to do that, however a smiley does count as two characters, so they would have to enter two smilies. |
The only option in vb is to count the number of characters per post (as brought up in post 2). If you want it to count words, you are going to have to modify the code a bit.
|
xmm how can i do that?(modify the code)
|
You'd have to go look into dealing with strings in php and then maybe you can find a hook to use to perform the action on the message string and count the words. I'm really not sure exactly how to do it, but that should get you started. http://us.php.net/manual/en/ref.strings.php
|
All times are GMT. The time now is 02:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|