=== Achievements === Contributors: DJPaul Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=P3K7Z7NHWZ5CL&lc=GB&item_name=DJPaul%20%2d%20wordpress%20plugins¤cy_code=GBP&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted Tags: buddypress,achievement,reward,user points,points,score Requires at least: WPMU 2.8.2, BuddyPress 1.1 Tested up to: WPMU 2.8.6, BuddyPress 1.1.3 License: General Public License version 3 Stable tag: 1.21 Brings Achievements (similar to World of Warcraft or Xbox Live) to BuddyPress. == Description == This plugin was inspired by the [Achievement system in World of Warcraft](http://www.wowwiki.com/Achievement) and the various user points plugins for systems such as [phpBB](http://www.phpbb.com/). Achievements in BuddyPress are self-contained goals which aim to help encourage people to keep using and contributing to your website. Please note that the 1.2+ release is mainly a compatibility fix for BuddyPress 1.1.3. == Installation == 1. Use your WPMU's `Plugins -> Add New` page to install Achievements. 1. Activate the plugin site-wide. 1. Visit the `Achievements` top-level menu to configure the plugin. == Frequently Asked Questions == = Is there any developer documentation? = For developer documentation, please see devdoc.txt. NOTE: As of version 1.2, this file is out of date. An updated version will become available soon. = I think I have found a bug? = Please contact me via [Twitter](http://twitter.com/pgibbs), the [BuddyPress forums](http://buddypress.org/developers/djpaul/) or djpaul at gmail with details. == Changelog == = 1.21 = * Achievements that may have been previously unlocked by users are now only checked for when the "Retroactively Award Achievements" option is selected on the Administration page. = 1.2 = * Compatibility with BuddyPress 1.1.3. * Enhanced admin interface; now you can change the name/description/points/category of each achievement. * Code rewrite. * Added object cache support to decrease the number of database queries. = 1.1 = * Added retroactive achievement feature; use this when upgrading or installing Achievements to check all existing site content for any achievements that would have been unlocked. * Implemented second admin page for retroactive achievement awards. * Removed unnecessary check from account activation achievement. * Fixed bug with notification link not working when more than one notification pending. * Added call to dpa_check_locked_achievements() in installation routine. * Added constant check into some achievements to cope with manual triggering of achievements by site admin. * Updated achievement functions to be able to be called when the achievement hasn't actually been obtained (i.e. an administrator update). * Fixed glitch with CSS on the summary page when viewing other people's profiles. * Moved all logic out of the member theme files and into the dp-achievements-templatetags.php. * Renamed dpa_get_last_five_unlocked_achievements to dpa_get_recent_unlocked_achievements and added an integer argument. * Removed dpa_get_unlocked_details() and dpa_get_count_of_ea(). * Removed dpa_get_unlocked() and replaced with individual SQL queries. * Removed dpa_get() and replaced with individual SQL queries. * Fixed broken nonce on admin page. * Moved achievement settings to its own admin menu section. * Changed recent achievements list on profile page to a UL list, rather than just paragraph tags (better markup). * Added category list to header tabs when viewing someone else's profile. * Added dpa_get_image_url action to allow 3rd parties to customise image loaded for each achievement. * Added proper filters and localisation calls to html output where relevant - added better CSS classes too (props to Mariusooms for the suggestion). * Added dpa_recalculate_userpoints(), which recalculates each user's achievement score/points when any achievements are enabled/disabled by the site administrator. * When an achievement is made, in the site wide activity post, a link has been added to go to the user's achievements summary page (props to Wammy for the suggestion). * Fixed where you could access http://example.com/achievements/, which you shouldn't. * Fixed incorrect CSS class on category page where the date/time was not being properly aligned. * Fixed typos in readme.txt. = 1.0 = * Initial release. == Bundled Achievements == * _Welcome to the blogosphere_ - Created a blog; get posting! * _First post_ - Published your first blog entry. * _Flexible Demeanour_ - Published your thirtieth blog entry. * _The Ends Of Invention_ - One hundred blog posts! * _It's My Party And I'll Sing If I Want To_ - Commented on a blog post. * _But Who's Counting?_ - You’ve left 30 comments on blogs. * _You'll Thank Me Later_ - You’ve left 100 comments on blogs. * _I Choo-Choo-Choose You!_ - You’ve sent a friendship request to a member of the site. * _You’ve got the Bridge, Number One_ - Promoted to a moderator of a group. * _Open social_ - Created a group. * _All are welcome_ - Sent an invitation for someone to join a group which you moderate. * _Bonjour!_ - Joined a group. * _First time for everything_ - Posted on a wire. * _Second time for everything_ - You’ve left 30 wire posts. * _Third time for everything_ - You’ve left 100 wire posts. * _First Class post_ - Sent a message to someone. * _Second Class post_ - Sent 30 messages. * _Special Delivery_ - Sent 100 messages. * _Never Talk To Strangers_ - Started a forum topic. * _Allow me to elaborate_ - Started 30 forum topics. * _Happy Idiot Talk_ - Started 100 forum topics. * _Frank Exchange Of Views_ - Left a reply on a forum topic. * _Quietly Confident_ - Replied to 30 forum topics. * _Revisionist_ - Replied to 100 forum topics. * _Identity crisis_ - Updated the information on your profile. * _Welcome_ - "You’ve activated your account on this website - welcome! * _She’s got that Mona Lisa smile_ - Uploaded or updated the avatar picture to your account. == License == "Achievements" for BuddyPress Copyright (C) 2009 Paul "DJPaul" Gibbs This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. This software uses icons from the FAMFAMFAM "Silk" icon set used under the http://creativecommons.org/licenses/by/3.0/ license (achievements_bullet.png, cross.png, tick.png). Visit them at http://www.famfamfam.com/lab/icons/silk/; thank you! == Thanks == * Thanks to the following for providing beta testing (in no particular order): [John James Jacoby](http://buddypress.org/developers/johnjamesjacoby), [Dave8057](http://buddypress.org/developers/dave8057/) & [SlaFFik](http://buddypress.org/developers/slaffik/). * The Culture Minds for letting me borrow [their names](http://en.wikipedia.org/wiki/List_of_ships_\(The_Culture\)).