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.
I'd love to see this module updated for Drupal 6. Is there any chance of this happening?
Thank you for such a wonderful module~
Comment | File | Size | Author |
---|---|---|---|
#29 | userbadges.d6.234780.patch | 55.94 KB | aaron |
#24 | user_badges.d6_plus_actions.patch | 50.99 KB | aaron |
#22 | user_badges.views_.inc_.txt | 1.71 KB | aaron |
#22 | views_handler_field_user_badges_user_uid.inc_.txt | 433 bytes | aaron |
#19 | user_badges-D6.patch | 43.13 KB | floretan |
Comments
Comment #1
Heine CreditAttribution: Heine commentedEarly April is all I can commit to. Patches are always appreciated.
Comment #2
Fayna CreditAttribution: Fayna commentedLovely!! It doesn't matter how long it takes :)
I'm not much of a programmer so I wish I could help more.
Comment #3
BTMash CreditAttribution: BTMash commentedI may be using user badges on our site so I'll post up the patches if I get through it. There was one question I had.
I see some functions in there that looks like they extend other APIs. Could you please let me know which ones those are (I'll place them in a separate file since it might be better to split core functionality from optional).
Comment #4
BTMash CreditAttribution: BTMash commentedAn update re: the user badges module...I have the forms working at this stage. Granted, I don't have the product or ecommerce module so I haven't tested that (are they the same thing??). But everything else seems to be working so far. Should I put it up in a patch format?
Comment #5
BTMash CreditAttribution: BTMash commentedI'm attaching in patch format - it should hopefully patch correctly. Please take a look through to see if I've missed anything.
Comment #6
BTMash CreditAttribution: BTMash commentedOk, there were a few mistakes that I had made (in the values for the fields) - I cleaned up some parts where I could as well. Please take a look at this patch instead.
Comment #7
Fayna CreditAttribution: Fayna commentedHi BTMash,
I don't know if I'm doing something wrong or what but this is what I get when trying to apply your latest patch.
Comment #8
BTMash CreditAttribution: BTMash commentedFayna, were you trying to patch it against the Drupal 5 version of user badges or against the first patch that was above?
Comment #9
Fayna CreditAttribution: Fayna commentedThe Drupal 5 version of User Badges.
Comment #10
BTMash CreditAttribution: BTMash commentedI'm going to attach the user_badges 6.x version - I'm confused on the patches myself now (it **should** have worked) >_<
Comment #11
Fayna CreditAttribution: Fayna commentedThat worked great!! I was able to upload an image for one of the badges, save it, but wasn't sure how to assign a role to it. Both roles I have created only have one drop-down option of "Inactive." So far I haven't noticed any errors or problems. Thanks!!
Comment #12
Flying Drupalist CreditAttribution: Flying Drupalist commentedAre we going to see an official development snapshot soon?
Comment #13
BTMash CreditAttribution: BTMash commentedThe images getting deleted was a mistake on my part - I didn't realize the files uploaded temporarily unless verified - so I perform the verification that the files are valid and it seems to work properly now.
The zipped format is the new version.
Comment #14
scotese CreditAttribution: scotese commentedThanks,
I did update to the new code above but still have the exact same problem -- will not let me have more than 7 badges -- the image appears fine -- but when I go to assign the image to a badge name it never appears.
Comment #15
Heine CreditAttribution: Heine commentedComment #16
Heine CreditAttribution: Heine commented#13 seems largely functional except for
- no display of assigned badges on the user profile 'view' page (unless I missed something).
- a large amount of NOTICEs
It is best to develop Drupal 6 modules against Drupal 6.x-dev or when using a release, modify common.inc:
Comment #17
scotese CreditAttribution: scotese commentedMy problem was solved by uploading the badges directly to my server rather than using the upload command within the Badges Module. Now working like a charm.
Comment #18
Rosamunda CreditAttribution: Rosamunda commented+1!
I really need this [excellent!] module for my Drupal 6 site!
Comment #19
floretan CreditAttribution: floretan commentedHere's an updated version of the zip file from #13, and a patch since that's the recommended way of doing (against the DRUPAL-5 branch, that's where the latest code seems to be).
Fixed the bug with the badges not showing up on the profile page (hook_user($op = 'view') now uses drupal_render()).
Passes the coder module test, and E_ALL compliant. Also fixed some minor coding style issues.
BTMash already did most of the work, so I would say that this is ready.
Edit: note that I haven't touched the user_badges_product module, only user_badges.
Comment #20
Rosamunda CreditAttribution: Rosamunda commentedTHANKS for the archives!!
I´m sorry for this [probably silly] question, but could this patched version be tagged as 6.x dev version? I mean, isn´t it safe enough? I don´t quite understand how Drupal CVS works, and applying patches is [still] quite an issue for me. And it´s probably a difficult task for some people here aswell :)
Comment #21
Heine CreditAttribution: Heine commentedExcellent; I'll add this to CVS asap.
Comment #22
aaron CreditAttribution: aaron commentedI've begun work on the views handlers for this. Currently, this just creates a 'User Badges' field handler, which works after a fashion, although not in the most optimal way for views. (Plus, it returns a row per badge per user, which is not really what is needed.)
Still, I figure this is a good start if someone wants to figure out what I'm doing wrong here.
Requires the following in the module too:
(Not doing a patch, because I'm not sure what to patch against here, since HEAD doesn't seem to be updated with the previous patch yet. Just rename the two included files as .inc)
Comment #23
aaron CreditAttribution: aaron commentedAnd here are actions. Again, nothing to patch against. Just add this to user_badges.module:
Comment #24
aaron CreditAttribution: aaron commentedduh, I forgot I can just diff the whole thing...
here's the latest, against HEAD. incorporates 19, 22, and 23.
Comment #25
aaron CreditAttribution: aaron commentedI'm getting an error when using this d6 patch:
Comment #26
aaron CreditAttribution: aaron commentedThat's when creating any node.
Comment #27
aaron CreditAttribution: aaron commentedwould be nice to create a dev release so we can file issues against this 6.x patch.
the latest bug i found with this patch is that when an admin creates a new user of a role, role-assigned badges are not assigned.
Comment #28
chasz CreditAttribution: chasz commented+1
Comment #29
aaron CreditAttribution: aaron commentedthis fixes the bug at #25, and rolls all other functionality, patched against current HEAD. the bug at #27 still needs attention. could we roll a dev release to make the patches a little more manageable?
Comment #30
nikitac CreditAttribution: nikitac commentedEver since I upgraded Advanced Forum to the lastest version, badges dont show up anymore, please let me know how to fix it. I'm using version created on June. Thanks in advance.
Comment #31
andypostsubscribe
Comment #32
zilla CreditAttribution: zilla commentedper #19 above, could this be rolled into a downloadable zip again for folks like me who know nada about patching??? or alternatively, could it be rolled up and moved to the project page as a dev release or alpha??
Comment #33
Rosamunda CreditAttribution: Rosamunda commented+ 1 to your idea zilla!
:)
Comment #34
Lucretia9 CreditAttribution: Lucretia9 commentedCould a new zip be provided for D6? I just tried the nightly head branch and patched it, but there are quite a few failures. It seems that some of these patches have been included. I dunno.
Thanks,
Luke.
Comment #35
krisvannest CreditAttribution: krisvannest commentedDitto & subscribe... I've started to read up on patching, but have a long way to go before I'm versed enough to actually do it on my site so a standalone dev/alpha v6 release would be super. BTW this is one of my most used mods, so great job on it so far and really looking forward to working with v6 support when available.
Comment #36
Shyin CreditAttribution: Shyin commentedI would love to see this also.
Shyin
Comment #37
andypostSuppose it's good to make 6.x-dev to make more people test this module
Comment #38
Rosamunda CreditAttribution: Rosamunda commentedDNDV!
(desperately needing dev. version :)
Comment #39
hankpalan.com CreditAttribution: hankpalan.com commented+1 for a Dev. I would love to start testing this.
Comment #40
Heine CreditAttribution: Heine commentedI've committed #24. A dev tarball should appear within 12 hours. Problems can be worked out in additional, separate issues.
Thanks a lot folks.
Comment #41
nilocd CreditAttribution: nilocd commentedsubscribing...
Comment #42
pjb CreditAttribution: pjb commentedWas this checked in fully? I'm still not seeing any dev tarballs on the project page for D6.
Comment #43
Heine CreditAttribution: Heine commentedhttp://drupal.org/node/24411/release
The release is not for consumption.
Comment #44
HS CreditAttribution: HS commentedwaiting for 6.X version as well. Love the module.
Comment #45
nunoveloso CreditAttribution: nunoveloso commentedDear Drupalers,
As you may have noticed, Heine handed me the reins of this module so I'll do my best. However, for now I just intend to support and fix bugs and don't plan any extra features development (besides description URL).
I had a different version (customised for personal use) from the current ones in dev. I tried to merge those to versions, did some code improvements and added/modified some features. So I will now release the first "stable" versions (D5 & D6). Here is a list of what has been added/modified:
I hope it will be useful for all of you. Thank you for your feedback! Don't forget there are some todo's like
Enjoy!
Comment #46
HS CreditAttribution: HS commentedThank you so much!
Comment #47
Lucretia9 CreditAttribution: Lucretia9 commentedExcellent!
Comment #48
Shyin CreditAttribution: Shyin commentedI should have time soon to set this up on my testbed and give it a good workout. Great to see one of the modules I have been waiting for updated to D-6. Thank you so much.