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

[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);
I now realize that the 60-character limit was in phpBB 3.0.14. In 3.3.13, it is 120 characters. So, I am all set. Thank you for your professional and detailed assistance!

Statistics: Posted by jmichae1 — Wed Nov 13, 2024 11:49 am



Viewing all articles
Browse latest Browse all 2053

Trending Articles