Firefox PHP

shorten the subject if

Posted by act 
act
shorten the subject if
June 08, 2001 08:42PM
Hi, i test the forum ,found that if someone type something very long in the subject field ,it will not be shorten ,Then this will show very long topic title at the list topic page..any way to cut it shorter?
act
Re: shorten the subject ifRe: shorten the subject ifRe: shor
June 09, 2001 05:08AM
sample
act
Re: shorten the subject ifRe: shorten the subject ifRe: shor
June 11, 2001 08:59AM
this forum had limit the subject lenght! how to?
SQL or plain HTML
September 14, 2001 03:34PM
Either edit form.php in \include and change the line:

<input type="Text" name="subject" maxlength="255"...

for a shorter value, eg. maxlength="100"

* this next bit is not necessary - but would save resources in the long run...

ALTER TABLE `dbDatabaseName`.`tblForumName` CHANGE subject subject CHAR (100) not null

and hack all your database admin files that create the new tables to hold forums to have the shorter subject columns.

Q to developers: why is subject not a "varchar" field?

Mike

act wrote:
>
> this forum had limit the subject lenght! how to?
Sorry, you do not have permission to post/reply in this forum.