Hey everyone,

With the beta release of Drupal 7 right around the corner, I wanted to see if anyone had begun planning of a Drupal 7 port. Our shop has mostly shifted to Drupal 7 development and I 'm interested to learn if the maintainers have begun thinking about D7....

Thanks,
Ben

CommentFileSizeAuthor
#48 user_badges.zip54.15 KBToktik
#29 d7-port-795122.patch53.36 KBmas5d2

Comments

nancydru’s picture

It would be nice if the module worked first.

Quarantine’s picture

=/ So no D7 port? That's a shame.. I really needed this module too.

nancydru’s picture

Status: Active » Postponed

There will be a port. It just won't be tomorrow.

BenK’s picture

Does the 6.x version seem stable enough now to try a port?

--Ben

neopoet’s picture

I would contribute something to making this happen.

nancydru’s picture

Title: Drupal 7 port... » User Badges D7 port

My PC disk crashed and had to be rebuilt. As soon as I get everything rebuilt (troubles with Tortoise CVS), I can create a release and then evaluate where we are.

se7en76’s picture

Would be much appreciated here too, for a from-scratch D7 brand new application.
Pleased to learn that it will be ported, just hope this won't be too late for us !
Best regards

svenrissmann’s picture

Any news?
Can you state something about the Port??

How can we help?

sea4’s picture

+1 would luv to see this happen :-)

santam’s picture

subscribing

Nordtof’s picture

sitting, waiting and hopping.

Nancy, this module is brillant. We need it D7.

And it would be great if admins choose the standart size of the badges, instead of module dictate it. (example, I need to use 15x15 px badges, and somone needs 25x25 px badges)

thanks.

nancydru’s picture

I plan to start soon, but anyone is welcome to submit a patch to the current version (DRUPAL-6--1 branch, not HEAD).

@Nordtoff: The module now supports ImageCache, so you can do just that. The settings page tells you what the preset name needs to be.

Nordtof’s picture

You're my #1 module developer my lady.

I'm at your service.

danielm’s picture

subscribing

sw3b’s picture

subscribing

Shadlington’s picture

Sub'd

Miria’s picture

Subscribing

Shadlington’s picture

Someone has a project application in progress at the moment for a D7 badges-like module called Medals.

The application is here if you're interested: http://drupal.org/node/1085934

zoozi’s picture

Subscribing. Definitely a great module, Thanks :)

Riari’s picture

Subscribing. This would be totally sweeeeeeeeeet.

socialtalker’s picture

subscribe

lesleyfernandes’s picture

subscribe

culfin’s picture

subscribe

Sborsody’s picture

subscribe

Panic’s picture

Sub

likewhoa’s picture

Title: User Badges D7 port » Port User Badges to Drupal 7
Category: support » task
Issue tags: +d7 ports

Subscribing

bartk’s picture

Hi,

Bart K. here (the Medals guy). I'm sorry to do this, but there's just no way I'll have time to port User Badges to Drupal 7 and combine it with Medals, much as I'd like to. I don't like to see a lot of fragmenting, so at this point if someone else would like to merge my Medals code into a D7 port of User Badges (in a way that preserves Medals' taxonomy-based architecture), I'll change the Medals page into a redirect to this module.

Bart

Starminder’s picture

+1

mas5d2’s picture

StatusFileSize
new53.36 KB

This is a patch that should port the bulk to Drupal 7. I didn't touch anything to do with *_products* as we don't use that part of the module in my current project.

Hope this helps. Test it out and find what I missed.

likewhoa’s picture

Status: Postponed » Needs review
DontCare4Free’s picture

Subscribe

marcoka’s picture

subscribe

RogueM’s picture

I tried the patch from post 29 (thanks mas5d2!) against the 6.x-dev. Obviously I had to change the 6.x instances in the .info files to 7.x for Drupal to load them up. I can access the backend and create badges but as soon as I try to apply one to a role (only brief test I did), I get:

Fatal error: Cannot use object of type stdClass as array in /home/xxxxxxx/public_html/drupal/includes/theme.inc on line 813

... when I try to access a (forum) node with a user belonging to that role. This is using DP7.4, with Advanced forum + Author Pane, latest dev build.

I'm not savvy enough to really understand if it's a theme issue, and since the site is live I have limited scope to try various things, but if anyone has a suggestion, I don'y mind giving it a go.

JennyJ’s picture

subscribe

neopoet’s picture

Thank for for the patch!

I also have the issue RogueM is having. I get the following error when adding the "print user_badges_for_uid($comment->uid);" code to comment.tpl.php:

Notice: Object of class stdClass could not be converted to int in include() (line 79 of /ssd/www/new/sites/all/themes/corolla/comment.tpl.php).

dajpanspokoj’s picture

subscribing

steev’s picture

subscribing

boran’s picture

+1

WolfSoul’s picture

I never figured out that ec-products thing
But I like this module

astanley86’s picture

+1

halloffame’s picture

Subscribing...

Wooster’s picture

Subscribe

halloffame’s picture

Any similar module for D7?

dddave’s picture

sub

sslider999’s picture

sub

BeaPower’s picture

sub

gazik’s picture

subscribing

Toktik’s picture

StatusFileSize
new54.15 KB

I have fixed some errors and problems in mas5d2 patch until I realized that user_badges is not needed me anymore and stoped porting to D7 (sorry about this). Here is suggestion.

You can just make 'Badge' content type and then reference users to Badge node. You will gain more flexibility, by using views and other powerful modules.

computerology’s picture

any progress on a D7 version of this? any update on the combination with Medals?

I would try to hack and code away but I am so new to drupal I would just break everyone's site because I dont know Core well enough.

nancydru’s picture

You can try the file in the previous post.

computerology’s picture

i can take a crack at it, has anyone else tried it? is is relatively stable?

nancydru’s picture

I have no idea, but the poster's comments lead me to believe not.

bartk’s picture

Yeah, as far as Medals integration goes, I really don't have time to do it. Medals does what I need, and I have a Really Big Project that people are expecting me to work on, so I don't have the time to co-maintain another big Drupal module. If someone wants to merge the code in, I'd be happy to provide advice and such.

basik.drupal’s picture

Assigned: Unassigned » basik.drupal

Hi guys.
I am a new co-maintainer for this module and I just wanted to say that I'm already working on the new drupal 7 official port.
It will be ready in the next few days.
I'm gonna test it thoroughly to make sure all of the existing features are working as planned.

BeaPower’s picture

Thank you so much!

nancydru’s picture

Welcome aboard. And thanks for taking this on. Hopefully I'll be back in the swing soon.

basik.drupal’s picture

Status: Needs review » Active
bartk’s picture

For the record, if Badges ends up with all the features that I have in Medals, I'll switch my module over to unmaintained status and direct people here. I don't want to come off like I'm trying to be needlessly competitive -- it's just a question of me already being over-committed. :)

nancydru’s picture

That's okay, Bart. I've done the same thing.

basik.drupal’s picture

Progress Report:
I've finished about 65% of the migration.
Right now adding/editing/deleting badges is working.

The first release will be dev and will only be a direct migration of the 6.x-dev without any new features or bug fixes.
There were a few warnings I had to fix on the way because of drupal 6 to 7 code changes.

As to the Medals module, What are the current features that are missing in User Badges?
These should be handled by creating new Issues (Features) and will be addressed on the next versions.

Brandonian’s picture

basik.drupal, can you post your current code to a branch on d.o? I'm currently evaluating modules for an upcoming project and would love to take a look at what's there so far, along with contributing to get the module to a stable place.

Canadaka’s picture

subscribing

Refineo’s picture

subscribing

Macronomicus’s picture

please start the 7.x-1.x-dev branch :)
I need this module for a site im building & would love to help where I can.

Cheers!

danthewolfe’s picture

subscribing

wakaluba’s picture

subscribing

akael’s picture

sub

Shane Grant’s picture

Anywhere I can get the latest code for D7?

I would like to help if I can.

basik.drupal’s picture

Hi everyone, little more patience and the version 7 will be up, most of the things are working, I'll upload the version today.

Abilnet’s picture

Thank you so much, your hard work appreciated!

Miria’s picture

Thanks for your hard work and effort, basik.drupal!

basik.drupal’s picture

Thanks for the gratz and sorry for the delay, I have uploaded the branch, It should be published automatically within the next 12 hours.
I have also updated the main module page to explain about this release.
I will continue working on the port until it's completion and will be grateful for all the help I can get, so feel free to post here your patches.
Thanks.

nancydru’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Ehud, I appreciate it as well.

rogical’s picture

+1 hope to see D7 release soon!

nancydru’s picture

See #1306032: Cumulative D7 Changes. Basik.drupal, could you commit those changes, please (I still don't know Git).

seanr’s picture

If you're on Windows, you might want to check out TortoiseGit.

SebCorbin’s picture

Status: Active » Closed (fixed)

Closing this issue, a beta will be released soon. In the meantime, please don't hesitate to file issues for 7.x-1.x-dev.