Extension:MediaWiki Bulletin Board

MWBB is MediaWiki Bulletin Board, a message board or forum extension for MediaWiki software. MWBB is released under GNU GPL 2.0 and is editable, distributable by anyone. MWBB is at beta stage.

Features

 * Forum specific permissions with Moderator, Forum administrator, Special Member rights.
 * Topic moderation: Closed, Sticky, Global Announcement topics.
 * Full wikitext support in posts.
 * Forum administration with the ability to create/edit category and forums and forum/category position system.
 * Full Private Message system with wikitext support and specific inbox size.

Example

 * Example of a MediaWiki Bulletin Board

Download
Download the MediaWiki Bulletin Board at http://sourceforge.net/projects/mwbb/.

Installation

 * Decompress the zipped archive.
 * Upload mwbb folder in the MediaWiki extensions/ folder.
 * Upload install.php in the wiki root.
 * Run the install.php from browser and install the necessary database tables.
 * Edit LocalSettings.php and add the following line at the bottom:
 * Browse to Special:Forum on your wiki.
 * Enjoy!



MediaWiki 1.12 Fix
There has been some "errors" shown whenever someone tries to post in a topic, or make one. This can be fixed by just changing a line in a file called EditPage.php in the includes folder.

To fix it, all you have to do is just go to /includes/EditPage.php, and then search for the line:

Now, just change that line to:

It's as simple as that!

Installing PM System
To enable PM, you need to edit an extra file. Edit includes/SkinTemplate.php. Go to this area After this line, add: then save file.

Administration
All the administration is either done in the admin panel or by editing mwbb.php</tt>.

mwbb.php
mwbb.php</tt> holds all the site wide configuration.

Permissions
Here is all the available permissions in mwbb.

1. bb_view: Viewing of forum/topic/post. If not given to guests. they will see "Access denied" message. default: all 2. bb_post: Ability to post. default: registered users restriction; guests can't post even if they are given this permission. 3. bb_mod: Should be given to Moderator and sysops. This Gives rights to use Topic moderation options such as sticky posts. Mods can't announce. default: sysops 4. bb_admin: Forum administration power and Announcements. Announcements Appear on all forums. default: sysops 5. bb_special: Any special group. No mod/admin powers. just to distinguish normal users. They can access forums that are marked as "Special only". default:none Note: this rights is for those who are special members of wiki but not eligible for mod.

How to give permission to a group?
Just add the following line in the LocalSettings.php. Change GROUPNAME and PERMISSION_NAME with your desired group and permission.

example:

See Manual:$wgGroupPermissions and Manual:User rights for more information.

Site Config
To change site specific configs such as "topics per page", edit the mwbb.php</tt> file.

Admin Panel
Admin Panel is the place to add/edit/delete forums and categories. Just follow the link in the bottom of forum index.

Moderation
Moderation is provided on the bottom of every topic. Just select the apropriate option. Topic type can also be changed by clicking "edit" on the first post of a topic and Selecting the right type. topic types: Sticky, Announcement, Normal. Note: only mods can stick topics while admins can announce.

Private message
PM system has notification that will give a message box telling how many new messages are there in the inbox.

Changing Inbox Size Limit
Add this to the LocalSettings.php file.

Modifications
Click here for modifications for MWBB.

Bugs/help
For help/patches and bug releases, go to http://sourceforge.net/projects/mwbb/.

SQLite Changes
The supplied files do not work with SQLite. However, they can be made to work with a few changes (see below). Backup your database before you start!

schema.sql


 * Remove all '%s' references from the start of the table names (in CREATE TABLE and INSERT statements)
 * Remove 'ENGINE=MyISAM' clause from all CREATE TABLE statements
 * Remove PRIMARY KEY table clause
 * Add PRIMARY KEY column clause

The diff extract below shows the changes required for the first table (bbcategory). The others are similar.

PHP files

The SQLite UPDATE and DELETE verbs do not support a LIMIT clause. This needs to be removed from the files:
 * admin.php
 * mod.php
 * topic.php
 * SpecialPm.php

The diff extract below shows the changes to admin.php. The others are similar.