How to edit description lenght

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
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.
Else your topic may be ignored or locked!
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

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?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 815
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: How to edit description lenght

Post by Steve »

Do you mean topic title ?
NAPWR wrote: Nice, Stoker is Hot
download/file.php?id=2327&mode=view
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: How to edit description lenght

Post by Fire-Fox »

Yes thats the one :)
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 815
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

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
NAPWR wrote: Nice, Stoker is Hot
download/file.php?id=2327&mode=view
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: How to edit description lenght

Post by Fire-Fox »

i'll wait :D

Didn't know phpbb had such a thing :D
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: How to edit description lenght

Post by Fire-Fox »

Any news :)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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
Board rules! No PM support
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 815
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

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:
NAPWR wrote: Nice, Stoker is Hot
download/file.php?id=2327&mode=view
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

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.
Board rules! No PM support
User avatar
Fire-Fox
BBCoder IV
BBCoder IV
Posts: 275
Joined: 22 Mar 2010, 13:24
Location: Denmark

Re: How to edit description lenght

Post by Fire-Fox »

I'll take a look at it Stoker :)
Locked