MyBB Community Forums

Full Version: Enable [code][/code] Tags
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm not sure if this is a plugin or not, if it is I can't seem to find a download anywhere. I did think it was a feature that was built into MyBB as default but I can't seem to be able to find an option to turn it on.

I am a moderator of a forum that is used to share code blocks. I have been using [quote] to display code blocks but sometimes it can remove 'white spaces' which are important.

If anyone can assist me in getting [code] tags to work that would be awesome.

Thanks
this is a code
<?php
echo "hey";
?>


Use: [code] TEXT HERE [/ code]

(remove the space from "/"
(05-22-2015, 02:13 PM)Akay Wrote: [ -> ]
this is a code
<?php
echo "hey";
?>


Use: [code] TEXT HERE [/ code]

(remove the space from "/"

Thanks for the fast response, although I know how to use the [code] tags, I just can't use them.

I'm not sure if they have to be activated by an Admin first or if they just aren't working for reason.
Check the MyCodes in ACP > Configuration
In the ACP, go to:
Home » Board Settings » Clickable Smilies and BB Code

And you can check if Allow Code MyCodes is on or off

@Akay : [code] is not in MyCodes, this part is only for custom MyCodes
(05-22-2015, 03:01 PM)Crazycat Wrote: [ -> ]In the ACP, go to:
Home » Board Settings » Clickable Smilies and BB Code

And you can check if Allow Code MyCodes is on or off

@Akay : [code] is not in MyCodes, this part is only for custom MyCodes

Oh yeah, my bad hehe. Toungue