MyBB Community Forums
testing a cloudflare blocked post - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community (https://community.mybb.com/forum-12.html)
+--- Forum: Testing (https://community.mybb.com/forum-13.html)
+--- Thread: testing a cloudflare blocked post (/thread-246125.html)



testing a cloudflare blocked post - HLFadmin - 2026-11-01

testing

MyBB 1.8.41 added code in inc/functions_post.php related to post icons.

	if($mybb->settings['allowposticons'] == 1)
	{
		switch($post_type)
		{
			case 2: // Private message
				$icon_cache = (array)$cache->read("posticons");
				break;
			default:
				global $forum;

				if($forum['allowpicons'] != 0)
				{
					$icon_cache = (array)$cache->read("posticons");
				}
		}
	}

unable to post a segment from error.log within code tags

error
	dateline1793516419/dateline
	datetime2026-11-01 07:00:19 UTC -0500/datetime
	scriptinc/functions_post.php/script
	line902/line
	type2/type
	friendly_typeWarning/friendly_type
	messageUndefined array key "allowpicons"/message
	back_trace#0  errorHandler->error() called at [/inc/class_error.php:157]
#1  errorHandler->error_callback() called at [/inc/functions_post.php:902]
#2  build_postbit() called at [/converse.php:864]
/back_trace
/error

I haven't looked into this thoroughly yet. I appreciate your response on this warning.
Thanks.

It appears keywords within < and > brackets trigger a cloudflare block.