1

Topic: "Subjects cannot be longer than 70 characters."

It seems that I can't find where to alter this length limit in the Preferences. Do I miss something? Or should I simply edit some file to change this? If the latter, can someone point me to it please.

Thanks

Re: "Subjects cannot be longer than 70 characters."

why do you want subjects to be longer? they are meant to be the subject, you type the bult of the stuff in the post

3

Re: "Subjects cannot be longer than 70 characters."

I simply think that 90 characters, lets's say, is more fit for the kind of discussions in my forum. Note also that 70 characters in English is sometimes quite different than 70 characters in some other language, which is the case.

Of course I agree with the basic idea that length of subjects should be limited.

Re: "Subjects cannot be longer than 70 characters."

for 1.1.5 open post.php and replace 70 with 90 in its 2 occurances:
else if (pun_strlen($subject) > 90)
and
maxlength="90"

5

Re: "Subjects cannot be longer than 70 characters."

Thanks! Knew it would be easy smile

Re: "Subjects cannot be longer than 70 characters."

hmm... lots of unused space in the table then (as it's a varchar(255)) ... as I remeber correct that the varchar reserve space in the topic, or do I remember wrong?

Re: "Subjects cannot be longer than 70 characters."

well varchar means it has a separator instead of spaces at the end so its not that bad, thats why i didn't post a solution at first as i thought it would be set i nthe db and be harder to do

Re: "Subjects cannot be longer than 70 characters."

The reason the field is a 255 character varchar is because Internet Explorer posts characters not available in the active character set as HTML numeric character references (e.g. &#xxxx;). 255 isn't quite enough though. I'm not sure if I will do anything about it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."