You are not logged in.
- Topics: Active | Unanswered
#1 2010-01-18 21:56:16
- xSDMx
- Member
- Registered: 2008-06-24
- Posts: 129
Easy Way to Change "Topic Subject" Length
Is there anyway to set the length, besides editing post.php/edit.php?
Offline
#2 2010-01-19 00:29:43
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: Easy Way to Change "Topic Subject" Length
No (you might also need to edit the database)
Offline
#3 2010-01-19 00:32:59
- xSDMx
- Member
- Registered: 2008-06-24
- Posts: 129
Re: Easy Way to Change "Topic Subject" Length
I already changed the length in the forum files, but, why would I need to edit the database? And, what would I need to edit?
Offline
#4 2010-01-19 01:15:37
- MattF
- Member

- From: South Yorkshire, England
- Registered: 2008-05-06
- Posts: 1,230
- Website
Re: Easy Way to Change "Topic Subject" Length
Screw the chavs and God save the Queen!
Offline
#5 2010-01-19 02:00:04
- xSDMx
- Member
- Registered: 2008-06-24
- Posts: 129
Re: Easy Way to Change "Topic Subject" Length
Hmm, thanks for the link, but I don't see anything that should be changed - what am I missing? I edited the maximum length from 70 to 50.
Offline
#6 2010-01-19 02:02:36
- Franz
- Lead developer

- From: Germany
- Registered: 2008-05-13
- Posts: 3,755
- Website
Re: Easy Way to Change "Topic Subject" Length
Those fields in the database are set to a certain length, too. You might want to change some of those limits, too.
By the way, are you talking about the length of the field or the maxlength?
Last edited by Franz (2010-01-19 02:03:26)
Offline
#7 2010-01-19 02:12:11
- xSDMx
- Member
- Registered: 2008-06-24
- Posts: 129
Re: Easy Way to Change "Topic Subject" Length
Both, in all of the files, I set the field/text lengths to 50, from the default of 70.
Do I need to change any of those limits, what will happen if I don't?
Offline
#8 2010-01-19 07:59:14
- Smartys
- Former Developer
- Registered: 2008-04-27
- Posts: 3,117
- Website
Re: Easy Way to Change "Topic Subject" Length
You don't because the subject field is a varchar(255), which means it can contain a maximum of 255 characters. If you had exceeded that limit, you would have needed to change it.
Offline
#9 2010-01-19 08:06:39
- qie
- Member

- Registered: 2008-06-02
- Posts: 376
Re: Easy Way to Change "Topic Subject" Length
Is there anyway to set the length, besides editing post.php/edit.php?
why just edit edit.php and post.php?
now show:光宇游戏
Offline
