NP_BBCode

General Plugin info
Current Version: v0.6
Download: Download NP_BBCode_v06.zip
Code: NP_BBCode_code
Demo: -
Forum Thread: NP_BBCode released

This plugin allows you to use BBCode in items and comments.

Supportet BBCode:

  • [b][/b] [i][/i] [u][/u] [s][/s]
  • [color=][/color] [size=][/size]
  • [quote][/quote] [quote name=””][/quote]
  • [code][/code]
  • [url][/url] [url=][/url] [email][/email] [email=][/email]
  • [img][/img]
  • [youtube][/youtube]

Installing

  1. Unzip the file and upload the contents to your plugin directory
  2. Install the plugin
  3. Change the options

Options

  • Allow BBCode in items? (Yes/No) (default: Yes)
  • Allow BBCode in comments? (Yes/No) (default: Yes)
  • Allow image links in comments? (Yes/No) (default: No)
  • Use rel=“nofollow”? (Yes/No) (default: Yes)
  • Quote header (default: '<blockquote><p>')
  • Quote footer (default: '</p></blockquote>')
  • Code header (default: '<pre>')
  • Code footer (default: '</pre>')
  • Information about BBCode (default: 'http://www.phpbb.com/phpBB/faq.php?mode=bbcode')
  • Allow YouTube links in comments? (Yes/No) (default: No)
  • Youtube video width (default: 425)
  • Youtube video height (default: 355)

How to use the plugin

Change the options of the plugin.

Tips and Tricks

If you want to test if the plugin works paste the following text into an item and into a comment:

[b]bold[/b]
[i]italic[/i]
[u]underline[/u]
[s]strike[/s]
[color=red]red[/color]
[size=24]size twentyfour[/size]
[quote]This is a silly placeholder text...[/quote]
[code]c=a+b[/code]
[url]http://nucleuscms.org[/url]
[url=http://nucleuscms.org]Nucleus CMS [/url]
[email]someone@example.com[/email]
[email=someone@example.com]Someone[/email]
[img]http://localhost/pluginsdev/skins/default/images/nucleus.gif[/img]
New features of version 0.3:
[quote name="tlucente"]This is a silly placeholder text...[/quote]
[youtube]http://www.youtube.com/watch?v=TaIyUVAW2rA[/youtube]
Additional in version 0.4:
[youtube]http://youtube.com/watch?v=TaIyUVAW2rA[/youtube]
Additional in version 0.5:
[youtube]TaIyUVAW2rA[/youtube]

Wishlist

Bugs

History

  • Version 0.6, released 2009-01-03:
    • added: BBCode [s][/s] for strike respectively line through text
  • Version 0.5, released 2008-09-14:
    • new options: 'Allow BBCode in items?' and 'Allow BBCode in comments?'
    • enhancement: video id only can be used in the youtube markup
  • Version 0.4, released 2007-11-27:
    • bug removed: resolve [quote name=””] also in comments
    • bug removed: resolve youtube urls also if they doesn't include 'www.'
    • code styling: use tabs instead of spaces
  • Version 0.3, released 2007-11-15
    • allow also [quote name=””] (name is printed bold)
    • bug fixed: the option for the img tag in comments has also switched of imgages in items
    • add a [youtube][/youtube] tag for videos from YouTube
  • Version 0.2, released 2006-02-15
    • more BBCode tags and additional options
  • Version 0.1, released
    • initial release (only in the nucleus forum)

Plugin Review

NP_BBCode version 0.2 works with Nucleus CMS version 3.31 - 2007-10-30 kg
NP_BBCode version 0.6 works with Nucleus CMS version 3.32 - 2009-01-03 kg

bbcode.txt · Last modified: 2009/01/03 14:37 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki