Extension:SocialProfile

Summary
The following package of extensions will incorporate a social profile, user board, and basic profile information into MediaWiki, specifically Avatars, Friending, Foeing, User Board, Board Blast, and basic Profile Information. The package also notifies users via email when other users request them as a friend or foe and/or sends them a message. The package was developed by Wikia, Inc.

Requirements

 * MediaWiki 1.11
 * Yahoo! User Interface Library (included in this package)
 * User Stats Package (included in this package)

Avatars
Users can upload an avatar which will appear on profile pages and user board posts.



Profile Page
Users will have a profile page, which displays friendships with other users, basic profile information, and any public messages they received.



Editing Profile Information
Users can update their profile information with a simple form.



User Board
You can send public or private messages to other users with the User Board. The User Board supports wiki text and also has conversation threads between users.



Board Blast
Users can send messages to multiple friends or foes using Board Blast.



Installation
To install the social profile, please follow the below steps.

Copy All Necessary Files into the Extension Folder
First, copy all files into the extensions folder, maintaining the current file structure. If you install the folder in a different location please change any path references below.

Create database tables
Run the script 'install.php' from the command line (Database superuser has to be mentioned in AdminSettings.php)

LocalSettings.php
Open LocalSettings.php in your favourite text editor and add the following lines:

Add Default Avatar Images
Please move the directory  from   for images used in your MediaWiki installation. This directory should be writeable.

Update MediaWiki source code
Register AJAX functions by editing /includes/AjaxFunctions.php, add the following line (changing path as neccessary)

This code patch will probably be replaced with a hook that is to be created in the near future.

Settings
To enable some of the features of SocialProfile, the following additions need to be made to LocalSettings.php:

The following settings should be placed directly under the require_once line:


 * To display friends and foes:


 * To display the 'Board' for messaging others:

In order to display all functionality, it would look like this:

Customization of Profile
The user profile allows several custom hooks to inject custom data into the profile. You can add anything above and below both columns of the profile by the following hooks:

Licensing and downloads
The extension is available under the GNU General Public License 2.0 or later, and can be downloaded from MediaWiki SVN:
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SocialProfile/

The software is provided as-is. Updates will be made when critical vulnerabilities are discovered.