<?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 - Rejected]]></title>
		<link>https://community.mybb.com/</link>
		<description><![CDATA[MyBB Community Forums - https://community.mybb.com]]></description>
		<pubDate>Wed, 25 Nov 2026 08:09:00 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Skype field in profile not longer needed]]></title>
			<link>https://community.mybb.com/thread-243562.html</link>
			<pubDate>Fri, 06 Jun 2025 11:06:21 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=113559">bv64</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-243562.html</guid>
			<description><![CDATA[With the update to 1.8.39, the ICQ profile field was removed.<br />
<br />
As a user in the German forum noted, <span style="font-weight: bold;" class="mycode_b">Skype </span>is no longer available too, so that field could also be removed.<br />
<br />
I don't know if this Skype ID can now be used for Microsoft Teams, as I don't use it. So either remove it or rename it.]]></description>
			<content:encoded><![CDATA[With the update to 1.8.39, the ICQ profile field was removed.<br />
<br />
As a user in the German forum noted, <span style="font-weight: bold;" class="mycode_b">Skype </span>is no longer available too, so that field could also be removed.<br />
<br />
I don't know if this Skype ID can now be used for Microsoft Teams, as I don't use it. So either remove it or rename it.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Occurrences of `[video` are interpreted as video count even within code blocks.]]></title>
			<link>https://community.mybb.com/thread-241883.html</link>
			<pubDate>Fri, 27 Sep 2024 11:35:29 +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-241883.html</guid>
			<description><![CDATA[I was writing a post in this forum where I had several occurrences of <code class="inline-code">[video</code> within code blocks, and some occurrences outside, but with a custom video type not recognized in this forum. However, all of these occurrences counted to the count of videos inside a post, and I was told that there were 8 videos and only 1 video per post is allowed. However, none of the occurrences of <code class="inline-code">[ video</code> in my post actually render to a video. It works well in preview mode.<br />
<br />
Post in question: <a href="https://community.mybb.com/thread-231266-post-1396884.html#pid1396884" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-231266...pid1396884</a>]]></description>
			<content:encoded><![CDATA[I was writing a post in this forum where I had several occurrences of <code class="inline-code">[video</code> within code blocks, and some occurrences outside, but with a custom video type not recognized in this forum. However, all of these occurrences counted to the count of videos inside a post, and I was told that there were 8 videos and only 1 video per post is allowed. However, none of the occurrences of <code class="inline-code">[ video</code> in my post actually render to a video. It works well in preview mode.<br />
<br />
Post in question: <a href="https://community.mybb.com/thread-231266-post-1396884.html#pid1396884" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-231266...pid1396884</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[<> in Html in post]]></title>
			<link>https://community.mybb.com/thread-241879.html</link>
			<pubDate>Fri, 27 Sep 2024 01:52:23 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=148198">SELLECK87</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-241879.html</guid>
			<description><![CDATA[Sorry for the title but I really didn't know what to put. <br />
I noticed that in HTML-enabled forums there is a problem with &lt;&gt;.<br />
Whatever I type between the two &lt;&gt; is always understood as code and therefore the result is invisible posts. Here is an example<br />
<br />
If I write &lt;how are you&gt; it is invisible. If I write how are you it is visible. This applies to every word between the two &lt;&gt;.<br />
<br />
I share some screenshots to explain myself better<br />
<br />
I hope I have been clear and thank you for your attention<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=47269" target="_blank" title="">Schermata 2024-09-27 alle 03.50.37.png</a> (Size: 17.86 KB / Downloads: 137)
<!-- end: postbit_attachments_attachment --><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=47270" target="_blank" title="">Schermata 2024-09-27 alle 03.50.50.png</a> (Size: 106.53 KB / Downloads: 186)
<!-- end: postbit_attachments_attachment --><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=47271" target="_blank" title="">Schermata 2024-09-27 alle 03.51.16.png</a> (Size: 16.24 KB / Downloads: 180)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Sorry for the title but I really didn't know what to put. <br />
I noticed that in HTML-enabled forums there is a problem with &lt;&gt;.<br />
Whatever I type between the two &lt;&gt; is always understood as code and therefore the result is invisible posts. Here is an example<br />
<br />
If I write &lt;how are you&gt; it is invisible. If I write how are you it is visible. This applies to every word between the two &lt;&gt;.<br />
<br />
I share some screenshots to explain myself better<br />
<br />
I hope I have been clear and thank you for your attention<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=47269" target="_blank" title="">Schermata 2024-09-27 alle 03.50.37.png</a> (Size: 17.86 KB / Downloads: 137)
<!-- end: postbit_attachments_attachment --><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=47270" target="_blank" title="">Schermata 2024-09-27 alle 03.50.50.png</a> (Size: 106.53 KB / Downloads: 186)
<!-- end: postbit_attachments_attachment --><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=47271" target="_blank" title="">Schermata 2024-09-27 alle 03.51.16.png</a> (Size: 16.24 KB / Downloads: 180)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Issue Click and hold to edit]]></title>
			<link>https://community.mybb.com/thread-241519.html</link>
			<pubDate>Tue, 30 Jul 2024 14:50:58 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=154243">lovesgigi</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-241519.html</guid>
			<description><![CDATA[An error occurred when I inserted English characters into Chinese characters.<br />
<br />
Issue Video:<br />
<a href="https://drive.google.com/file/d/1e9iRw-g4RJJSIoptnKDgK1ZO0wNDUZ9q/view?usp=sharing" target="_blank" rel="noopener" class="mycode_url">https://drive.google.com/file/d/1e9iRw-g...sp=sharing</a>]]></description>
			<content:encoded><![CDATA[An error occurred when I inserted English characters into Chinese characters.<br />
<br />
Issue Video:<br />
<a href="https://drive.google.com/file/d/1e9iRw-g4RJJSIoptnKDgK1ZO0wNDUZ9q/view?usp=sharing" target="_blank" rel="noopener" class="mycode_url">https://drive.google.com/file/d/1e9iRw-g...sp=sharing</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[solved] Warning [2] Undefined variable $comma - Line: 1 - File: index.php(139)]]></title>
			<link>https://community.mybb.com/thread-241366.html</link>
			<pubDate>Sun, 07 Jul 2024 16:48:12 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=84281">postcd</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-241366.html</guid>
			<description><![CDATA[MyBB 1.8.38 + PHP 8.3.7 + BootBB style shows on home page (domain.tld/):<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="font-weight: bold;" class="mycode_b">Warning</span> [2] Undefined variable &#36;comma - Line: 1 - File: index.php(139) : eval()'d code PHP 8.3.7 (Linux)<br />
<br />
/inc/class_error.php<br />
line 153<br />
function errorHandler-&gt;error<br />
<br />
/index.php(139) : eval()'d code<br />
line 1<br />
function errorHandler-&gt;error_callback<br />
<br />
/index.php <br />
line 139<br />
function eval</blockquote>
<br />
/inc/class_error.php 153:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>function error_callback(&#36;type, &#36;message, &#36;file=null, &#36;line=0)<br />
{<br />
<span style="font-weight: bold;" class="mycode_b">return &#36;this-&gt;error(&#36;type, &#36;message, &#36;file, &#36;line);</span><br />
}</blockquote>
<br />
/index.php 139:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>// Properly format the username and assign the template.<br />
 &#36;user['username'] = format_name(htmlspecialchars_uni(&#36;user['username']), &#36;user['usergroup'], &#36;user['displaygroup']);<br />
&#36;user['profilelink'] = build_profile_link(&#36;user['username'], &#36;user['uid']);<br />
<span style="font-weight: bold;" class="mycode_b">eval('&#36;onlinemembers[] = "'.&#36;templates-&gt;get('index_whosonline_memberbit', 1, 0).'";');</span></blockquote>
<br />
I have made sure to re-upload both mentioned files from original mybb_1838 package, yet it does not help. I have latest <a href="https://community.mybb.com/mods.php?action=view&amp;pid=1582" target="_blank" rel="noopener" class="mycode_url">BootBB</a> style (updated 37 days ago) by @panayot . My board has been recently updated from version 1.6. What to try please?]]></description>
			<content:encoded><![CDATA[MyBB 1.8.38 + PHP 8.3.7 + BootBB style shows on home page (domain.tld/):<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite><span style="font-weight: bold;" class="mycode_b">Warning</span> [2] Undefined variable &#36;comma - Line: 1 - File: index.php(139) : eval()'d code PHP 8.3.7 (Linux)<br />
<br />
/inc/class_error.php<br />
line 153<br />
function errorHandler-&gt;error<br />
<br />
/index.php(139) : eval()'d code<br />
line 1<br />
function errorHandler-&gt;error_callback<br />
<br />
/index.php <br />
line 139<br />
function eval</blockquote>
<br />
/inc/class_error.php 153:<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>function error_callback(&#36;type, &#36;message, &#36;file=null, &#36;line=0)<br />
{<br />
<span style="font-weight: bold;" class="mycode_b">return &#36;this-&gt;error(&#36;type, &#36;message, &#36;file, &#36;line);</span><br />
}</blockquote>
<br />
/index.php 139:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>// Properly format the username and assign the template.<br />
 &#36;user['username'] = format_name(htmlspecialchars_uni(&#36;user['username']), &#36;user['usergroup'], &#36;user['displaygroup']);<br />
&#36;user['profilelink'] = build_profile_link(&#36;user['username'], &#36;user['uid']);<br />
<span style="font-weight: bold;" class="mycode_b">eval('&#36;onlinemembers[] = "'.&#36;templates-&gt;get('index_whosonline_memberbit', 1, 0).'";');</span></blockquote>
<br />
I have made sure to re-upload both mentioned files from original mybb_1838 package, yet it does not help. I have latest <a href="https://community.mybb.com/mods.php?action=view&amp;pid=1582" target="_blank" rel="noopener" class="mycode_url">BootBB</a> style (updated 37 days ago) by @panayot . My board has been recently updated from version 1.6. What to try please?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PHP Fatal error:  Uncaught Error: Object of class captcha could not be converted...]]></title>
			<link>https://community.mybb.com/thread-241364.html</link>
			<pubDate>Sun, 07 Jul 2024 11:24:06 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=84281">postcd</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-241364.html</guid>
			<description><![CDATA[<pre class="block-code line-numbers language-none"><code class="language-none">[STDERR] PHP Fatal error:  Uncaught Error: Object of class captcha could not be converted to string in /home/me/domains/myanonymizedsite.com/public_html/member.php(1241) : eval()'d code:44\nStack trace:\n#0 /home/me/domains/myanonymizedsite.com/public_html/member.php(1241): eval()\n#1 {main}\n  thrown in /home/me/domains/myanonymizedsite.com/public_html/member.php(1241) : eval()'d code on line 44\n</code></pre><br />
these errors appear on newly upgraded 1.6 to 1.8.38 when i confirm that i agree the rules to register on the forum and i expect to be taken to a registration form. I end up on a blank page <a href="http://myanonymizedsite.com/member.php" target="_blank" rel="noopener" class="mycode_url">http://myanonymizedsite.com/member.php</a> and receiving quoted error in the error_log file.<br />
While the dev. console showing:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">POST
http://myanonymizedsite.com/member.php
Status
500
Internal Server Error
VersionHTTP/1.1
Transferred1.12 kB (0 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest</code></pre><br />
When i redirect to a HTTPS: some content faisl loading/is blocked as a mxied content, despite my .htaccess file has no CSP policy and no file contains "Content-Security-Policy".<br />
<br />
full file: <a href="https://bin.disroot.org/?cc817302b3d750b6#AqQCD92JsjXfwHsQViMpWYkDyhrFJSQZ87ufb4qQuqkt" target="_blank" rel="noopener" class="mycode_url">member.php</a><br />
<br />
I am using older template gZe-Style-Minecraft. My idea was to reupload member.php file from original package (not helped, is the same), rename captcha related plugin, but i already have all related renamed to "*.php_", disabling all plugins via admin panel, does not help either.<br />
<br />
UPDATE: page loaded when i have disabled any of the captcha methods inside forum settings, General configuration: "CAPTCHA Images for Registration &amp; Posting". I had default mybb captcha and hcaptcha, neither one worked.]]></description>
			<content:encoded><![CDATA[<pre class="block-code line-numbers language-none"><code class="language-none">[STDERR] PHP Fatal error:  Uncaught Error: Object of class captcha could not be converted to string in /home/me/domains/myanonymizedsite.com/public_html/member.php(1241) : eval()'d code:44\nStack trace:\n#0 /home/me/domains/myanonymizedsite.com/public_html/member.php(1241): eval()\n#1 {main}\n  thrown in /home/me/domains/myanonymizedsite.com/public_html/member.php(1241) : eval()'d code on line 44\n</code></pre><br />
these errors appear on newly upgraded 1.6 to 1.8.38 when i confirm that i agree the rules to register on the forum and i expect to be taken to a registration form. I end up on a blank page <a href="http://myanonymizedsite.com/member.php" target="_blank" rel="noopener" class="mycode_url">http://myanonymizedsite.com/member.php</a> and receiving quoted error in the error_log file.<br />
While the dev. console showing:<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">POST
http://myanonymizedsite.com/member.php
Status
500
Internal Server Error
VersionHTTP/1.1
Transferred1.12 kB (0 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest</code></pre><br />
When i redirect to a HTTPS: some content faisl loading/is blocked as a mxied content, despite my .htaccess file has no CSP policy and no file contains "Content-Security-Policy".<br />
<br />
full file: <a href="https://bin.disroot.org/?cc817302b3d750b6#AqQCD92JsjXfwHsQViMpWYkDyhrFJSQZ87ufb4qQuqkt" target="_blank" rel="noopener" class="mycode_url">member.php</a><br />
<br />
I am using older template gZe-Style-Minecraft. My idea was to reupload member.php file from original package (not helped, is the same), rename captcha related plugin, but i already have all related renamed to "*.php_", disabling all plugins via admin panel, does not help either.<br />
<br />
UPDATE: page loaded when i have disabled any of the captcha methods inside forum settings, General configuration: "CAPTCHA Images for Registration &amp; Posting". I had default mybb captcha and hcaptcha, neither one worked.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Php 8.x problem]]></title>
			<link>https://community.mybb.com/thread-238819.html</link>
			<pubDate>Wed, 19 Jul 2023 19:57:49 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=143648">Snl</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-238819.html</guid>
			<description><![CDATA[Hello<br />
<br />
in mybb version 1.3.5<br />
<br />
Php 8.0 8.1 and 8.2 white page is coming in the upgrade, the forum does not open, what is the reason?<br />
<br />
Works fine in php 7.4]]></description>
			<content:encoded><![CDATA[Hello<br />
<br />
in mybb version 1.3.5<br />
<br />
Php 8.0 8.1 and 8.2 white page is coming in the upgrade, the forum does not open, what is the reason?<br />
<br />
Works fine in php 7.4]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[1.8.33 upgrade and PHP 8 warnings]]></title>
			<link>https://community.mybb.com/thread-237617.html</link>
			<pubDate>Sun, 05 Feb 2023 02:16:45 +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-237617.html</guid>
			<description><![CDATA[I have successfully upgraded production forum to 1.8.33. Using PHP 7.4 without problems.<br />
After cloning production server for testing purposes using PHP 8.0.27, I am going through and finding warnings. Most occur in plugins.<br />
<br />
If I create a post containing a youtube video with a url in the form of <a href="https://youtu.be/YfdLh0MHqKw" target="_blank" rel="noopener" class="mycode_url">https://youtu.be/YfdLh0MHqKw</a>, I get the following messages. <br />
Warning [2] Undefined array key "fragment" - Line: 1494 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key "query" - Line: 1505 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key 1 - Line: 1510 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key 0 - Line: 1587 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key "v" - Line: 1591 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
<br />
I note that line 1485 of inc/class_parser.php uses a native PHP function in the function mycode_parse_video() starting line 1470.<br />
&#36;parsed_url = @parse_url(urldecode(&#36;url));<br />
<br />
The url does not contain a fragment in line 1494, or a query in line 1505, hence there are no &#36;input keys in line 1510, unable to test the empty fragment array in 1587, as well as testing the &#36;input array in 1591.<br />
<br />
First, what purpose does line 1480 have? I think it is superfluous. Defined but not used.<br />
1480 &#36;bbdomain = parse_url(&#36;mybb-&gt;settings['bburl'], PHP_URL_HOST);<br />
<br />
I made several modifications to the mycode_parse_video() function, although unable to post code in its entirety. Community only permits a single video per post, and cannot distinguish examples in comments.<br />
<br />
Now, all three variations display.<br />
youtu[dot]be/YfdLh0MHqKw<br />
www[dot]youtube[dot]com/watch?v=YfdLh0MHqKw<br />
www[dot]youtube[dot]com/watch#!v=YfdLh0MHqKw<br />
<br />
I've had to obfuscate URLs used as explanation, including the ones used as examples in the code comments.<br />
<hr class="mycode_hr" />
lines altered as below. By adding three lines, last two line numbers are pushed down. <br />
<pre class="block-code line-numbers language-none"><code class="language-none">1494 		if(array_key_exists('fragment', $parsed_url))	//core edit fixes error if no 'fragment' in $parsed_url
1499		if(array_key_exists('query', $parsed_url))	//core edit added to fix if no 'query' in $parsed_url
1500		{						//core edit added for if statement
1516		}						//core edit added for if statement
1590				if(isset($fragments[0]))	//core edit to fix when $fragments is empty
1594				elseif(isset($input['v']))	// core edit to fix when $input is empty
</code></pre><hr class="mycode_hr" />
Continuing with checking the warnings. I intend all that I find to be documented in this thread.<br />
<br />
If you are using a plugin which relies on PluginLibrary, you'll need to upgrade to an updated version.<br />
Thanks to SvePu. <a href="https://community.mybb.com/thread-237593-post-1383414.html#pid1383414" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-237593...pid1383414</a><br />
<hr class="mycode_hr" />
When searching for Today's Posts<br />
Warning [2] Undefined array key "lastread" - Line: 476 - File: search.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined property: MyLanguage::&#36;pages - Line: 2 - File: search.php(567) : eval()'d code PHP 8.0.27 (Linux)<br />
<br />
The first is fixed in line 476 of search.php<br />
Change <br />
<pre class="block-code line-numbers language-none"><code class="language-none">				if($thread['lastread'])</code></pre> to <br />
<span style="text-decoration: line-through;" class="mycode_s"><pre class="block-code line-numbers language-none"><code class="language-none">				if(isset($thread['lastread']))</code></pre></span><br />
<br />
[edited for correct logic]<br />
<pre class="block-code line-numbers language-none"><code class="language-none">				if(isset($thread['lastread']) &amp;&amp; $thread['lastread'])</code></pre><br />
<br />
The second is apparently fixed by editing template forumdisplay_thread_multipage from <br />
<pre class="block-code line-numbers language-none"><code class="language-none"> &lt;span class=&quot;smalltext&quot;&gt;({$lang-&gt;pages} {$threadpages}{$morelink})&lt;/span&gt;</code></pre> to <br />
<pre class="block-code line-numbers language-none"><code class="language-none"> &lt;span class=&quot;smalltext&quot;&gt;({$threadpages}{$morelink})&lt;/span&gt;</code></pre><br />
or by adding an element to search.lang.php <br />
<pre class="block-code line-numbers language-none"><code class="language-none">$l['pages'] = &quot;Pages&quot;;</code></pre><br />
I stuck it in the blank line space at line 10 to maintain consistency with other MultiPage formats.<br />
<hr class="mycode_hr" />
If you are using the absolutetime plugin by doylecc, which is fantastic already, you'll need to modify it so that it does not generate a warning under PHP 8.0 in ACP / Plugins page. If present, but not active, warning is given for undefined array key 'absolutetime'<br />
<br />
Change<br />
<pre class="block-code line-numbers language-none"><code class="language-none">    if (absolutetime_is_installed()
        &amp;&amp; is_array($plugins_cache)
        &amp;&amp; is_array($plugins_cache['active'])
        &amp;&amp; $plugins_cache['active']['absolutetime'] // this line errors
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '&lt;br /&gt;&lt;span style=&quot;color:red; font-size:1.2em;&quot;&gt;'
            .$lang-&gt;at_warn_core_edit.'&lt;/span&gt;';
        }
</code></pre><br />
to<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">	if (empty($plugins_cache) || !is_array($plugins_cache)) {
		$plugins_cache = $cache-&gt;read('plugins');
	}
	$active_plugins = $plugins_cache['active'];

    if (absolutetime_is_installed()
        &amp;&amp; is_array($plugins_cache)
        &amp;&amp; is_array($plugins_cache['active'])
        &amp;&amp; !empty($active_plugins['absolutetime'])
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '&lt;br /&gt;&lt;span style=&quot;color:red; font-size:1.2em;&quot;&gt;'
            .$lang-&gt;at_warn_core_edit.'&lt;/span&gt;';
        }
</code></pre>]]></description>
			<content:encoded><![CDATA[I have successfully upgraded production forum to 1.8.33. Using PHP 7.4 without problems.<br />
After cloning production server for testing purposes using PHP 8.0.27, I am going through and finding warnings. Most occur in plugins.<br />
<br />
If I create a post containing a youtube video with a url in the form of <a href="https://youtu.be/YfdLh0MHqKw" target="_blank" rel="noopener" class="mycode_url">https://youtu.be/YfdLh0MHqKw</a>, I get the following messages. <br />
Warning [2] Undefined array key "fragment" - Line: 1494 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key "query" - Line: 1505 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key 1 - Line: 1510 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key 0 - Line: 1587 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined array key "v" - Line: 1591 - File: inc/class_parser.php PHP 8.0.27 (Linux)<br />
<br />
I note that line 1485 of inc/class_parser.php uses a native PHP function in the function mycode_parse_video() starting line 1470.<br />
&#36;parsed_url = @parse_url(urldecode(&#36;url));<br />
<br />
The url does not contain a fragment in line 1494, or a query in line 1505, hence there are no &#36;input keys in line 1510, unable to test the empty fragment array in 1587, as well as testing the &#36;input array in 1591.<br />
<br />
First, what purpose does line 1480 have? I think it is superfluous. Defined but not used.<br />
1480 &#36;bbdomain = parse_url(&#36;mybb-&gt;settings['bburl'], PHP_URL_HOST);<br />
<br />
I made several modifications to the mycode_parse_video() function, although unable to post code in its entirety. Community only permits a single video per post, and cannot distinguish examples in comments.<br />
<br />
Now, all three variations display.<br />
youtu[dot]be/YfdLh0MHqKw<br />
www[dot]youtube[dot]com/watch?v=YfdLh0MHqKw<br />
www[dot]youtube[dot]com/watch#!v=YfdLh0MHqKw<br />
<br />
I've had to obfuscate URLs used as explanation, including the ones used as examples in the code comments.<br />
<hr class="mycode_hr" />
lines altered as below. By adding three lines, last two line numbers are pushed down. <br />
<pre class="block-code line-numbers language-none"><code class="language-none">1494 		if(array_key_exists('fragment', $parsed_url))	//core edit fixes error if no 'fragment' in $parsed_url
1499		if(array_key_exists('query', $parsed_url))	//core edit added to fix if no 'query' in $parsed_url
1500		{						//core edit added for if statement
1516		}						//core edit added for if statement
1590				if(isset($fragments[0]))	//core edit to fix when $fragments is empty
1594				elseif(isset($input['v']))	// core edit to fix when $input is empty
</code></pre><hr class="mycode_hr" />
Continuing with checking the warnings. I intend all that I find to be documented in this thread.<br />
<br />
If you are using a plugin which relies on PluginLibrary, you'll need to upgrade to an updated version.<br />
Thanks to SvePu. <a href="https://community.mybb.com/thread-237593-post-1383414.html#pid1383414" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/thread-237593...pid1383414</a><br />
<hr class="mycode_hr" />
When searching for Today's Posts<br />
Warning [2] Undefined array key "lastread" - Line: 476 - File: search.php PHP 8.0.27 (Linux)<br />
Warning [2] Undefined property: MyLanguage::&#36;pages - Line: 2 - File: search.php(567) : eval()'d code PHP 8.0.27 (Linux)<br />
<br />
The first is fixed in line 476 of search.php<br />
Change <br />
<pre class="block-code line-numbers language-none"><code class="language-none">				if($thread['lastread'])</code></pre> to <br />
<span style="text-decoration: line-through;" class="mycode_s"><pre class="block-code line-numbers language-none"><code class="language-none">				if(isset($thread['lastread']))</code></pre></span><br />
<br />
[edited for correct logic]<br />
<pre class="block-code line-numbers language-none"><code class="language-none">				if(isset($thread['lastread']) &amp;&amp; $thread['lastread'])</code></pre><br />
<br />
The second is apparently fixed by editing template forumdisplay_thread_multipage from <br />
<pre class="block-code line-numbers language-none"><code class="language-none"> &lt;span class=&quot;smalltext&quot;&gt;({$lang-&gt;pages} {$threadpages}{$morelink})&lt;/span&gt;</code></pre> to <br />
<pre class="block-code line-numbers language-none"><code class="language-none"> &lt;span class=&quot;smalltext&quot;&gt;({$threadpages}{$morelink})&lt;/span&gt;</code></pre><br />
or by adding an element to search.lang.php <br />
<pre class="block-code line-numbers language-none"><code class="language-none">$l['pages'] = &quot;Pages&quot;;</code></pre><br />
I stuck it in the blank line space at line 10 to maintain consistency with other MultiPage formats.<br />
<hr class="mycode_hr" />
If you are using the absolutetime plugin by doylecc, which is fantastic already, you'll need to modify it so that it does not generate a warning under PHP 8.0 in ACP / Plugins page. If present, but not active, warning is given for undefined array key 'absolutetime'<br />
<br />
Change<br />
<pre class="block-code line-numbers language-none"><code class="language-none">    if (absolutetime_is_installed()
        &amp;&amp; is_array($plugins_cache)
        &amp;&amp; is_array($plugins_cache['active'])
        &amp;&amp; $plugins_cache['active']['absolutetime'] // this line errors
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '&lt;br /&gt;&lt;span style=&quot;color:red; font-size:1.2em;&quot;&gt;'
            .$lang-&gt;at_warn_core_edit.'&lt;/span&gt;';
        }
</code></pre><br />
to<br />
<br />
<pre class="block-code line-numbers language-none"><code class="language-none">	if (empty($plugins_cache) || !is_array($plugins_cache)) {
		$plugins_cache = $cache-&gt;read('plugins');
	}
	$active_plugins = $plugins_cache['active'];

    if (absolutetime_is_installed()
        &amp;&amp; is_array($plugins_cache)
        &amp;&amp; is_array($plugins_cache['active'])
        &amp;&amp; !empty($active_plugins['absolutetime'])
    ) {
        if (absolutetime_apply() !== true) {
            $absolutetime_info['description'] .= '&lt;br /&gt;&lt;span style=&quot;color:red; font-size:1.2em;&quot;&gt;'
            .$lang-&gt;at_warn_core_edit.'&lt;/span&gt;';
        }
</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[who was online today trouble]]></title>
			<link>https://community.mybb.com/thread-235753.html</link>
			<pubDate>Sun, 29 May 2022 15:46:05 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=6880">Crazycat</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-235753.html</guid>
			<description><![CDATA[I already notice this trouble (MyBB 1.8.30 but was existing with others versions): when going on online.php, I see I'm the unique real user (others are bots or guest) but in online.php?action=today, I see several users which are online at the same time than me.<br />
<br />
The users were well online in the last 24h but not actually...<br />
<br />
And in the mybb_users table, I see that their lastactive field is corresponding to the online today display, so I think there is a trouble somewhere]]></description>
			<content:encoded><![CDATA[I already notice this trouble (MyBB 1.8.30 but was existing with others versions): when going on online.php, I see I'm the unique real user (others are bots or guest) but in online.php?action=today, I see several users which are online at the same time than me.<br />
<br />
The users were well online in the last 24h but not actually...<br />
<br />
And in the mybb_users table, I see that their lastactive field is corresponding to the online today display, so I think there is a trouble somewhere]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[php 8 related warnings noticed via attached stylesheets say added via plugins]]></title>
			<link>https://community.mybb.com/thread-235719.html</link>
			<pubDate>Sun, 22 May 2022 17:03:53 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=145198">ic_myXMB</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-235719.html</guid>
			<description><![CDATA[subject in relation to core file: admin/modules/style/themes.php<br />
<br />
just noticed on php 8.0.8 warnings / errors whenever using a plugin that adds a stylesheet(s) for example say globally attached or what not and while I did not want to take the time to dig into it as free time is limited, I did find that quickly simply modifying these lines as follows made such go away quickly as such was annoying one slightly, hence why one figured such should be mentioned just in case this has not yet been noticed and reported by anyone as of yet as this issue appears to occur with at least a few plugins so far tried that add / utilize stylesheets attached globally and or what not.<br />
<br />
<br />
1710  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1833  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1849 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1980    <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2018  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2184 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2392 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre>]]></description>
			<content:encoded><![CDATA[subject in relation to core file: admin/modules/style/themes.php<br />
<br />
just noticed on php 8.0.8 warnings / errors whenever using a plugin that adds a stylesheet(s) for example say globally attached or what not and while I did not want to take the time to dig into it as free time is limited, I did find that quickly simply modifying these lines as follows made such go away quickly as such was annoying one slightly, hence why one figured such should be mentioned just in case this has not yet been noticed and reported by anyone as of yet as this issue appears to occur with at least a few plugins so far tried that add / utilize stylesheets attached globally and or what not.<br />
<br />
<br />
1710  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1833  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1849 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
1980    <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2018  <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2184 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre><br />
2392 <br />
<pre class="block-code line-numbers language-none"><code class="language-none">I am sure you get the point, line # was mentioned as a hint to related warning</code></pre>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Searching a number 100 in search.php is coming with 500 error in mybb .]]></title>
			<link>https://community.mybb.com/thread-234566.html</link>
			<pubDate>Tue, 28 Dec 2021 02:28: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-234566.html</guid>
			<description><![CDATA[In <a href="https://community.mybb.com/search.php" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/search.php</a><br />
i just searched 100 and what i got is 500 error page .]]></description>
			<content:encoded><![CDATA[In <a href="https://community.mybb.com/search.php" target="_blank" rel="noopener" class="mycode_url">https://community.mybb.com/search.php</a><br />
i just searched 100 and what i got is 500 error page .]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[default user avatar variable does not work]]></title>
			<link>https://community.mybb.com/thread-234348.html</link>
			<pubDate>Sun, 28 Nov 2021 16:30:31 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=105946">Poftorek</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-234348.html</guid>
			<description><![CDATA[Hello, is it possible to add possibility to show default user avatar by using <code class="inline-code">{$mybb-&gt;user['avatar']}</code>? <br />
Now, if we have this variable in our header of forum next to username if user didn't change his avatar (has default avatar) the variable is empty and avatar isn't displayed. <br />
However, its default avatar is displayed correctly elsewhere in the forum.<br />
Therefore, you need to use an additional plugin, e.g. <a href="https://mods.mybb.com/view/default-avatar" target="_blank" rel="noopener" class="mycode_url">https://mods.mybb.com/view/default-avatar</a> to show correct avatar in header.<br />
Of course, if the avatar has been set, it will be displayed correctly.<br />
<br />
<br />
I think this is a big problem for forum administrators and it should be simplified whenever possible.  <img src="https://community.mybb.com/images/smilies/angel.gif" alt="Angel" title="Angel" class="smilie smilie_30" />]]></description>
			<content:encoded><![CDATA[Hello, is it possible to add possibility to show default user avatar by using <code class="inline-code">{$mybb-&gt;user['avatar']}</code>? <br />
Now, if we have this variable in our header of forum next to username if user didn't change his avatar (has default avatar) the variable is empty and avatar isn't displayed. <br />
However, its default avatar is displayed correctly elsewhere in the forum.<br />
Therefore, you need to use an additional plugin, e.g. <a href="https://mods.mybb.com/view/default-avatar" target="_blank" rel="noopener" class="mycode_url">https://mods.mybb.com/view/default-avatar</a> to show correct avatar in header.<br />
Of course, if the avatar has been set, it will be displayed correctly.<br />
<br />
<br />
I think this is a big problem for forum administrators and it should be simplified whenever possible.  <img src="https://community.mybb.com/images/smilies/angel.gif" alt="Angel" title="Angel" class="smilie smilie_30" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Group permissions not applied when forum is custom]]></title>
			<link>https://community.mybb.com/thread-234280.html</link>
			<pubDate>Fri, 19 Nov 2021 14:43:07 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=6880">Crazycat</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-234280.html</guid>
			<description><![CDATA[Hi there,<br />
<br />
Due to spammers posts, I decided to force the registered group to have its new posts and threads to be moderate. But I've modified some permissions on forums (to remove the hability of posting polls to everyone), and the changements I did on the group are not applied on the forum, unless I remove the forum permissions and re-apply them.<br />
<br />
I think I already noticed and mentionned this kind of trouble with the group and forum custom permission.]]></description>
			<content:encoded><![CDATA[Hi there,<br />
<br />
Due to spammers posts, I decided to force the registered group to have its new posts and threads to be moderate. But I've modified some permissions on forums (to remove the hability of posting polls to everyone), and the changements I did on the group are not applied on the forum, unless I remove the forum permissions and re-apply them.<br />
<br />
I think I already noticed and mentionned this kind of trouble with the group and forum custom permission.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Diff Report shows the diffs between edited template and the original as blank if same]]></title>
			<link>https://community.mybb.com/thread-234168.html</link>
			<pubDate>Tue, 02 Nov 2021 10:28:34 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=129519">noyle</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-234168.html</guid>
			<description><![CDATA[At AdminCP &gt; Template Sets &gt; Diff Report, the Diff Report shows the diffs between outdated edited template and the original as total blank if the edited template and the original are exactly the same.<br />
In such circumstance, as I understand, the Template Difference Analysis should display the template content in white background color without any red or green backgrounded texts.<br />
<br />
<br />
Anyway, it's not fatal but may confuse users.]]></description>
			<content:encoded><![CDATA[At AdminCP &gt; Template Sets &gt; Diff Report, the Diff Report shows the diffs between outdated edited template and the original as total blank if the edited template and the original are exactly the same.<br />
In such circumstance, as I understand, the Template Difference Analysis should display the template content in white background color without any red or green backgrounded texts.<br />
<br />
<br />
Anyway, it's not fatal but may confuse users.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[500 error seaching]]></title>
			<link>https://community.mybb.com/thread-234154.html</link>
			<pubDate>Sun, 31 Oct 2021 14:16:20 +0000</pubDate>
			<dc:creator><![CDATA[<a href="https://community.mybb.com/member.php?action=profile&uid=130442">nixer55</a>]]></dc:creator>
			<guid isPermaLink="false">https://community.mybb.com/thread-234154.html</guid>
			<description><![CDATA[Looking for a 1828 post I read earlier on this site.  Put "1.8.28"  as keyword (no quotes). Get 500 error - repeatable.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Edit</span>:  Can't reproduce this error on my live nor test board.  1828 for both.]]></description>
			<content:encoded><![CDATA[Looking for a 1828 post I read earlier on this site.  Put "1.8.28"  as keyword (no quotes). Get 500 error - repeatable.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Edit</span>:  Can't reproduce this error on my live nor test board.  1828 for both.]]></content:encoded>
		</item>
	</channel>
</rss>