Page 1 of 2

How to edit description lenght

Posted: 11 Apr 2010, 23:05
by Fire-Fox
Hey!

How do i change the description length so it's possible to have a long description?

Re: How to edit description lenght

Posted: 11 Apr 2010, 23:10
by Steve
Do you mean topic title ?

Re: How to edit description lenght

Posted: 11 Apr 2010, 23:54
by Fire-Fox
Yes thats the one :)

Re: How to edit description lenght

Posted: 12 Apr 2010, 00:03
by Steve
if your in a real hurry search phpbb.com for topic title lengh adjsutment, includes databsae adjustments and file edits to do this for just a topic title.
if you wait , just wait a few days ,there could be more ;) wait .........

:P

Re: How to edit description lenght

Posted: 12 Apr 2010, 00:29
by Fire-Fox
i'll wait :D

Didn't know phpbb had such a thing :D

Re: How to edit description lenght

Posted: 14 Apr 2010, 15:56
by Fire-Fox
Any news :)

Re: How to edit description lenght

Posted: 14 Apr 2010, 19:08
by Stoker
Try this: Open styles/prosilver/template/posting_editor.html
Find:

Code: Select all

maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->"
Change number 60 and 64

Re: How to edit description lenght

Posted: 14 Apr 2010, 19:30
by Steve
doesnt work needs to be adjusted in the database also tryed adding ,255,255 to the topic title line in functions_posting.php

search on phpbb.com a was reading a topic on there about it the other day :geek:

Re: How to edit description lenght

Posted: 14 Apr 2010, 20:02
by Stoker
DavidIQ wrote:Open functions_posting.php. Find these guys:

Code: Select all

	$subject = truncate_string($subject);
	$data['topic_title'] = truncate_string($data['topic_title']);
Replace with:

Code: Select all

	$subject = truncate_string($subject, 255);
	$data['topic_title'] = truncate_string($data['topic_title'], 255);
That should do it now.

Re: How to edit description lenght

Posted: 14 Apr 2010, 20:32
by Fire-Fox
I'll take a look at it Stoker :)