<?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[MyBB Community Forums - 1.8 Bugs and Issues]]></title>
		<link>https://community.mybb.com/</link>
		<description><![CDATA[MyBB Community Forums - https://community.mybb.com]]></description>
		<pubDate>Mon, 23 Nov 2026 02:08:50 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Moderator Tools no longer have any effect after upgrading to MyBB 1.8.41]]></title>
			<link>https://community.mybb.com/thread-246090.html</link>
			<pubDate>Sun, 25 Oct 2026 14:28:25 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=59317">Goose</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-246090.html</guid>
			<description><![CDATA[Since upgrading my forum to MyBB 1.8.41, my Moderator Tools no longer seem to work.<br />
<br />
I currently have two Moderator Tools configured:<br />
<ol type="1" class="mycode_list"><li>A tool that changes the thread title and adds a reply.<br />
</li>
<li>A tool that moves the thread to another forum.<br />
</li>
</ol>
<br />
When I run either tool, the confirmation window appears correctly and I can confirm that I want to perform the action. However, after confirming, I am simply redirected back to the post, and no changes are applied.<br />
<br />
I have not noticed any related errors in the MyBB error logs.<br />
<br />
The issue appears to have started after upgrading to MyBB 1.8.41. The Moderator Tools were working correctly before the upgrade.<br />
<span style="font-weight: bold;" class="mycode_b"><br />
<br />
Steps to reproduce:</span><br />
<ol type="1" class="mycode_list"><li>Create or use a Moderator Tool.<br />
</li>
<li>Run the tool on a thread.<br />
</li>
<li>Confirm the action in the confirmation window.<br />
</li>
<li>You are redirected back to the post, but the requested action has not been performed.<br />
</li>
</ol>
]]></description>
			<content:encoded><![CDATA[Since upgrading my forum to MyBB 1.8.41, my Moderator Tools no longer seem to work.<br />
<br />
I currently have two Moderator Tools configured:<br />
<ol type="1" class="mycode_list"><li>A tool that changes the thread title and adds a reply.<br />
</li>
<li>A tool that moves the thread to another forum.<br />
</li>
</ol>
<br />
When I run either tool, the confirmation window appears correctly and I can confirm that I want to perform the action. However, after confirming, I am simply redirected back to the post, and no changes are applied.<br />
<br />
I have not noticed any related errors in the MyBB error logs.<br />
<br />
The issue appears to have started after upgrading to MyBB 1.8.41. The Moderator Tools were working correctly before the upgrade.<br />
<span style="font-weight: bold;" class="mycode_b"><br />
<br />
Steps to reproduce:</span><br />
<ol type="1" class="mycode_list"><li>Create or use a Moderator Tool.<br />
</li>
<li>Run the tool on a thread.<br />
</li>
<li>Confirm the action in the confirmation window.<br />
</li>
<li>You are redirected back to the post, but the requested action has not been performed.<br />
</li>
</ol>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[php] MyCode parsing returns empty string in PHP 8.3+ due to HTML validation failure]]></title>
			<link>https://community.mybb.com/thread-245393.html</link>
			<pubDate>Wed, 27 May 2026 16:18:28 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=134311">PARADOX987</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-245393.html</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">File: inc/class_parser.php</span><br />
<br />
  <span style="font-weight: bold;" class="mycode_b">The Bug:</span><br />
  In PHP 8.3, the internal output of the native <code class="inline-code">highlight_string()</code> function was changed. It no<br />
  longer generates the exact same &lt;span style="color: ..."&gt; and &lt;code&gt; HTML structure as older<br />
  PHP versions.<br />
<br />
  Because <code class="inline-code">mycode_parse_php()</code> uses hardcoded <code class="inline-code">preg_replace</code> patterns that expect the old PHP 8.2-<br />
  HTML structure, these regex replacements now create broken/unbalanced HTML tags. At the end of<br />
  the parsing process, MyBB's <code class="inline-code">output_allowed()</code> and <code class="inline-code">validate_output()</code> methods detect this invalid<br />
  HTML and completely abort, returning an empty string.<br />
<br />
  The Code Causing It (<span style="font-weight: bold;" class="mycode_b">inc/class_parser.php</span> inside <code class="inline-code">mycode_parse_php</code>):<br />
<br />
 <br />
<pre class="block-code line-numbers language-none"><code class="language-php">1 $code = @highlight_string($str, true);
  2
  3 // These replacements fail to correctly balance tags on PHP 8.3+
  4 $code = preg_replace('#&lt;pre&gt;&lt;code style=&quot;color: \#000000&quot;&gt;#i', &quot;&lt;code&gt;&quot;, $code);
  5 $code = preg_replace('#&lt;code&gt;\s*&lt;span style=&quot;color: \#000000&quot;&gt;\s*#i', &quot;&lt;code&gt;&quot;, $code);
  6 $code = preg_replace(&quot;#&lt;/span&gt;\s*&lt;/code&gt;#&quot;, &quot;&lt;/code&gt;&quot;, $code);
  7 $code = preg_replace(&quot;#&lt;/code&gt;\s*&lt;/pre&gt;#&quot;, &quot;&lt;/code&gt;&quot;, $code);
  8 $code = preg_replace(&quot;#&lt;/span&gt;(\r\n?|\n?)&lt;/code&gt;#&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);</code></pre> <br />
<br />
  <span style="font-weight: bold;" class="mycode_b">The Fix:</span><br />
  Update the string replacement logic in <code class="inline-code">mycode_parse_php()</code> to account for PHP 8.3+'s modern<br />
  <code class="inline-code">highlight_string()</code> wrapper format.<br />
<br />
  Find this block in <span style="font-weight: bold;" class="mycode_b">inc/class_parser.php</span>:<br />
<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-php">    1        if($added_end_tag)
    2        {
    3            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/code&gt;&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);
    4            // Wait a minute. It fails highlighting? Stupid highlighter.
    5            $code = str_replace(&quot;?&amp;gt;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&quot;, $code);
    6        }
    7
    8        $code = preg_replace(&quot;#&lt;span style=\&quot;color: \#([A-Z0-9]{6})\&quot;&gt;&lt;/span&gt;#&quot;, &quot;&quot;,
      $code);
    9        $code = str_replace(&quot;&lt;code&gt;&quot;, &quot;&lt;div dir=\&quot;ltr\&quot;&gt;&lt;code&gt;&quot;, $code);
  10        $code = str_replace(&quot;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&lt;/div&gt;&quot;, $code);</code></pre><br />
<br />
  <span style="font-weight: bold;" class="mycode_b">Replace with:</span><br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-php">    1        if($added_end_tag)
    2        {
    3            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/code&gt;&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);
    4            $code = str_replace(&quot;?&amp;gt;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&quot;, $code);
    5            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&quot;, &quot;&lt;/span&gt;&lt;/pre&gt;&quot;, $code);
    6        }
    7
    8        $code = preg_replace(&quot;#&lt;span style=\&quot;color: \#([A-Z0-9]{6})\&quot;&gt;&lt;/span&gt;#&quot;, &quot;&quot;,
      $code);
    9
  10        // PHP 8.3+ compatibility: remove stray wrapping &lt;pre&gt; tags leftover from new
      highlight_string format
  11        $code = str_replace(&quot;&lt;pre&gt;&quot;, &quot;&quot;, $code);
  12        $code = str_replace(&quot;&lt;/pre&gt;&quot;, &quot;&quot;, $code);
  13
  14        $code = str_replace(&quot;&lt;code&gt;&quot;, &quot;&lt;div dir=\&quot;ltr\&quot;&gt;&lt;code&gt;&quot;, $code);
  15        $code = str_replace(&quot;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&lt;/div&gt;&quot;, $code);</code></pre>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">File: inc/class_parser.php</span><br />
<br />
  <span style="font-weight: bold;" class="mycode_b">The Bug:</span><br />
  In PHP 8.3, the internal output of the native <code class="inline-code">highlight_string()</code> function was changed. It no<br />
  longer generates the exact same &lt;span style="color: ..."&gt; and &lt;code&gt; HTML structure as older<br />
  PHP versions.<br />
<br />
  Because <code class="inline-code">mycode_parse_php()</code> uses hardcoded <code class="inline-code">preg_replace</code> patterns that expect the old PHP 8.2-<br />
  HTML structure, these regex replacements now create broken/unbalanced HTML tags. At the end of<br />
  the parsing process, MyBB's <code class="inline-code">output_allowed()</code> and <code class="inline-code">validate_output()</code> methods detect this invalid<br />
  HTML and completely abort, returning an empty string.<br />
<br />
  The Code Causing It (<span style="font-weight: bold;" class="mycode_b">inc/class_parser.php</span> inside <code class="inline-code">mycode_parse_php</code>):<br />
<br />
 <br />
<pre class="block-code line-numbers language-none"><code class="language-php">1 $code = @highlight_string($str, true);
  2
  3 // These replacements fail to correctly balance tags on PHP 8.3+
  4 $code = preg_replace('#&lt;pre&gt;&lt;code style=&quot;color: \#000000&quot;&gt;#i', &quot;&lt;code&gt;&quot;, $code);
  5 $code = preg_replace('#&lt;code&gt;\s*&lt;span style=&quot;color: \#000000&quot;&gt;\s*#i', &quot;&lt;code&gt;&quot;, $code);
  6 $code = preg_replace(&quot;#&lt;/span&gt;\s*&lt;/code&gt;#&quot;, &quot;&lt;/code&gt;&quot;, $code);
  7 $code = preg_replace(&quot;#&lt;/code&gt;\s*&lt;/pre&gt;#&quot;, &quot;&lt;/code&gt;&quot;, $code);
  8 $code = preg_replace(&quot;#&lt;/span&gt;(\r\n?|\n?)&lt;/code&gt;#&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);</code></pre> <br />
<br />
  <span style="font-weight: bold;" class="mycode_b">The Fix:</span><br />
  Update the string replacement logic in <code class="inline-code">mycode_parse_php()</code> to account for PHP 8.3+'s modern<br />
  <code class="inline-code">highlight_string()</code> wrapper format.<br />
<br />
  Find this block in <span style="font-weight: bold;" class="mycode_b">inc/class_parser.php</span>:<br />
<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-php">    1        if($added_end_tag)
    2        {
    3            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/code&gt;&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);
    4            // Wait a minute. It fails highlighting? Stupid highlighter.
    5            $code = str_replace(&quot;?&amp;gt;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&quot;, $code);
    6        }
    7
    8        $code = preg_replace(&quot;#&lt;span style=\&quot;color: \#([A-Z0-9]{6})\&quot;&gt;&lt;/span&gt;#&quot;, &quot;&quot;,
      $code);
    9        $code = str_replace(&quot;&lt;code&gt;&quot;, &quot;&lt;div dir=\&quot;ltr\&quot;&gt;&lt;code&gt;&quot;, $code);
  10        $code = str_replace(&quot;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&lt;/div&gt;&quot;, $code);</code></pre><br />
<br />
  <span style="font-weight: bold;" class="mycode_b">Replace with:</span><br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-php">    1        if($added_end_tag)
    2        {
    3            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/code&gt;&quot;, &quot;&lt;/span&gt;&lt;/code&gt;&quot;, $code);
    4            $code = str_replace(&quot;?&amp;gt;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&quot;, $code);
    5            $code = str_replace(&quot;?&amp;gt;&lt;/span&gt;&lt;/pre&gt;&quot;, &quot;&lt;/span&gt;&lt;/pre&gt;&quot;, $code);
    6        }
    7
    8        $code = preg_replace(&quot;#&lt;span style=\&quot;color: \#([A-Z0-9]{6})\&quot;&gt;&lt;/span&gt;#&quot;, &quot;&quot;,
      $code);
    9
  10        // PHP 8.3+ compatibility: remove stray wrapping &lt;pre&gt; tags leftover from new
      highlight_string format
  11        $code = str_replace(&quot;&lt;pre&gt;&quot;, &quot;&quot;, $code);
  12        $code = str_replace(&quot;&lt;/pre&gt;&quot;, &quot;&quot;, $code);
  13
  14        $code = str_replace(&quot;&lt;code&gt;&quot;, &quot;&lt;div dir=\&quot;ltr\&quot;&gt;&lt;code&gt;&quot;, $code);
  15        $code = str_replace(&quot;&lt;/code&gt;&quot;, &quot;&lt;/code&gt;&lt;/div&gt;&quot;, $code);</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Several errors needed to fix]]></title>
			<link>https://community.mybb.com/thread-245349.html</link>
			<pubDate>Wed, 20 May 2026 17:24:46 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=134311">PARADOX987</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-245349.html</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Issue 1: libxml_disable_entity_loader() deprecated</span><br />
<br />
    Files:<br />
<br />
    - inc/class_parser.php:2060<br />
<br />
    Error:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">Function libxml_disable_entity_loader() is deprecated since PHP 8.0,
    as external entity loading is disabled by default</code></pre><br />
    Call chain:<br />
<br />
    1. portal.php:664 → parse_message()<br />
    2. class_parser.php:284 → output_allowed()<br />
    3. class_parser.php:2025 → validate_output()<br />
    4. class_parser.php:2060 → @libxml_disable_entity_loader(true)<br />
<br />
    Fix: The function libxml_disable_entity_loader() was deprecated in PHP 8.0 because<br />
    external entity loading is now disabled by default. The call should be wrapped in a<br />
    version check:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">if (PHP_VERSION_ID &lt; 80000) {
        @libxml_disable_entity_loader(true);
    }</code></pre><br />
<br />
    <span style="font-weight: bold;" class="mycode_b">Issue 2: preg_replace() receives null subject</span><br />
<br />
    File: inc/functions.php:5730<br />
<br />
    Error:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">preg_replace(): Passing null to parameter #3 ($subject) of type array|string is
    deprecated</code></pre><br />
<br />
    Call chain:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-none">1. portal.php:581 → htmlspecialchars_uni()
2. functions.php:5730 → preg_replace(&quot;#&amp;(?!\#[0-9]+;)#si&quot;, &quot;&amp;&quot;, $message)</code></pre><br />
<br />
    Root cause: The function htmlspecialchars_uni(&#36;message) does not handle null input. When<br />
    called with a null value (e.g., a post field that is NULL in the database), preg_replace(<br />
    ) receives null as the subject parameter, which is deprecated in PHP 8.1+.<br />
<br />
    Fix: Add a type cast or null guard at the top of htmlspecialchars_uni():<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function htmlspecialchars_uni($message)
    {
        $message = (string)$message;
        // ... existing logic
    }</code></pre><br />
<br />
    Or alternatively:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function htmlspecialchars_uni($message)
    {
        if ($message === null) {
            return '';
        }
        // ... existing logic
    }</code></pre><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Issue 3: mb_strpos() receives null haystack</span><br />
<br />
     File: inc/functions.php:6284<br />
<br />
     Error:<br />
<br />
     <br />
<pre class="block-code line-numbers language-none"><code class="language-php">mb_strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated</code></pre><br />
     Call chain:<br />
<br />
     1. portal.php:618 → format_avatar()<br />
     2. functions.php:3571 → my_strpos()<br />
     3. functions.php:6284 → mb_strpos(&#36;haystack, &#36;needle, &#36;offset)<br />
<br />
     Root cause: The function my_strpos(&#36;haystack, &#36;needle, &#36;offset) does not validate that<br />
     &#36;haystack is a string before passing it to mb_strpos(). When &#36;haystack is null, PHP 8.1+<br />
     emits a deprecation warning.<br />
<br />
     Fix: Cast or validate the &#36;haystack parameter at the top of my_strpos():<br />
<br />
     <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function my_strpos($haystack, $needle, $offset = 0)
     {
         $haystack = (string)$haystack;
         // ... existing logic
     }</code></pre>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Issue 1: libxml_disable_entity_loader() deprecated</span><br />
<br />
    Files:<br />
<br />
    - inc/class_parser.php:2060<br />
<br />
    Error:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">Function libxml_disable_entity_loader() is deprecated since PHP 8.0,
    as external entity loading is disabled by default</code></pre><br />
    Call chain:<br />
<br />
    1. portal.php:664 → parse_message()<br />
    2. class_parser.php:284 → output_allowed()<br />
    3. class_parser.php:2025 → validate_output()<br />
    4. class_parser.php:2060 → @libxml_disable_entity_loader(true)<br />
<br />
    Fix: The function libxml_disable_entity_loader() was deprecated in PHP 8.0 because<br />
    external entity loading is now disabled by default. The call should be wrapped in a<br />
    version check:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">if (PHP_VERSION_ID &lt; 80000) {
        @libxml_disable_entity_loader(true);
    }</code></pre><br />
<br />
    <span style="font-weight: bold;" class="mycode_b">Issue 2: preg_replace() receives null subject</span><br />
<br />
    File: inc/functions.php:5730<br />
<br />
    Error:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">preg_replace(): Passing null to parameter #3 ($subject) of type array|string is
    deprecated</code></pre><br />
<br />
    Call chain:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-none">1. portal.php:581 → htmlspecialchars_uni()
2. functions.php:5730 → preg_replace(&quot;#&amp;(?!\#[0-9]+;)#si&quot;, &quot;&amp;&quot;, $message)</code></pre><br />
<br />
    Root cause: The function htmlspecialchars_uni(&#36;message) does not handle null input. When<br />
    called with a null value (e.g., a post field that is NULL in the database), preg_replace(<br />
    ) receives null as the subject parameter, which is deprecated in PHP 8.1+.<br />
<br />
    Fix: Add a type cast or null guard at the top of htmlspecialchars_uni():<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function htmlspecialchars_uni($message)
    {
        $message = (string)$message;
        // ... existing logic
    }</code></pre><br />
<br />
    Or alternatively:<br />
<br />
   <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function htmlspecialchars_uni($message)
    {
        if ($message === null) {
            return '';
        }
        // ... existing logic
    }</code></pre><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Issue 3: mb_strpos() receives null haystack</span><br />
<br />
     File: inc/functions.php:6284<br />
<br />
     Error:<br />
<br />
     <br />
<pre class="block-code line-numbers language-none"><code class="language-php">mb_strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated</code></pre><br />
     Call chain:<br />
<br />
     1. portal.php:618 → format_avatar()<br />
     2. functions.php:3571 → my_strpos()<br />
     3. functions.php:6284 → mb_strpos(&#36;haystack, &#36;needle, &#36;offset)<br />
<br />
     Root cause: The function my_strpos(&#36;haystack, &#36;needle, &#36;offset) does not validate that<br />
     &#36;haystack is a string before passing it to mb_strpos(). When &#36;haystack is null, PHP 8.1+<br />
     emits a deprecation warning.<br />
<br />
     Fix: Cast or validate the &#36;haystack parameter at the top of my_strpos():<br />
<br />
     <br />
<pre class="block-code line-numbers language-none"><code class="language-php">function my_strpos($haystack, $needle, $offset = 0)
     {
         $haystack = (string)$haystack;
         // ... existing logic
     }</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Error message - discontinued function  and inline edit loophole]]></title>
			<link>https://community.mybb.com/thread-245140.html</link>
			<pubDate>Wed, 08 Apr 2026 23:12:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=160634">Allvater</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-245140.html</guid>
			<description><![CDATA[in devtools i get a orange warning when doing inline edits<br />
it seems there is a outdated code or parsing logic pointing on  XMLHttpRequest API synchro<br />
is there any fix for that?<br />
and inline edit has a little loophole<br />
when you set max pictures for posts<br />
you can add as many pictures as you want when using inline edit...any fixes for that too?<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">      , zt = S.ajaxSettings.xhr();
    y.cors = !!zt &amp;&amp; &quot;withCredentials&quot;in zt,
    y.ajax = zt = !!zt,
    S.ajaxTransport(function(i) {
        var o, a;
        if (y.cors || zt &amp;&amp; !i.crossDomain)
            return {
                send: function(e, t) {
                    var n, r = i.xhr();
                    if (r.open(i.type, i.url, i.async, i.username, i.password),
                    i.xhrFields)
                        for (n in i.xhrFields)
                            r[n] = i.xhrFields[n];
                    for (n in i.mimeType &amp;&amp; r.overrideMimeType &amp;&amp; r.overrideMimeType(i.mimeType),
                    i.crossDomain || e[&quot;X-Requested-With&quot;] || (e[&quot;X-Requested-With&quot;] = &quot;XMLHttpRequest&quot;),
                    e)
                        r.setRequestHeader(n, e[n]);
                    o = function(e) {
                        return function() {
                            o &amp;&amp; (o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null,
                            &quot;abort&quot; === e ? r.abort() : &quot;error&quot; === e ? &quot;number&quot; != typeof r.status ? t(0, &quot;error&quot;) : t(r.status, r.statusText) : t(_t[r.status] || r.status, r.statusText, &quot;text&quot; !== (r.responseType || &quot;text&quot;) || &quot;string&quot; != typeof r.responseText ? {
                                binary: r.response
                            } : {
                                text: r.responseText
                            }, r.getAllResponseHeaders()))
                        }
                    }</code></pre>thanks so far. <img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[in devtools i get a orange warning when doing inline edits<br />
it seems there is a outdated code or parsing logic pointing on  XMLHttpRequest API synchro<br />
is there any fix for that?<br />
and inline edit has a little loophole<br />
when you set max pictures for posts<br />
you can add as many pictures as you want when using inline edit...any fixes for that too?<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">      , zt = S.ajaxSettings.xhr();
    y.cors = !!zt &amp;&amp; &quot;withCredentials&quot;in zt,
    y.ajax = zt = !!zt,
    S.ajaxTransport(function(i) {
        var o, a;
        if (y.cors || zt &amp;&amp; !i.crossDomain)
            return {
                send: function(e, t) {
                    var n, r = i.xhr();
                    if (r.open(i.type, i.url, i.async, i.username, i.password),
                    i.xhrFields)
                        for (n in i.xhrFields)
                            r[n] = i.xhrFields[n];
                    for (n in i.mimeType &amp;&amp; r.overrideMimeType &amp;&amp; r.overrideMimeType(i.mimeType),
                    i.crossDomain || e[&quot;X-Requested-With&quot;] || (e[&quot;X-Requested-With&quot;] = &quot;XMLHttpRequest&quot;),
                    e)
                        r.setRequestHeader(n, e[n]);
                    o = function(e) {
                        return function() {
                            o &amp;&amp; (o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null,
                            &quot;abort&quot; === e ? r.abort() : &quot;error&quot; === e ? &quot;number&quot; != typeof r.status ? t(0, &quot;error&quot;) : t(r.status, r.statusText) : t(_t[r.status] || r.status, r.statusText, &quot;text&quot; !== (r.responseType || &quot;text&quot;) || &quot;string&quot; != typeof r.responseText ? {
                                binary: r.response
                            } : {
                                text: r.responseText
                            }, r.getAllResponseHeaders()))
                        }
                    }</code></pre>thanks so far. <img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Subforum-Parentforum new Posts markers]]></title>
			<link>https://community.mybb.com/thread-244993.html</link>
			<pubDate>Sun, 08 Mar 2026 04:13:12 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=160634">Allvater</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-244993.html</guid>
			<description><![CDATA[Hey guys<br />
<br />
i found a old archieved thread for this problem. my search did not found any other threads (but maybe i used the wrong key-words)<br />
<br />
Is there ANY solution to fix the problem<br />
<br />
<br />
if you have new replys/topics in subforums -&gt; parent forum gets the new posts marker too, even if it has no posts?<br />
<br />
<br />
<br />
<br />
if there is a solution - please let me know!<br />
<br />
<br />
the actual way of dealing with this<br />
<br />
i dont use a forum as master parent - just a category and i disabled the icon status with a if fid=x - removed isnewmarkers<br />
<br />
<br />
<br />
thanks so far <img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></description>
			<content:encoded><![CDATA[Hey guys<br />
<br />
i found a old archieved thread for this problem. my search did not found any other threads (but maybe i used the wrong key-words)<br />
<br />
Is there ANY solution to fix the problem<br />
<br />
<br />
if you have new replys/topics in subforums -&gt; parent forum gets the new posts marker too, even if it has no posts?<br />
<br />
<br />
<br />
<br />
if there is a solution - please let me know!<br />
<br />
<br />
the actual way of dealing with this<br />
<br />
i dont use a forum as master parent - just a category and i disabled the icon status with a if fid=x - removed isnewmarkers<br />
<br />
<br />
<br />
thanks so far <img src="https://community.mybb.com/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Recurring incorrect string value in useragent causing PHP fatal errors]]></title>
			<link>https://community.mybb.com/thread-244559.html</link>
			<pubDate>Wed, 19 Nov 2025 14:21:16 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=150665">IncredibleHat</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-244559.html</guid>
			<description><![CDATA[We have seen a gigantic uptick in PHP fatal errors caused in the forum code due to 'bad' characters in the useragent, which is used in the session manager in MyBB. We tried to wrap the forum in cloudflare with "Under Attack" mode on, thinking they are garbage bots, but it has not stopped anything. So we don't understand why now, after all this time with MyBB, this is happening.<br />
<br />
<br />
MyBB forum version 1.8.39<br />
PHP 8.1.33<br />
SQL Engine MySQLi 8.0.43<br />
Mysql tables setup as utf8mb4, InnoDB<br />
<br />
The continuous errors logged:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">PHP Fatal error:  Uncaught mysqli_sql_exception: Incorrect string value: '\xC0\xA7\xC0\xA2%2...' for column 'useragent' at row 1 in /htdocs/forum/inc/db_mysqli.php:335</code></pre><br />
<br />
The stack trace:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">Stack trace:
#0 /htdocs/forum/inc/db_mysqli.php(335): mysqli_query()
#1 /htdocs/forum/inc/db_mysqli.php(378): DB_MySQLi-&gt;query()
#2 /htdocs/forum/inc/db_mysqli.php(956): DB_MySQLi-&gt;write_query()
#3 /htdocs/forum/inc/class_session.php(522): DB_MySQLi-&gt;update_query()
#4 /htdocs/forum/inc/class_session.php(415): session-&gt;update_session()
#5 /htdocs/forum/inc/class_session.php(116): session-&gt;load_guest()
#6 /htdocs/forum/global.php(49): session-&gt;init()
#7 /htdocs/forum/showthread.php(28): require_once('...')
#8 {main}
  thrown in /htdocs/forum/inc/db_mysqli.php on line 335
</code></pre>]]></description>
			<content:encoded><![CDATA[We have seen a gigantic uptick in PHP fatal errors caused in the forum code due to 'bad' characters in the useragent, which is used in the session manager in MyBB. We tried to wrap the forum in cloudflare with "Under Attack" mode on, thinking they are garbage bots, but it has not stopped anything. So we don't understand why now, after all this time with MyBB, this is happening.<br />
<br />
<br />
MyBB forum version 1.8.39<br />
PHP 8.1.33<br />
SQL Engine MySQLi 8.0.43<br />
Mysql tables setup as utf8mb4, InnoDB<br />
<br />
The continuous errors logged:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">PHP Fatal error:  Uncaught mysqli_sql_exception: Incorrect string value: '\xC0\xA7\xC0\xA2%2...' for column 'useragent' at row 1 in /htdocs/forum/inc/db_mysqli.php:335</code></pre><br />
<br />
The stack trace:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">Stack trace:
#0 /htdocs/forum/inc/db_mysqli.php(335): mysqli_query()
#1 /htdocs/forum/inc/db_mysqli.php(378): DB_MySQLi-&gt;query()
#2 /htdocs/forum/inc/db_mysqli.php(956): DB_MySQLi-&gt;write_query()
#3 /htdocs/forum/inc/class_session.php(522): DB_MySQLi-&gt;update_query()
#4 /htdocs/forum/inc/class_session.php(415): session-&gt;update_session()
#5 /htdocs/forum/inc/class_session.php(116): session-&gt;load_guest()
#6 /htdocs/forum/global.php(49): session-&gt;init()
#7 /htdocs/forum/showthread.php(28): require_once('...')
#8 {main}
  thrown in /htdocs/forum/inc/db_mysqli.php on line 335
</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Select All Check Box Bug?]]></title>
			<link>https://community.mybb.com/thread-242645.html</link>
			<pubDate>Sun, 29 Dec 2024 22:36:57 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=81844">Black Angel</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-242645.html</guid>
			<description><![CDATA[Hi, I am posting this because I think I may have found a possible bug involving this feature..<br />
<br />
If you are in the topic listing within a forum, and you selected the check box above that selects all topics within that forum, and then you chose the Move/Copy option and then went on to copy those topics to a new forum, then you would likely find that only the first thread selected was copied, and, in order to copy the rest over as you originally intended, then you would have to manually select each of the threads and the use the same tool to copy the threads over.<br />
<br />
This was exactly what happened to me. And while, I am unsure, and/or don't remember as to whether or not this is the case with the "Move" option, when following the same steps, this was exactly what happened when I copied the threads instead.]]></description>
			<content:encoded><![CDATA[Hi, I am posting this because I think I may have found a possible bug involving this feature..<br />
<br />
If you are in the topic listing within a forum, and you selected the check box above that selects all topics within that forum, and then you chose the Move/Copy option and then went on to copy those topics to a new forum, then you would likely find that only the first thread selected was copied, and, in order to copy the rest over as you originally intended, then you would have to manually select each of the threads and the use the same tool to copy the threads over.<br />
<br />
This was exactly what happened to me. And while, I am unsure, and/or don't remember as to whether or not this is the case with the "Move" option, when following the same steps, this was exactly what happened when I copied the threads instead.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Formatted text in Quote's author breaks in WYSIWYG mode]]></title>
			<link>https://community.mybb.com/thread-241872.html</link>
			<pubDate>Wed, 25 Sep 2024 17:25:43 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=93724">MangaD</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-241872.html</guid>
			<description><![CDATA[The following will show correctly in WYSIWYG mode.<br />
<br />
<blockquote class="mycode_quote"><cite>author Wrote:</cite>Some text</blockquote><br />
The following will not render in WYSIWYG mode. Actually it does not render properly after posting either.<br />
<br />
<blockquote class="mycode_quote"><cite><span style="font-weight: bold;" class="mycode_b">author</span> Wrote:</cite>Some text</blockquote>]]></description>
			<content:encoded><![CDATA[The following will show correctly in WYSIWYG mode.<br />
<br />
<blockquote class="mycode_quote"><cite>author Wrote:</cite>Some text</blockquote><br />
The following will not render in WYSIWYG mode. Actually it does not render properly after posting either.<br />
<br />
<blockquote class="mycode_quote"><cite><span style="font-weight: bold;" class="mycode_b">author</span> Wrote:</cite>Some text</blockquote>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Error when deleting users]]></title>
			<link>https://community.mybb.com/thread-239326.html</link>
			<pubDate>Sun, 08 Oct 2023 19:05:26 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=151721">beardodge67</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-239326.html</guid>
			<description><![CDATA[When deleting users (whether by finding their name in the list or do a search), you place a checkmark in the box and if you select DELETE USERS from INLINE USER MODIFICATION, it asks if you want to delete a number of users, whether you select one or more.  This number seems to increment randomly, some times it'll jump one, others none.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="JPEG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46374" target="_blank" title="">users.JPG</a> (Size: 15.65 KB / Downloads: 194)
<!-- end: postbit_attachments_attachment --><br />
<br />
Deleting users from the OPTIONS drop down does not show this.<br />
<br />
MyBB 1.8.36]]></description>
			<content:encoded><![CDATA[When deleting users (whether by finding their name in the list or do a search), you place a checkmark in the box and if you select DELETE USERS from INLINE USER MODIFICATION, it asks if you want to delete a number of users, whether you select one or more.  This number seems to increment randomly, some times it'll jump one, others none.<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="JPEG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46374" target="_blank" title="">users.JPG</a> (Size: 15.65 KB / Downloads: 194)
<!-- end: postbit_attachments_attachment --><br />
<br />
Deleting users from the OPTIONS drop down does not show this.<br />
<br />
MyBB 1.8.36]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[The errorHandler class suppresses output of custom MyBB error types]]></title>
			<link>https://community.mybb.com/thread-239242.html</link>
			<pubDate>Sat, 23 Sep 2023 13:51:48 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=116662">Laird</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-239242.html</guid>
			<description><![CDATA[This is a tentative bug report, because I might be misunderstanding or missing something.<br />
<br />
In debugging a friend's board, which was intermittently showing a white screen, it turned out that a database error was being generated and sent to the error handler class's <code class="inline-code">error()</code> method by <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/db_mysqli.php#L609" target="_blank" rel="noopener" class="mycode_url">line #609</a> of <code class="inline-code">inc/db_mysqli.php</code>:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">				$error_handler-&gt;error(MYBB_SQL, $error);
</code></pre><br />
That method of the error handler, however, returned immediately due to the condition on <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L171" target="_blank" rel="noopener" class="mycode_url">line #171</a> of <code class="inline-code">inc/class_error.php</code> testing true, and so my friend never saw the error message, and saw only a white screen:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		if((error_reporting() &amp; $type) == 0)
</code></pre><br />
It seems to me that <code class="inline-code">errorHandler::error()</code> ought not to return in this scenario, and that the problem is that this conditional ignores custom MyBB error types: it will always test true for them, causing the method to return without displaying anything for those error types.<br />
<br />
Unless I'm mistaken or missing something, it seems that <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L170-L175" target="_blank" rel="noopener" class="mycode_url">lines #170-175</a> could safely be deleted in their entirety, because <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L176-L179" target="_blank" rel="noopener" class="mycode_url">lines #176-179</a> perform the same job, but without mistakenly testing true for MyBB error types: by this (performing the same job) I mean that <code class="inline-code">error_reporting()</code> is in the first place initialised based on <code class="inline-code">$this-&gt;ignore_types</code>, so testing it aside from <code class="inline-code">$this-&gt;ignore_types</code> seems to be redundant.<br />
<br />
Lines #170-175, which seem redundant:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		// Error reporting turned off for this type
		if((error_reporting() &amp; $type) == 0)
		{
			return true;
		}
</code></pre><br />
Lines #176-179, which seem to make them redundant:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		if(in_array($type, $this-&gt;ignore_types))
		{
			return true;
		}
</code></pre><br />
<span style="font-style: italic;" class="mycode_i">Am</span> I missing something here?<br />
<br />
Unless somebody points out that I am, I'll update my <a href="https://community.mybb.com/thread-238665.html" target="_blank" rel="noopener" class="mycode_url">Debugging white screens</a> thread with the advice to delete those lines if the other advice in that thread's OP fails.]]></description>
			<content:encoded><![CDATA[This is a tentative bug report, because I might be misunderstanding or missing something.<br />
<br />
In debugging a friend's board, which was intermittently showing a white screen, it turned out that a database error was being generated and sent to the error handler class's <code class="inline-code">error()</code> method by <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/db_mysqli.php#L609" target="_blank" rel="noopener" class="mycode_url">line #609</a> of <code class="inline-code">inc/db_mysqli.php</code>:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">				$error_handler-&gt;error(MYBB_SQL, $error);
</code></pre><br />
That method of the error handler, however, returned immediately due to the condition on <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L171" target="_blank" rel="noopener" class="mycode_url">line #171</a> of <code class="inline-code">inc/class_error.php</code> testing true, and so my friend never saw the error message, and saw only a white screen:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		if((error_reporting() &amp; $type) == 0)
</code></pre><br />
It seems to me that <code class="inline-code">errorHandler::error()</code> ought not to return in this scenario, and that the problem is that this conditional ignores custom MyBB error types: it will always test true for them, causing the method to return without displaying anything for those error types.<br />
<br />
Unless I'm mistaken or missing something, it seems that <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L170-L175" target="_blank" rel="noopener" class="mycode_url">lines #170-175</a> could safely be deleted in their entirety, because <a href="https://github.com/mybb/mybb/blob/8127919f21c9244408b4ce331845a76bac6c6307/inc/class_error.php#L176-L179" target="_blank" rel="noopener" class="mycode_url">lines #176-179</a> perform the same job, but without mistakenly testing true for MyBB error types: by this (performing the same job) I mean that <code class="inline-code">error_reporting()</code> is in the first place initialised based on <code class="inline-code">$this-&gt;ignore_types</code>, so testing it aside from <code class="inline-code">$this-&gt;ignore_types</code> seems to be redundant.<br />
<br />
Lines #170-175, which seem redundant:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		// Error reporting turned off for this type
		if((error_reporting() &amp; $type) == 0)
		{
			return true;
		}
</code></pre><br />
Lines #176-179, which seem to make them redundant:<br />
<pre class="block-code line-numbers language-none"><code class="language-php">		if(in_array($type, $this-&gt;ignore_types))
		{
			return true;
		}
</code></pre><br />
<span style="font-style: italic;" class="mycode_i">Am</span> I missing something here?<br />
<br />
Unless somebody points out that I am, I'll update my <a href="https://community.mybb.com/thread-238665.html" target="_blank" rel="noopener" class="mycode_url">Debugging white screens</a> thread with the advice to delete those lines if the other advice in that thread's OP fails.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ACP Images Do Not Use Asset URL]]></title>
			<link>https://community.mybb.com/thread-238362.html</link>
			<pubDate>Thu, 25 May 2023 14:37:32 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=127137">Taylor M</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-238362.html</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Version:</span> 1.8.33 specifically for me (but could be others as well)<br />
<span style="font-weight: bold;" class="mycode_b">Board URL:</span> <a href="https://devbb.mysite.com/forum" target="_blank" rel="noopener" class="mycode_url">https://devbb.mysite.com/forum</a><br />
<span style="font-weight: bold;" class="mycode_b">File/Folder Directory:</span> <span style="font-family: 'Courier New';" class="mycode_font">public_html/forum/[<span style="font-style: italic;" class="mycode_i">allmybbfileshere</span>]</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Description:</span><br />
In the AdminCP images used for post icons, set as default theme, task manager icons, and so on look to be just coded as /images/etcetcetc instead of using the asset URL defined in the ACP.<br />
<br />
So all of these images are not loading because they're trying to use <span style="font-family: 'Courier New';" class="mycode_font">devbb.mysite.com/images/etcetcetc</span> (which points to the public_html directory) instead of <span style="font-family: 'Courier New';" class="mycode_font">devbb.mysite.com/forum/images/etcetcetc</span> (which "forum" is the directory where the mybb forum is).<br />
<br />
This problem only occurs in the AdminCP. From the front end everything is fine as it is called forth with one of these variables in the URL.<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">{$mybb-&gt;asset_url}
or
{$mybb-&gt;settings['bburl']}</code></pre><br />
<span style="font-weight: bold;" class="mycode_b">Screenshots:</span><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46007" target="_blank" title="">Capture.PNG</a> (Size: 124.35 KB / Downloads: 218)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46008" target="_blank" title="">Capture2.PNG</a> (Size: 185.71 KB / Downloads: 149)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Version:</span> 1.8.33 specifically for me (but could be others as well)<br />
<span style="font-weight: bold;" class="mycode_b">Board URL:</span> <a href="https://devbb.mysite.com/forum" target="_blank" rel="noopener" class="mycode_url">https://devbb.mysite.com/forum</a><br />
<span style="font-weight: bold;" class="mycode_b">File/Folder Directory:</span> <span style="font-family: 'Courier New';" class="mycode_font">public_html/forum/[<span style="font-style: italic;" class="mycode_i">allmybbfileshere</span>]</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Description:</span><br />
In the AdminCP images used for post icons, set as default theme, task manager icons, and so on look to be just coded as /images/etcetcetc instead of using the asset URL defined in the ACP.<br />
<br />
So all of these images are not loading because they're trying to use <span style="font-family: 'Courier New';" class="mycode_font">devbb.mysite.com/images/etcetcetc</span> (which points to the public_html directory) instead of <span style="font-family: 'Courier New';" class="mycode_font">devbb.mysite.com/forum/images/etcetcetc</span> (which "forum" is the directory where the mybb forum is).<br />
<br />
This problem only occurs in the AdminCP. From the front end everything is fine as it is called forth with one of these variables in the URL.<br />
<pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">{$mybb-&gt;asset_url}
or
{$mybb-&gt;settings['bburl']}</code></pre><br />
<span style="font-weight: bold;" class="mycode_b">Screenshots:</span><br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46007" target="_blank" title="">Capture.PNG</a> (Size: 124.35 KB / Downloads: 218)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://community.mybb.com/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=46008" target="_blank" title="">Capture2.PNG</a> (Size: 185.71 KB / Downloads: 149)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[reCAPTCHA v3 Contact Page Submission Error]]></title>
			<link>https://community.mybb.com/thread-238103.html</link>
			<pubDate>Wed, 19 Apr 2023 14:41:43 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=127137">Taylor M</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-238103.html</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Issue:</span><br />
When clicking submit on the Contact Us page users encounter an error stating they must solve the reCAPTCHA. However, reCAPTCHA v3 is invisible for website visitors. There are no challenges to solve. I am assuming that this is a bug that may have been overlooked and I haven't seen it reported here before (or my search terms are incorrect).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Error:</span> <pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">Please solve the reCAPTCHA to verify that you're not a robot.</code></pre>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Issue:</span><br />
When clicking submit on the Contact Us page users encounter an error stating they must solve the reCAPTCHA. However, reCAPTCHA v3 is invisible for website visitors. There are no challenges to solve. I am assuming that this is a bug that may have been overlooked and I haven't seen it reported here before (or my search terms are incorrect).<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Error:</span> <pre data-deferred="true" class="block-code line-numbers language-none"><code class="language-none">Please solve the reCAPTCHA to verify that you're not a robot.</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Cloudflare Attachment bugfix submission]]></title>
			<link>https://community.mybb.com/thread-237077.html</link>
			<pubDate>Sun, 27 Nov 2022 00:41:40 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=124076">waldoalvarez</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-237077.html</guid>
			<description><![CDATA[Hello:<br />
<br />
I am Waldo Alvarez from TradingFuturo, LLC<br />
<br />
I finally after years dealing with the issue found the cause of mybb not working properly with <span style="font-weight: bold;" class="mycode_b">cloudflare</span>. At some point even considered dropping mybb and get another forum software. I could not stop using cloudflare since we have a very high traffic, enough to bring down servers if we stop using it.<br />
<br />
Anyways I decided to check mybb sources since I saw a similar problem happening with another php files I wrote.<br />
<br />
Thing is cloudflare was <span style="font-weight: bold;" class="mycode_b">caching</span> register page for downloads. And when authenticated users attempted to download attachments, were presented with cached copy of "register to download" page instead of contacting the server and download the attachment.<br />
<br />
The solution is very simple, I manually patch mybb with every release that overwrites <span style="font-weight: bold;" class="mycode_b">attachment.php</span><br />
<br />
I think is time to integrate it to main source code of mybb save myself time, fix headaches to many sysadmins around the globe and help with mybb adoption<br />
<br />
<br />
&lt;?php<br />
/**<br />
* MyBB 1.8<br />
* Copyright 2014 MyBB Group, All Rights Reserved<br />
*<br />
* Website: <a href="http://www.mybb.com" target="_blank" rel="noopener" class="mycode_url">http://www.mybb.com</a><br />
* License: <a href="http://www.mybb.com/about/license" target="_blank" rel="noopener" class="mycode_url">http://www.mybb.com/about/license</a><br />
*<br />
*/<br />
<br />
define("IN_MYBB", 1);<br />
define('THIS_SCRIPT', 'attachment.php');<br />
<br />
+// prevent CloudFlare caching<br />
+header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");<br />
+header("Cache-Control: post-check=0, pre-check=0", false);<br />
+header("Pragma: no-cache");<br />
<br />
require_once "./global.php";<br />
<br />
<br />
if you can please provide credit on next release as that will help me get more known in my sector.<br />
<br />
Regards]]></description>
			<content:encoded><![CDATA[Hello:<br />
<br />
I am Waldo Alvarez from TradingFuturo, LLC<br />
<br />
I finally after years dealing with the issue found the cause of mybb not working properly with <span style="font-weight: bold;" class="mycode_b">cloudflare</span>. At some point even considered dropping mybb and get another forum software. I could not stop using cloudflare since we have a very high traffic, enough to bring down servers if we stop using it.<br />
<br />
Anyways I decided to check mybb sources since I saw a similar problem happening with another php files I wrote.<br />
<br />
Thing is cloudflare was <span style="font-weight: bold;" class="mycode_b">caching</span> register page for downloads. And when authenticated users attempted to download attachments, were presented with cached copy of "register to download" page instead of contacting the server and download the attachment.<br />
<br />
The solution is very simple, I manually patch mybb with every release that overwrites <span style="font-weight: bold;" class="mycode_b">attachment.php</span><br />
<br />
I think is time to integrate it to main source code of mybb save myself time, fix headaches to many sysadmins around the globe and help with mybb adoption<br />
<br />
<br />
&lt;?php<br />
/**<br />
* MyBB 1.8<br />
* Copyright 2014 MyBB Group, All Rights Reserved<br />
*<br />
* Website: <a href="http://www.mybb.com" target="_blank" rel="noopener" class="mycode_url">http://www.mybb.com</a><br />
* License: <a href="http://www.mybb.com/about/license" target="_blank" rel="noopener" class="mycode_url">http://www.mybb.com/about/license</a><br />
*<br />
*/<br />
<br />
define("IN_MYBB", 1);<br />
define('THIS_SCRIPT', 'attachment.php');<br />
<br />
+// prevent CloudFlare caching<br />
+header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");<br />
+header("Cache-Control: post-check=0, pre-check=0", false);<br />
+header("Pragma: no-cache");<br />
<br />
require_once "./global.php";<br />
<br />
<br />
if you can please provide credit on next release as that will help me get more known in my sector.<br />
<br />
Regards]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[copy/paste of formatted text is unreadable]]></title>
			<link>https://community.mybb.com/thread-236534.html</link>
			<pubDate>Fri, 16 Sep 2022 02:23:47 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=108092">HLFadmin</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-236534.html</guid>
			<description><![CDATA[When pasting formatted copy from another source into a MyBB post, it may be that a size format code renders it unreadable.<br />
An alternative is to paste copy without the formatting using one of two methods involving source mode in the editor.<br />
This post identifies a solution that can be easily implemented.<br />
<a href="https://community.mybb.com/thread-236525-post-1379952.html#pid1379952" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-236525...pid1379952</a><br />
The thread is not the only one recently pointing out the same flaw.<br />
<br />
Looking back at downloaded code, I notice the function in class_parser.php is unchanged since at least 1.8.12, perhaps earlier.<br />
I also observe that 1.6.9 used a slightly different function value of &#36;size+10 up to a max of 50.<br />
<br />
Rather than make a core edit as pointed out in the post above, it should be considered for inclusion in 1.8.31 unless screen resolution of different devices indicates a different minimum value for font size. I have not researched that here, as I do not have a wider variety of hardware available to me.<br />
<br />
But it seems certain that size=1 formatting is unusable at all.]]></description>
			<content:encoded><![CDATA[When pasting formatted copy from another source into a MyBB post, it may be that a size format code renders it unreadable.<br />
An alternative is to paste copy without the formatting using one of two methods involving source mode in the editor.<br />
This post identifies a solution that can be easily implemented.<br />
<a href="https://community.mybb.com/thread-236525-post-1379952.html#pid1379952" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-236525...pid1379952</a><br />
The thread is not the only one recently pointing out the same flaw.<br />
<br />
Looking back at downloaded code, I notice the function in class_parser.php is unchanged since at least 1.8.12, perhaps earlier.<br />
I also observe that 1.6.9 used a slightly different function value of &#36;size+10 up to a max of 50.<br />
<br />
Rather than make a core edit as pointed out in the post above, it should be considered for inclusion in 1.8.31 unless screen resolution of different devices indicates a different minimum value for font size. I have not researched that here, as I do not have a wider variety of hardware available to me.<br />
<br />
But it seems certain that size=1 formatting is unusable at all.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[No way to search string with DOT (fullsearch)]]></title>
			<link>https://community.mybb.com/thread-235369.html</link>
			<pubDate>Fri, 01 Apr 2022 09:19:47 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=144660">BettyIsBoop</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-235369.html</guid>
			<description><![CDATA[Whe using fullsearch if need to searc for "i.n.p.s" or "s.n.a.f.u."<br />
<br />
Final search get whole POST.<br />
<br />
Because when remove dot : mybb don't check if word is enclosed in quote <br />
<a href="https://github.com/mybb/mybb/blob/3681869c99a4cd4214f271d72456825e268069c0/inc/functions_search.php#L328" target="_blank" rel="noopener" class="mycode_url">https://github.com/mybb/mybb/blob/368186...h.php#L328</a><br />
<br />
This not happen with simple search.<br />
<br />
Propoition : don't update word between quote.<br />
<hr class="mycode_hr" />
On this forum: <br />
<br />
<a href="https://community.mybb.com/search.php?action=do_search&amp;keywords=%22i.n.p.s%22&amp;postthread=1&amp;author=&amp;matchusername=1&amp;forums%5B%5D=all&amp;findthreadst=1&amp;numreplies=&amp;postdate=0&amp;pddir=1&amp;threadprefix%5B%5D=any&amp;sortby=lastpost&amp;sortordr=desc&amp;showresults=threads&amp;submit=Search" target="_blank" rel="noopener" class="mycode_url">action=do_search&amp;keywords=%22i.n.p.s%22</a><br />
<br />
give a 500 error.<br />
<br />
Then there are a bad system elsewhere : "i.n.p.s" to " " broke and don't show there are an issue with length ?]]></description>
			<content:encoded><![CDATA[Whe using fullsearch if need to searc for "i.n.p.s" or "s.n.a.f.u."<br />
<br />
Final search get whole POST.<br />
<br />
Because when remove dot : mybb don't check if word is enclosed in quote <br />
<a href="https://github.com/mybb/mybb/blob/3681869c99a4cd4214f271d72456825e268069c0/inc/functions_search.php#L328" target="_blank" rel="noopener" class="mycode_url">https://github.com/mybb/mybb/blob/368186...h.php#L328</a><br />
<br />
This not happen with simple search.<br />
<br />
Propoition : don't update word between quote.<br />
<hr class="mycode_hr" />
On this forum: <br />
<br />
<a href="https://community.mybb.com/search.php?action=do_search&amp;keywords=%22i.n.p.s%22&amp;postthread=1&amp;author=&amp;matchusername=1&amp;forums%5B%5D=all&amp;findthreadst=1&amp;numreplies=&amp;postdate=0&amp;pddir=1&amp;threadprefix%5B%5D=any&amp;sortby=lastpost&amp;sortordr=desc&amp;showresults=threads&amp;submit=Search" target="_blank" rel="noopener" class="mycode_url">action=do_search&amp;keywords=%22i.n.p.s%22</a><br />
<br />
give a 500 error.<br />
<br />
Then there are a bad system elsewhere : "i.n.p.s" to " " broke and don't show there are an issue with length ?]]></content:encoded>
		</item>
	</channel>
</rss>