![]() |
Minimum characters needed for a new post
What does this hack do?
If you post a new thread or a new reply and the message is too short (shorter than a number of characters you specify), you'll recieve an error. This *might* stop spamming. Requested by https://vborg.vbsupport.ru/showthread.php?postid=377468 Screenshots -Admin CP Options -> [Thread Display Options] -The actual error page Installation See attached text file Approx. install time: 5 min or so [high]After installation, remember to set the 'Minimum Characters per post' option to a suitable value (for example 50)[/high] Updates -fixed lil typo in the install file :) (template name was wrong) -thanks to Zelda-King for pointing me on editpost.php ;) [high]Please click the install button if you installed this hack!!![/high] |
Screenshot
Admin options [Thread Display Options] |
Screenshot
The actual error page |
Nice little addition. I will make it so Admins and Mods are exempt, though. ;)
|
Nice idea - vB users are really hitting down on spammers nowadays ;)
- miSt |
Quote:
PHP Code:
[high]not tested though![/high] please tell me if it works ;) [high]btw, anyone know if there's a similar function to in_array, but that returns FALSE where in_array returns TRUE (like checking if something is NOT in an array...)[/high] |
Here's the code I was going to use.
PHP Code:
|
I recommend the code be inserted into editpost.php as well. Also, in the text file you said to make a template called 'error_toolong'. Surely you mean 'error_tooshort'.
|
great work, i saw this on vb3, altho it's more a little pop up like the pm thing but blah, this is great!
|
this is nice, im gonna install
|
All times are GMT. The time now is 11:17 AM. |
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:
|