Knowledge Base Archives:

FAQs

Level: Advanced

Why quoted content shows HTML tags?

In bbPress, only some user roles can post unrestricted HTML content. Other users can only use some basic set of HTML tags, and tags like UL, LI, and DIV… will not work, and bbPress will save them as text, not HTML. Because of that, when you quote complex HTML content, tags normally not supported will be displayed as text, not HTML.

To fix this, you must allow all user roles to use the expanded set of HTML tags. And to do that, open the bbPress Toolbox -> Features -> Tweaks -> Expand KSES allowed HTML tags and attributes -> Allowed tags list. The Select box has 3 options: the default bbPress set of HTML tags, and the other two include a wide range of supported HTML tags. You need to switch this option to the second or third option.

But, some HTML tags are not permitted (IFRAME, SCRIPT, STYLE) because they can generally contain dangerous content, and when quoted, such tags will be escaped and saved as plain text. Because of that, quoting content that contains embedded content (FaceBook posts, Twitter tweets…) is not quotable.

0
0
3990
Rate this FAQ answer

You are not allowed to rate this post.

Can you nest BBCodes?

Yes. You can nest BBCodes as long as they are different types. You can have UL BBCode and inside it, you can have LI BBCodes.

And No. You can’t nest the same type of BBCodes. You can’t have UL inside another UL. Ordered or unordered list in HTML is allowed, and you can have UL, inside it several LI tags, and in those LI tags, you can have another UL. This will not work in WordPress, and BBCodes written like that will also fail to render properly. This will not change until WordPress fixes the issue.

1
0
4198
Rate this FAQ answer

You are not allowed to rate this post.

Why BBCodes are not working?

There are few reasons for BBCodes not working:

  1. You have disabled BBCodes in the plugin.
  2. You have disabled some of the BBCodes in the plugin.
  3. You are using some 3rd party plugin that is causing problems.

The plugin that is often causing problems with BBCodes is ‘bbPress Advanced Statistics’, and this plugin will disable all Shortcodes/BBCodes by default. Either configure it properly to allow shortcodes, or remove it.

0
0
7093
Rate this FAQ answer

You are not allowed to rate this post.