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 info

Created by: shabana.navas
Created on: June 13, 2013 - 08:35
Last updated: December 9, 2014 - 07:33
Core compatibility: 7.x
Release type: Bug fixes, New features

Release notes

This is the version that we will support and recommend.

The following bug fixes/features were added:


  • 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.


  • 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.