# Customize BBcodes from admin panel

**URL:** https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588
**Category:** Feature
**Created:** [February 23, 2015, 10:16pm UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588 "2015-02-23T22:16:30Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Maestra\_Powers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maestra_powers/32/37362_2.png) [@Maestra\_Powers](https://meta.discourse.org/u/Maestra_Powers)
#### Post date: [February 23, 2015, 10:16pm UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/1 "2015-02-23T22:16:31Z")

</div>

Continuing the discussion from [Add new BBcode button](https://meta.discourse.org/t/add-new-bbcode-button/25586/2):

> [@sigurdur](#):
>
> Add it via JS.
> 
> It is the _RIGHT_ way of doing this ..
> 
> Discourse frontend is written in [EmberJS](http://emberjs.com/).
> 
> The best way you could possibly do this is by creating a plugin that adds this code, but there is no howto for creating a plugin ..

This plugin must be created, fellas! It’s not right that users can’t customize BBcodes from admin panel. For example, I want to add new BBcodes - strikeout text, underlined text and also second spoiler (old fashion) for hiding very long texts. The only way I can add them now is via JS.

* * *

ADD: Also videos from [vk.com](http://vk.com) doesn’t embeds automatically. So I would like to add a BBcode for them.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 24, 2015, 12:21am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/2 "2015-02-24T00:21:31Z")

</div>

> [@Maestra\_Powers](#):
>
> I want to add new BBcodes - strikeout text, underlined text

~~strikeout~~  
underline

underline  
strikeout

```
<s>strikeout</s>
<u>underline</u>

[u]underline[/u]
[s]strikeout[/s]

```

This already works? So what’s the problem again?

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [February 24, 2015, 12:33am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/3 "2015-02-24T00:33:14Z")

</div>

> [@codinghorror](#):
>
> So what’s the problem again?

I believe it’s about adding other “bbcodes” i.e.

> [@"Hide" shortcode](https://meta.discourse.org/t/hide-shortcode/25585):
>
> On my forum there’s a topic where guys make giveaways. And post authors decide themselves to who they want to giveaway their stuff. For this we have [hide]text[/hide] shortcode now (we’re on phpBB currently, gonna migrate soon) that hides text from guests by default. But also authors can specify how many posts users should have to see their hidden text. Like this: [hide=200]text[/hide]. It’s very handy for givaways and it would be cool to have this functional in Discourse. Otherwise I’ll have to…

But not wanting to write a Dialect plugin, would prefer an Admin UI that would do it.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [February 24, 2015, 12:38am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/4 "2015-02-24T00:38:00Z")

</div>

No, we have no plans to allow custom BBCode, that doesn’t mean anything.

> [@Maestra\_Powers](#):
>
> videos from [vk.com](http://vk.com) doesn’t embeds automatically

Did you test it at [Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](http://iframely.com/debug) ? Does it support OpenGraph or oEmbed?

---

<div class="post-metadata">

### Author: ![Maestra\_Powers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maestra_powers/32/37362_2.png) [@Maestra\_Powers](https://meta.discourse.org/u/Maestra_Powers)
#### Post date: [February 24, 2015, 7:53am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/5 "2015-02-24T07:53:38Z")

</div>

> [@codinghorror](#):
>
> Did you test it at [Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](http://iframely.com/debug) ? Does it support OpenGraph or oEmbed?

It shows “403 - error - Requested page error: 403” so I don’t think so.

testy test

Holy anabolics! Why didn’t you add buttons for those codes too? I had no idea they were there.

* * *
testy test And centered text doesn't work.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [February 24, 2015, 10:34am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/6 "2015-02-24T10:34:25Z")

</div>

BBCode doesn’t work very well with Markdown. That said, we did build a [BBCode plugin](https://github.com/discourse/vbulletin-bbcode) that enable most of the BBCode available in vBulletin.

---

<div class="post-metadata">

### Author: ![Maestra\_Powers](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maestra_powers/32/37362_2.png) [@Maestra\_Powers](https://meta.discourse.org/u/Maestra_Powers)
#### Post date: [February 24, 2015, 10:38am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/7 "2015-02-24T10:38:30Z")

</div>

I like Markdown method better, but unfortunately it have lack of functionality right now. Thanks for the plugin, gonna try it out.

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [December 4, 2025, 11:35am UTC](https://meta.discourse.org/t/customize-bbcodes-from-admin-panel/25588/8 "2025-12-04T11:35:42Z")

</div>


