Subject line character limit - نوشته شده در (10259 Views)
Starting Member
bnaumer
مطلب: 3
3
I'm trying to set up a FAQ section on our snitz bbs. The limit on characters in the subject line makes it tough to get some of the questions listed. Is there a way to increase the number of characters allowed in the Subject line?
Thanks in advance.<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
On line 768 of post.asp, find the following:
Code:
"                <td bgColor=""" & strPopUpTableColor & """><input maxLength=""50"" name=""Subject"" value=""" & Trim(ChkString(TxtSub,"edit")) & """ size=""40""></td>" & vbNewLine & _
And change the 50 to any value you wish up to 100, if you want to go higher than that, you're going to have to edit some tables in the database to allow for a longer subject.
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Retired Support Moderator
MarcelG
مطلب: 2625
2625
BNaumer, there's also one line to adjust in post_info.asp ;
Code:
if Len(Request.Form("Subject")) > 50 then
should be changed to
Code:
if Len(Request.Form("Subject")) > 100 then
<
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
D'oh! Cheers, Marcel smile
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
Starting Member
bnaumer
مطلب: 3
3
Great!! I'll give it a try and report back... Thanks! bigsmile<
نوشته شده در
Starting Member
bnaumer
مطلب: 3
3
That was it. No I have more working room. Thanks for both replies.<
نوشته شده در
Support Moderator
Shaggy
مطلب: 6780
6780
You're welcome smile
<
Search is your friend “I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
 
شما باید یک متن وارد کنید