MyBB Community Forums

Full Version: Nesting MyCode does not work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I am new to MyBB and I am currently interested in the MyCode function.
[b]test[b]test[/b][/b]
However, the above MyCode does not work right.
I am really dedicated to hear any solution to this. Thank you very much.
Note: You may find the question ridiculous with [b] MyCode. However, I think I do need the solution to this for my own custom MyCode (which I do not publish on here).
I think you have to do a plugin with a parse like the one existing for the lists or quotes (inc/class_parser.php).
Depending on the MyCode you want to create, you can only do text replacement, have a look on ABP Tabulation and Indentation