MyBB Community Forums

Full Version: contents are hidden using [code][/code]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
just noticed it today
posts with [ code]  [/code]have their content hidden
any idea how to fix this?

here is a video explanation

https://www.youtube.com/watch?v=4bNI-sYhc_s 

test thread

https://blackmarke7.com/thread-1584-post...ml#pid7822
They are not hidden, they are not displayed.
Probably you didn't update the mycode_code template and it makes a parser error
(2022-04-11, 01:03 PM)Crazycat Wrote: [ -> ]They are not hidden, they are not displayed.
Probably you didn't update the mycode_code template and it makes a parser error

here is mycode_code template

<div class="codeblock"><div class="title">{$lang->code}</div><div class="body" dir="ltr"><code>{$code}</code></div></div><br />

it's the same as the default theme
Turn on the error login and check the logs.
Haven't you a personnal code MyCode ? Or try disabling plugins to check if it not one of them which provocs an error
(2022-04-11, 01:45 PM)Crazycat Wrote: [ -> ]Turn on the error login and check the logs.
Haven't you a personnal code MyCode ? Or try disabling plugins to check if it not one of them which provocs an error

no errors in the logs regarding current issue....
guess i have to deactivate each plugin one by one to test...
First disable all from ACP » Home » Board Settings » General Configuration to see if a plugin is faulty.
If yes, test each plugin