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.10
 * Yahoo! User Interface Library (an extension for including the js is 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.

Include Yahoo UI
This package requires Yahoo UI javascript library. You can either include the appropriate JavaScript from Yahoo' servers, or use the bundled package included in this extension.

You can include YUI in a few different ways.


 * Include the js directly in the skin
 * Include the extension below to add the script to all pages.

Include the following files in your LocalSettings.php

Please note that $wgUseAjax is true by default on MediaWiki 1.11 and newer versions, so you don't need to set that, just add the require_once line from above.

Add Default Avatar Images
Please create an avatar directory under the path for images used in your MediaWiki installaion. This directory should be writeable.

Include User Stats
First, create a new table, found in "user_stats.sql", which is copied below.

Also, include the following files in your LocalSettings.php

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

Include User Profile
First, create a new table, found in "user_profile.sql", which is copied below.

In addition, Include the following files in your LocalSettings.php

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

Include User Relationships
First, create a new table, found in "user_relationships.sql", which is copied below.

Include the following files in your LocalSettings.php

Include User Board
First, create a new table, found in "user_board.sql", which is copied below.

Include the following files in your LocalSettings.php

Licensing and downloads
The extension is available under the GNU General Public License 2.0 or later, and can be Downloaded from SourceForge or MediaWiki SVN:
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/UserBoard/
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/UserProfile/
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/UserRelationship/
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/UserStats/
 * http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/YUI/

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