PDA

View Full Version : min length on thread starter only?


khininger
09-15-2014, 02:59 PM
hi :)

i'd like to set a minimal length on thread starter only. so that the first post in a thread has to be at least 200 characters, while responses can be just one word.

i see how to set min post length - but that's for all the posts, both starters and responses. i need short responses and long starters. any way to make it happen?

thank you very much!

kh99
09-15-2014, 03:55 PM
I haven't tested it, but you could try creating a plugin using hook location newthread_post_start and code like this:
$vbulletin->options['postminchars'] = 200;

I'm not sure this handles every case, and I know it won't stop someone from editing the post after it's posted and making it less than 200 chars, but naybe it's good enough for your purposes.

ozzy47
09-16-2014, 01:03 AM
Give me a day or so, and I can have the mod done that will do this, and it will work on editing of the post. It will include usergroup perms, forums that it will work in.

ozzy47
09-17-2014, 10:26 AM
Ok here is the mod, https://vborg.vbsupport.ru/showthread.php?t=314358