View Full Version : Showthread/Postbit Big Title Problem
sonic3d
02-15-2003, 10:02 PM
ok does ne know how i can shorten up the thread title in the postbit cuz when the title is very big it messes up the postbit.
does ne1 know how i can shorten it?
l8er
sonic
put a limit of say 20 characters on the title field. that should do it.
i believe this can be done in the template "newthread" (you will also have to do this on "newreply" and "newpoll:"
(It would be sort of like this, i think?) The first line might be different... but just mess around with this for a bit and who knows? :nervous:
if (postmaxchars != 0) {
if (theform.subject.value.length > 20) {
alert("Your subject is too long.\n\nReduce your subject to 20 characters.\nIt is currently "+theform.subject.value.length+" characters long.");
return false; }
else { return true; } :cool:
k I just tested that and it didn't do anything, so I guess it doesn't work. maybe someone knows what I did wrong??? lol :ermm:
sonic3d
02-16-2003, 08:40 PM
ne1 else?
l8er
sonic
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.