<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[QP School - MyBB Tutorials]]></title>
		<link>https://qomplainerzschool.lima-city.de/</link>
		<description><![CDATA[QP School - https://qomplainerzschool.lima-city.de]]></description>
		<pubDate>Mon, 25 May 2026 11:52:43 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[How to increase the max thread subject length]]></title>
			<link>https://qomplainerzschool.lima-city.de/showthread.php?tid=3314</link>
			<pubDate>Sun, 14 Mar 2021 12:03:46 +0100</pubDate>
			<dc:creator><![CDATA[<a href="https://qomplainerzschool.lima-city.de/member.php?action=profile&uid=1">Qomplainerz</a>]]></dc:creator>
			<guid isPermaLink="false">https://qomplainerzschool.lima-city.de/showthread.php?tid=3314</guid>
			<description><![CDATA[By default a thread subject can have a maximum of 85 characters.<br />
In some cases a thread subject might be longer than 85 characters so you might want to raise the limit.<br />
<br />
1. <span style="font-weight: bold;" class="mycode_b">Editing the database</span><br />
First you will have to edit the database so it can store more than 85 characters.<br />
In order to do that you should open the website where you've hosted your copy of MyBB, in my case it's lima-city.de<br />
From there you have to open PHPMyAdmin.<br />
In MyBB 1.8.24 the thread subject is stored in the table mybb_threads and the column is called subject.<br />
If you click on this column you will see more details about it in PHPMyAdmin.<br />
We can leave "Name" - "subject" unchanged.<br />
We can leave "Type" - "VARCHAR" unchanged, too.<br />
But we have to change "Length/Values" from 85 to i.e. 120.<br />
Now we can save that and close PHPMyAdmin.<br />
<br />
2. <span style="font-weight: bold;" class="mycode_b">Editing the PHP script that evaluates if the max length of characters has been exceeded or not</span><br />
The script we need is in the path MyBB1824/Upload/inc/datahandlers/post.php<br />
From line 226 to 231 we will see the following code:<br />
<br />
if(&#36;subject_length &gt; 85)<br />
{<br />
// Subject is too long<br />
&#36;this-&gt;set_error('subject_too_long', my_strlen(&#36;subject));<br />
return false;<br />
}<br />
<br />
<br />
We have to change it to i.e. 120 and then re-upload this file via FTP.<br />
<br />
3. <span style="font-weight: bold;" class="mycode_b">Editing the PHP script that evaluates if the subject of a reply is too long or not.</span><br />
The script we need is in the path MyBB1824/Upload/showthread.php<br />
From line 89 to line 92 we will see the following code:<br />
<br />
if(my_strlen(&#36;reply_subject) &gt; 85)<br />
{<br />
&#36;reply_subject = my_substr(&#36;reply_subject, 0, 82).'...';<br />
}<br />
<br />
<br />
We have to chnge that to 120, too.<br />
<br />
4. <span style="font-weight: bold;" class="mycode_b">Making the textbox itself bigger so it doesn't seem to be cut off when having more than 85 characters:</span><br />
To do so we need to go to the Admin CP.<br />
From there we will go to Templates.<br />
Then we will select "Default Templates".<br />
Now click on "New Thread Templates".<br />
Go to the submenu "newthread".<br />
On line 22 is the code we need:<br />
<br />
&lt;td class="trow2"&gt;{&#36;prefixselect}&lt;input type="text" class="textbox" name="subject" size="120" maxlength="120" value="{&#36;subject}" tabindex="1" /&gt;&lt;/td&gt;<br />
<br />
In your case it will say 85. Change it to 120.<br />
Now don't forget to save your changes and go back to your forum.]]></description>
			<content:encoded><![CDATA[By default a thread subject can have a maximum of 85 characters.<br />
In some cases a thread subject might be longer than 85 characters so you might want to raise the limit.<br />
<br />
1. <span style="font-weight: bold;" class="mycode_b">Editing the database</span><br />
First you will have to edit the database so it can store more than 85 characters.<br />
In order to do that you should open the website where you've hosted your copy of MyBB, in my case it's lima-city.de<br />
From there you have to open PHPMyAdmin.<br />
In MyBB 1.8.24 the thread subject is stored in the table mybb_threads and the column is called subject.<br />
If you click on this column you will see more details about it in PHPMyAdmin.<br />
We can leave "Name" - "subject" unchanged.<br />
We can leave "Type" - "VARCHAR" unchanged, too.<br />
But we have to change "Length/Values" from 85 to i.e. 120.<br />
Now we can save that and close PHPMyAdmin.<br />
<br />
2. <span style="font-weight: bold;" class="mycode_b">Editing the PHP script that evaluates if the max length of characters has been exceeded or not</span><br />
The script we need is in the path MyBB1824/Upload/inc/datahandlers/post.php<br />
From line 226 to 231 we will see the following code:<br />
<br />
if(&#36;subject_length &gt; 85)<br />
{<br />
// Subject is too long<br />
&#36;this-&gt;set_error('subject_too_long', my_strlen(&#36;subject));<br />
return false;<br />
}<br />
<br />
<br />
We have to change it to i.e. 120 and then re-upload this file via FTP.<br />
<br />
3. <span style="font-weight: bold;" class="mycode_b">Editing the PHP script that evaluates if the subject of a reply is too long or not.</span><br />
The script we need is in the path MyBB1824/Upload/showthread.php<br />
From line 89 to line 92 we will see the following code:<br />
<br />
if(my_strlen(&#36;reply_subject) &gt; 85)<br />
{<br />
&#36;reply_subject = my_substr(&#36;reply_subject, 0, 82).'...';<br />
}<br />
<br />
<br />
We have to chnge that to 120, too.<br />
<br />
4. <span style="font-weight: bold;" class="mycode_b">Making the textbox itself bigger so it doesn't seem to be cut off when having more than 85 characters:</span><br />
To do so we need to go to the Admin CP.<br />
From there we will go to Templates.<br />
Then we will select "Default Templates".<br />
Now click on "New Thread Templates".<br />
Go to the submenu "newthread".<br />
On line 22 is the code we need:<br />
<br />
&lt;td class="trow2"&gt;{&#36;prefixselect}&lt;input type="text" class="textbox" name="subject" size="120" maxlength="120" value="{&#36;subject}" tabindex="1" /&gt;&lt;/td&gt;<br />
<br />
In your case it will say 85. Change it to 120.<br />
Now don't forget to save your changes and go back to your forum.]]></content:encoded>
		</item>
	</channel>
</rss>