Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download user_badges-7.x-3.x-dev.tar.gztar.gz
35.33 KB
MD5: ec225b81033b65e24f19962dc6bb87b7
SHA-1: 918ce8ca811d724321af3983f57efe29fcd4139c
SHA-256: 258f0572087c57a9fed430b9002e132473d43c4f2991dfbc5252899342959987
Download user_badges-7.x-3.x-dev.zipzip
41.66 KB
MD5: 73868214a64ef7cb1abf55c9c44668fc
SHA-1: d2c306241b8f7d758599ded2f78c755ab7509e57
SHA-256: a87f8d2860c0dae80b72295b24f8fa4347af00d9c59b1fb3abbf4482c11bd5ba
Release notes
This is the version that we will support and recommend.
The following bug fixes/features were added:
In user_badges.admin.inc:
- Modified submit button code in user_badges_badgelist_form, submit button was not displaying as it was not properly defined.
- Modified pager code in user_badges_badgelist form, pager was not working with the previous code.
- Modified the rendering of the weight row in theme_user_badges_badgelist_form, the weights were displaying as labels with previous code, thus we couldn't edit it.
- Modified the logic of rendering the pager in the theme_user_badges_badgelist_form, pager was not rendering with previous code.
- Added code to render rest of the form elements in the theme_user_badges_badgelist_form function, as the submit function was not being called because the button element was not being rendered in theme.
In user_badges.module file:
- Took out 'whoelse' menu code from hook_menu.
- Took out menu for user/%user/edit/badges from hook_menu, instead added two new function to add the user/%user/edit/badges menu in the user profile.
- Modified user_badges_badge_autocomplete function to include the badge name.
In user_badges.install file:
- Modified line in user_badges_uninstall function to prevent fatal error. Drupal 6 version of file_delete is different from drupal 7 version.
In user_badges.tokens.inc:
- Modified line in user_badges_tokens to this to replace the bid token.
- Modified line in user_badges_tokens to this as $badge is an stdclass object not an array.
- Modified line in user_badges_token to this as $badge is an stdclass object not an array.
- Added Rules Integration. Issue #2035003: Rules for 7.x-3.x-dev.
- Fixed bug. Issue #2075289: Errors when adding or removing a role/badge.
- Added another badge selector option. Issue #1787330: Visual badge selector
- Fixed file usage tracking. Issue #1969668: File usage tracking for badge images not accurate