Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2591

[3.3.x] Support Forum • Re: How to increase the length of the subject/title of the topic?

$
0
0
I have discovered that the Topic/Subject/Title length when creating a post is limited to 60 characters. I want to increase it, e.g. to 100 characters. The database does not appear to be the issue since the phpbb_topics table's topic_title column is of type VARCHAR and its Length/Value is 255.
In stock phpBB the topic_title length = 120

see /includes/functions_posting.php

in phpBB 3.3.13
line 1688

Code:

// First of all make sure the subject and topic title are having the correct length.// To achieve this without cutting off between special chars we convert to an array and then count the elements.$subject = truncate_string($subject, 120);$data_ary['topic_title'] = truncate_string($data_ary['topic_title'], 120);

Statistics: Posted by warmweer — Wed Nov 13, 2024 7:18 am



Viewing all articles
Browse latest Browse all 2591

Trending Articles