How can I set the limited char in the post. For example, I want to set at least 20 characters in the post to prevent some members who racing post by just posting "yes", "hehe"... words like that which are meaningess and annoying. thanks,
char limited in post?
Collapse
X
-
Currently that's not possible. You may wish to visit http://www.vbulletin.org/ to discuss hacking in a solution. -
To set a minimum character limit into the users post, just open newpost.php and newthread.php
find:
Code:if (strlen($message)>$postmaxchars and $postmaxchars!=0) { eval("standarderror(\"".gettemplate("error_tooshort")."\");"); }
Code:} if (strlen($message)<20) { eval("standarderror(\"".gettemplate("error_tooshort")."\");"); }
and insert:
Code:Your Message is too short. Please write at least 20 characters.
Comment
-
T'Pau, while I'm sure Nam appreciates your help, we request that hacking not be discussed here but rather at www.vbulletin.org . Thank you.Comment
-
Hey tubedogg.
It's rather a simple modification. Everybody could imagine that this is a simple variable definition.
It's not a "hack" so called. Please!
I may understand your war against piracy, but this is not an delivery for those people. It's just a help.
Regards,
Chris.German:
DCF: The matter of IT-SupportComment
-
It actually has nothing to with piracy. Even if we didn't have a piracy problem we still want all code hacks posted at vbulletin.org - that has been the policy since vbulletin.org opened, driven purely by the fact that we do not support hacked boards here.
We call any type of code modification 'hacking' for simplicity's sake. In this case he is adding an extra loop to the code, which is certainly more than a simple variable.Comment
-
-
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment