MyBB Community Forums

Full Version: How to add custom BBCode?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

How can i add a custom BB code to this:
[Image: 653de8a66d7387370ba2e5e416930a39.png]

After the qoute tags, bold tags and like that. I want to add [lock]SOMETHING[/lock] after that and that you like the other bbcodes just can press on the buttons.

what action is required from that lock BBcode - do you already have a plugin or html code replacement for its action ?
see My Insert Buttons
[lock] is for hiding content. I have a thanks system like this:

When you thanks the code will dissappear.

But now i want for my posters to just press the image in the editor and then [lock] [/lock] will appear. Just like