achievements 8.x-1.0-alpha1

New features

Initial release of 8.x-1.x branch.

A few notes:

  • The pointless submodule has been removed
  • The opt out submodule has been removed
  • Most page callbacks are now customizable views

achievements 7.x-1.5

New features
Bug fixes

Achievements 7.x-1.5, 2012-05-01
--------------------------------
* API CHANGE! API CHANGE! API CHANGE! API CHANGE! API CHANGE! API CHANGE!
* If you have any 'hidden' type achievements, retype them to 'secret'.
* "secret achievement" is more commonly known than "hidden achievement".
* "secret" reads better with the newly available "invisible" type (below).
* IF YOU DON'T RETYPE, HIDDEN ACHIEVEMENTS WILL BE EXPOSED TO USERS.

* 'invisible' achievement types can now be created.
* These will NOT display on a user's Achievements tab (unless unlocked).
* They will display elsewhere as needed (leaderboards, per-page, etc.).
* Some possible uses of 'invisible' achievements include:
* Tenure-based achievements to thank long-time users, beta testers, etc.
* To "reveal" a user's achievements instead of defaulting to all locked.
* You can set an achievement to be both 'secret' and 'invisible'.
* Makes it invisible on the user's Achievements tab (unless unlocked).
* Shows the secret placeholder text when displayed elsewhere.
* New hook added: hook_achievements_access_earn().
* Allows you to programmatically determine if a user can earn achievements.
* See the new submodule, achievements_optout, for an example of its use.
* A new and optional submodule is added: achievements_optout.

achievements 7.x-1.4

New features
Bug fixes


Achievements 7.x-1.4, 2011-11-10
--------------------------------
* achievement-latest-unlock.tpl.php added and used in the leaderboard.
* All template files have been moved to templates/ subdirectory.
* Most .tpl.php $variables are now render arrays instead of strings.
* This allows for easier modifications in preprocess hooks.
* You WILL need to modify any overridden themes to support this.
* You should be able to just replace "print $a" with "print render($a)";
* "image_path" added to themes for the context-aware image path.
* "achievement_title" added to themes for easier linked title display.
* "achievement_points" added to themes as a renderable "$n points" string.
* Fixed double-encoding bug in titles of achievements/leaderboard/$AID.
* achievements_locked() added for programmatic taking away of an unlock.
* achievements_storage_del() added to complement the _set and _get ones.
* tabindex on achievement notification was rewritten into a CSS override.
* #theme => 'achievement' usage has gained contextual theme suggestions.
* Admins can no longer take away an achievement the user hasn't unlocked.
* An empty relative leaderboard table is no longer displayed in the HTML.
* "achievement-leaderboard-top-rank" CSS class added to top 3 rank rows.
* "achievement-leaderboard-top-rank-[123]" CSS class added to top 3 rank rows.

achievements 7.x-1.3

New features
Bug fixes


Achievements 7.x-1.3, 2011-09-29
--------------------------------
* The following hooks have been added. See achievements.api.php for details:
* hook_achievements_info_alter() - modify the achievement information.
* hook_achievements_unlocked() - respond to achievement unlocks.
* hook_achievements_locked() - respond to a user losing an achievement.
* Relative leaderboards have been added.
* The block and global leaderboard can now show user-specific stats.
* The current user's ranking can be displayed, along with "nearby" users.
* "Nearby" users are a number of ranks before and after the current user.
* The number of nearby ranks shown can be 0 through 10.
* The block and global leaderboard can be configured separately.
* The global leaderboard now shows a user's latest achievement.
* New leaderboard CSS class added: achievements-leaderboard-current-user.
* The global leaderboard is now a paged view instead of a set limit.
* Control number of ranks per page at admin/config/people/achievements/.
* achievements_totals() no longer exists; moved inline to leaderboard page.
* achievements_totals_user() has been rewritten with different parameters.
* We now load all of a user's unlocks in achievements_unlocked_already().
* This is then cached for all future lookups during that page load.

achievements 7.x-1.2

New features
Bug fixes
Achievements 7.x-1.2, 2011-09-07
--------------------------------
 * Achievement unlock notifications are now JS fadeins and offline-able.
  * We no longer use drupal_set_message() to inform of an unlock.
  * A new achievement-notification.tpl.php controls the appearance.
  * Unlock notifications now fade in and out at the window's bottom right.
  * We now track whether a user has seen an achievement unlock notification.
  * If they haven't, they will the next time they login or access the site.

achievements 7.x-1.1

New features
Bug fixes


Achievements 7.x-1.1, 2011-07-18
--------------------------------
* Achievements can now be categorized into groups.
* Grouped achievements will be displayed within jQuery UI tabs.
* If groups exist, ungrouped achievements "upgrade" automatically.
* See achievements.api.php for more on how to define achievement groups.
* Achievements can now have images.
* Three possible display states: locked, unlocked, and hidden.
* Admins may set the default images at admin/config/people/achievements.
* An 'images' array has been added to hook_achievements_info() definitions.
* Per-achievement images can override the default on a per-state basis.
* CSS tweaks were made for a more flexible achievement display.
* Default images have been provided for each of the three states.
* Administrators can now manually give and take achievements from users.
* It's problematic on progression-based achievements and internal statistics.
* hook_achievements_info() gets 'storage' to define where statistics are kept.
* If 'storage' is not specified, assume it exists under the achievement ID.
* See admin/config/people/achievements for the disclaimer text on usage.
* See achievements.api.php for more on 'storage' and a revised HOWTO.
* A new permission, "Earn achievements", has been added.

Subscribe with RSS Subscribe to Releases for Achievements