I would like to enable users to link back to their profile pages by embedding their badge in their blog, forum etc. :)
Perhaps with one of these:

http://drupal.org/project/web_widgets
http://drupal.org/project/embed_widgets
http://drupal.org/project/link_to_us

Comments

Richard Blackborder’s picture

Status: Active » Fixed

This is really the sort of function that other modules are designed for, whereas this module tends to focus on displaying badges alongside other user details. However, there are PHP functions in User Badges that print the badges for a particular user. You could create a simple filter module that printed the badges when a token such as "[user_badges uid=1234]" was placed in the text.

That's if you want the badges in the text.

If you want the badges to appear in a box or sidebar on the side of every blog on your Drupal site, use your theming system. The module already supports this.

If you want it to appear on other sites, using some custom javascript... you'll need to code a custom Drupal path that outputs just the badge for a user, and then create the javascript to go fetch it. That's really beyond the scope of this module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.