Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] MyConversations: a conversation plugin for MyBB
#55
This feels like a regression.

The correct code may be something like:
		switch($post_type)
		{
			case 2: // Private message
				$icon_cache = (array)$cache->read("posticons");
				break;
			default:
				global $forum;

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

But I'm unsure why this plugin would be using a "post" type instead of a "private message" type post rendering.

Laird may be more suited to review this.

Regards.
Send me a DM or PM if you want to sponsor any update or addition to my plugins.

[Image: signature.png]

Discord omar.gonzalez (Omar G.#6117); Telegram at @omarugc;
Reply


Messages In This Thread
RE: MyConversations: a conversation plugin for MyBB - by Omar G. - 2026-11-04, 08:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)