Extension:SocialProfile/Developer information

Overview
SocialProfile consists of 8 components:


 * SystemGifts &mdash; awards functionality
 * UserBoard &mdash; user-to-user messages
 * UserGifts &mdash; gifting functionality
 * UserProfile &mdash; social profile pages
 * UserRelationship &mdash; friend/foe relationships
 * UserStats &mdash; statistics, such as the User Levels system
 * UserWelcome &mdash; &lt;userWelcome/&gt; parser hook for displaying social info on a wiki page
 * YUI &mdash; JavaScript library which is required by SocialProfile. See Wikipedia's article on YUI for more info. We're phasing out YUI in favor of jQuery and pure DOM functions.

Of these, UserWelcome is not enabled by default.

If you want to become a SocialProfile developer, feel free to drop Jack Phoenix a line and then apply for commit access on commit access requests.

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:

If you need more hooks added to the core of SocialProfile, please discuss with Jack Phoenix about it, preferrably providing a good reason why a new hook should be added. :-)

Example extension that uses UserProfile's hooks
The following piece of code adds a "Xbox Gamecard" section to social profile pages, as seen on :

Translations
Notice that your language isn't translated at all or that the translation is incomplete? Internationalization patches are always welcome. See How to become a MediaWiki hacker for info about how to generate a patch file. After you've finished your patch, please email it to Jack Phoenix (jack@undefinedcountervandalism.net).