MyBB Community Forums
[How To?] How to add custom BBCode? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] How to add custom BBCode? (/thread-169239.html)



How to add custom BBCode? - nijode999 - 2015-04-03

Hello,

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.

Greetz,
Nijode999


RE: How to add custom BBCode? - .m. - 2015-04-03

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


RE: How to add custom BBCode? - nijode999 - 2015-04-03

[lock] is for hiding content. I have a thanks system like this:
http://mods.mybb.com/view/thank-you-mybb-system-rep-myalerts

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