pn_bbcode
User's Manual
Author: Jim Hadfield and Frank Schummertz
A simple Hook for integration of pn_bbcode.
Written for the pnforum but might be used everywhere ;)

document revision date: 10/31/2004

1. Module Installation
2. Module Configuration
3. Sample Code

1. Module Installation

> Upload pn_bbcode to your website's /modules directory.
> "Initialize" and "Activate" as with any other PN Module.
> If you want to use this with any modules (exampler: pnForum) you will have to click "Edit" for that module when you
> are in "Administration/Modules" and check to hook pn_bbcode.

2. Module Configuration

> The only configuration is the code that you may want to put into the boxes to define an 'effect' for either code
> entry or quoting of a previous message.

3. Sample Code (the db has been pre-populated with this)

> a. There are four areas for entering in " Configuration [code][/code]", the following examples will show a nice border around the code with a color in the background. If you use 'fieldset' and 'legend'as we did here, make sure that you are allowing it in the PN Settings.

> > "Start of Code Header"
> > sample code:
> > <fieldset style="border: 1px solid black; background-color: #eeffee; text-align: left; padding-left: 5px; padding-right: 5px;"><legend style="font-weight: bold;">

> > "End of Code Header"
> > sample code:
> > </legend>

> > "Start of Code Body"
> > sample code:
> > <pre>

> > "End of Code Body"
> > sample code:
> > </pre></fieldset>

> b. There are four areas for entering in " Configuration [quote][/quote]", the following examples will show a nice border around the code with a color in the background. If you use 'fieldset' and 'legend' as we did here, make sure that you are allowing it in the PN Settings.

> > "Start of Quote Header"
> > sample code:
> > <fieldset style="border: 1px solid black; background-color: #eeffee; text-align: left; padding-left: 5px; padding-right: 5px;"><legend style="font-weight: bold;">

> > "End of Quote Header"
> > sample code:
> > </legend>

> > "Start of Quote Body"
> > sample code:

> > "End of Quote Body"
> > sample code:
> > </fieldset>