Plugin Directory

bbPress2 BBCode

This plugin adds support for popular bbcode forum code to posts, comments, pages, bbpress 2.0 forums and buddypress activity and group forums.

This plugin adds support for bbcode markup to wordpress, bbpress and buddypress. It extends the bOingball bbcode plugin, which was in turn based on the original bbcode plugin by Viper007Bond, both of which only added bbcode support to wordpress. It integrates with the 'bbPress shortcode whitelist' plugin to provide a safe way of enabling BBCode without giving your users access to all shortcodes.

Bold: [b]bold[/b]
Italics: [i]italics[/i]
Underline: [u]underline[/u]
URL: [url]http://wordpress.org/[/url] [url=http://wordpress.org/]WordPress[/url]
Image: [img]http://s.wordpress.org/style/images/codeispoetry.png[/img] [img=Code is Poetry]http://s.wordpress.org/style/images/codeispoetry.png[/img]
Quote: [quote]Lorem ipsum dolor sit amet, consectetuer adipiscing elit,[/quote] [quote=NAME]Lorem ipsum dolor sit amet[/quote] [quote="NAME"]Lorem ipsum dolor sit amet[/quote] [quote author=NAME]Lorem ipsum dolor sit amet[/quote] [quote author="NAME"]Lorem ipsum dolor sit amet[/quote]
Color: [color="red"]named red[/color] [color="ff0000"]hex red[/color] [color=#ff0000]hex red again[/color]
Strikeout:[s]striked this out[/s]
Center Text:[center]center me[/center]
Computer code:[code]10 GOTO 10[/code]
Font size: [size=10]10px font size[/size]
Ordered lists: [ol][li][/li][/ol]
Unordered lists: [ul][li][/li][/ul]
List Item: [li]item[/li]
(*) Youtube Links: [youtube]Youtube ID[/youtube]
(*) Google Video Links: [gvideo]Google Video ID[/gvideo] [googlevideo]Google Video ID[/googlevideo]
(#) Video URLS Links: [video]Youtube or GoogleVideo URL[/video]
Named Spoiler: [spoiler=two plus two]four[/spoiler]
Unnamed Spoiler: [spoiler]Boo![/spoiler]

(*) If Vipers Video Quicktags plugin is installed, this will be used for these tags instead. (#) If Vipers Video Quicktags plugin is installed, the [video] tag will also detect urls for Vimeo, Veoh, Myspace, Flickr, DailyMotion, MetaCafe, iFilm and Spike, as well as default to supporting Viper's generic [video] tag handler if no url is detected.

I have enhanced support for the [url] and [quote] tags, and added potentially useful css style class names in the html output of the tags, to allow for exciting theming potential.

For example:

[quote=NAME]QUOTE[/quote]

will render as:

<div class="bbcode-quote bbcode-quote-NAME"><strong>NAME</strong><blockquote>QUOTE</blockquote></div>

Or if NAME matches the login name of a user on the system, it will render as:

<div class="bbcode-quote bbcode-quote-user bbcode-quote-NAME"><strong>DISPLAY_NAME</strong><blockquote>QUOTE</blockquote></div>

Where DISPLAY_NAME is the display name that user. With BuddyPress installed the name also becomes a link to their profile page, otherwise if bbPress is installed, it becomes a link to their forum user page.

Requires: 2.5 or higher
Compatible up to: 3.2.1
Last Updated: 2011-10-25
Downloads: 2,296

Average Rating

4 stars
(7 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
67,6,4