PDA

View Full Version : Minimum length required for thread title


xlguy
03-21-2006, 10:00 PM
Minimum Length Required for Thread Title

This is my first plugin for 3.5.x so please be gentle ;)

Purpose: Stop users from starting a new thread unless the title has more than X number of characters, which you can specify from the vB settings area.

Instructions: Download the zip file and unpack it. You should find the .xml file there. Go to your vB admin > Plugin System > Manage Products > Add/Import Product and upload it there. That's it. The default plugin requires 30 characters for the thread title but you can change this in the vB settings menu.

If you use this hack please click here (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=111101) to tell vB.org you've installed it and show your support :)

xlguy
03-22-2006, 03:11 PM
[ First post reserved in case needed at a later date ]

xlguy
03-22-2006, 04:24 PM
I have made a modification to this, so if someone does "Hello............" it will strip off all those ... before it does the count. Basically it reduces the number of .... anywhere in the string to just three. If anyone wants this as well then PM me or reply here and I'll package it up.

COBRAws
03-22-2006, 06:23 PM
This is handy, thank you xlguy

EasyTarget
03-22-2006, 06:29 PM
I was reading the request area and found this.. does this support the max limit in the plugin as well?

xlguy
03-22-2006, 08:19 PM
No, this only deals with the minimum length. To do the maximum length you just need to edit your newthread template and put in a maxlength variable. If you need full instructions then let me know, but it's just a template edit for that.

hiiped
03-23-2006, 12:28 AM
I have made a modification to this, so if someone does "Hello............" it will strip off all those ... before it does the count. Basically it reduces the number of .... anywhere in the string to just three. If anyone wants this as well then PM me or reply here and I'll package it up.
Please include this instructions

SHalliday
04-19-2006, 02:45 PM
I tried installing according to installation instructions. Used product manager to import as product and received the following error:

XML Error: not well-formed (invalid token) at Line 1

Has anyone else received this error or have any idea how I can get it fixed?

xlguy
04-19-2006, 02:47 PM
Did you unzip the package first?

SHalliday
04-19-2006, 06:59 PM
My mistake and a very stupid one at that. Thank you for pointing out the problem and thank you for writing such a useful plugin. I now have it installed and tested so I am clicking INSTALL.

johnstires
08-30-2006, 12:34 AM
This is helpful. Thanks. Is it possible to do a minimum for the actual post as well?

xlguy
08-30-2006, 11:59 AM
Sure, that's a default feature.

Go to AdminCP > vBulletin Options > Message Posting and Editing Options > Minimum Characters Per Post

johnstires
08-30-2006, 12:04 PM
Yes but I am looking for it on a per forum basis. I just realized that yours is across the entire site too.

SHalliday
12-03-2006, 09:35 PM
Anyone know if this will work with vb3.6.4?

xlguy
12-10-2006, 11:43 PM
Let me know if it doesn't.

xlguy
01-16-2007, 01:04 AM
3.6.x version now online at:
https://vborg.vbsupport.ru/showthread.php?t=136627

It includes the feature of ignoring people who try to cheat with lots of "........". If you want to use it in 3.5.x then download the 3.6 version but remove "executionorder" code from the .xml file before importing.