phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

Longer Subject-lines


 
Search this topic... | Search phpBB2 Discussion... | Search Box
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Author Message
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Thu Jun 11, 2009 7:14 am 
Post subject: Longer Subject-lines

Hi,

I can only use 59 characters in my subject-lines, due to restrictions in the table in the DB.
Is there a way to change this to 100 or so?

/Holger
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Thu Jun 11, 2009 8:04 am 
Post subject: Re: Longer Subject-lines

In the posts_text table you have to change the size of the post_subject to the desired length, and in the posting_body.tpl you have to change in this line
Code:
      <input type="text" name="subject" size="45" maxlength="60" style="width:450px" tabindex="2" class="post" value="{SUBJECT}" />
the max_length value to that same value as you give the post_subject in the table.
_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Thu Jun 11, 2009 8:11 am 
Post subject: Re: Longer Subject-lines

Thanks a lot!
As it is an indexed field in the DB it is not changeable that easy.
What should I do about that?
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Thu Jun 11, 2009 8:50 am 
Post subject: Re: Longer Subject-lines

I believe you will have to change it from var to varchar.
_________________
phpBB2 will never die, I hope!
Back to top
Holger
Board Member



Joined: 19 Jan 2009

Posts: 509
Location: Hanover


flag
PostPosted: Thu Jun 11, 2009 8:56 am 
Post subject: Re: Longer Subject-lines

Eh, SORRY; I dont know what happened to me!
I looked into the WRONG field!
SORRY, solved!
Back to top
dogs and things
Board Member



Joined: 18 Nov 2008

Posts: 621
Location: Spain


flag
PostPosted: Thu Jun 11, 2009 9:29 am 
Post subject: Re: Longer Subject-lines

Gut! icon_smile.gif
_________________
phpBB2 will never die, I hope!
Back to top
Display posts from previous:   
Register or Login to Post    Index » phpBB2 Discussion  Previous TopicPrint TopicNext Topic
Page 1 of 1 All times are GMT
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0198 seconds using 15 queries. (SQL 0.0027 Parse 0.0006 Other 0.0166)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo