Extending the width of your topic titles

Articles and Information - phpBB 3.0 modifications and tweaks

Extending the width of your topic titles

Postby Mick » Mon Mar 20, 2017 9:19 am

COD3M4ST3R-X wrote:Open:includes/functions_content.php

Find:
Code: Select all
function truncate_string($string, $max_length = 60, $max_store_length = 255, $allow_reply = false, $append = '')

Replace With:
Code: Select all
function truncate_string($string, $max_length = 200, $max_store_length = 255, $allow_reply = true, $append‚ = '')

$max_length = 200 this is the new limit change it to whatever you want eg.100 or 200.

Open: styles/prosilver/template/posting_editor.html

Find:
Code: Select all
<dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd>

Replace 60 and 64 with 100 respectively and don't forget to purge the cache ;)
"The more connected we get the more alone we become" - Kyle Broflovski
User avatar
Mick
 
Posts: 24
Joined: Wed Mar 15, 2017 9:14 am

Return to Articles and information

Who is online

Users browsing this forum: No registered users and 3 guests

cron