The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello i want to make my board reject post that has less than 4 words or smilies
how can i do that? |
#2
|
|||
|
|||
![]()
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. |
#3
|
||||
|
||||
![]()
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.
|
#4
|
||||
|
||||
![]()
xmm how can i do that?(modify the code)
|
#5
|
||||
|
||||
![]()
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
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|