View Full Version : Setting a minimum and maximum thread title limit?
xlguy
02-23-2006, 04:40 PM
Hi guys, I was wondering if there was a place I could hook into to set both a minimum and maximum topic title length? I thought this was an option in vB but now I can't seem to find it. Unless I'm going mad? :rolleyes:
xlguy
03-02-2006, 09:07 PM
Just a polite bump to see any suggestions, thanks.
Ntfu2
03-02-2006, 09:26 PM
I dont think you can set thread title limits, you can set post limits though
AdminCP -> vBulletin Options -> Message Posting Options
xlguy
03-02-2006, 09:46 PM
Thanks, yeah I'm looking for a similar setting but for topic titles.
I imagine it's a relatively simple hook which could be written in to a plugin? I just want to stop users from being able to have topic titles like "lol" and "see this"
xlguy
03-22-2006, 03:19 PM
I've finally had time to code this up, enjoy:
https://vborg.vbsupport.ru/showthread.php?t=111101
:)
Freesteyelz
03-22-2006, 05:37 PM
I haven't checked your code, xlguy, but to force the limit on character amount in thread titles just look for (in your posting templates):
maxlength="85"
And adjust it to whatever. :)
xlguy
03-22-2006, 06:09 PM
Yeah, the maximum length wasn't really the main issue, it was the minimum length. The plugin deals with that and also now can remove excessive '.....' from the end. Thanks for the help though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.