it could be neat to make badges with not only title, but link to description page. So when i have premium users there could be desription why user have this image (because he payed for it), and list of features in premium membership, and how to get that ...

I think that badge image should have URL field, and clicking on image near user would go to that url...

CommentFileSizeAuthor
#4 user_badges.patch39.63 KBnunoveloso

Comments

yngens’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

i second this feature request, but i believe it should be available for 5.x versions too. every badge should have configurable url link where admin could post any kind of details, descriptions.

heine’s picture

Status: Active » Closed (duplicate)
yngens’s picture

Heine - March 19, 2008 - 11:58
Status: active » duplicate

Duplicate of http://drupal.org/node/226427

That thread opened in 2008. Should it be marked duplicated of this one or it does not matter? I believe the older threads which have not been solved should have more attention, because they usually contain more comments and patches.

nunoveloso’s picture

Assigned: Unassigned » nunoveloso
Status: Closed (duplicate) » Needs review
StatusFileSize
new39.63 KB

Hello!

I had the same need of a URL associated to the badge image. So I made a little mod for personal use and decided to rewrite it well to make a patch (which come on attachment).

To apply the patch on UNIX-based systems just type on your command line:

$ mv user_badges.patch path/to/user_badges
$ cd path/to/user_badges
$ patch < user_badges.patch

to restore original files just type:

patch -R < user_badges.patch

On windows I don't have any idea how patches work, so Google it. After applying the patch you just have to run example.com/update.php and then you can assign internal or absolute URL to your badge images (example.com/admin/user/user_badges).

Please give some feedback and... Enjoy!

heine’s picture

Status: Needs review » Closed (duplicate)

Still a dup :)

nunoveloso’s picture

You are right Heine.

Can you please take a look @ http://drupal.org/node/226427 to commit the patch to the main release?
Btw, when would you branch a stable release?

Thank you!