How to edit description lenght

Support for PhpBB3.
Post here to get help with any phpBB3 related issue
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
If not your topic may be ignored or locked!

How to edit description lenght

Post 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

Post by Steve »

Do you mean topic title ?

Re: How to edit description lenght

Post by Fire-Fox »

Yes thats the one :)

Re: How to edit description lenght

Post 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

Post by Fire-Fox »

i'll wait :D

Didn't know phpbb had such a thing :D

Re: How to edit description lenght

Post by Fire-Fox »

Any news :)

Re: How to edit description lenght

Post 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

Post 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

Post 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

Post by Fire-Fox »

I'll take a look at it Stoker :)