MyBB Community Forums

Full Version: Duplicate the code tag in inc/class_parser
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys,

I would like to duplicate the code tag in the inc/class_parser, so that i can do a custom formatting like adding headers, footers to the duplicated code tag which must work same like the default code tag (non-parsing the url links, non terminating long links, displaying the content as posted with spaces and all...)

we must be able to use the new custom code tag in editor
[custoncode] [/customcode] tags
Hey TheGodFather / Happy Holidays,

General answer:
Almost anything (any function) can be duplicated...
i.e. You could create:
[custoncode2] [/customcode2] tags
[custoncode3] [/customcode3] tags
...but the exact details are not always fun.

Specific answer:
Doesn't belong in "General Support" Toungue

It's been a long time since I worked with custom tags, so I'm not able to give the exact answer now.
Same to you seeker. Smile

Thanks for the reply.
If it doesnt belongs to this forum, please move it.