I know this module is still in development, so I can't demand much at this stage. But I am having an issue that you may have a quick and easy answer to...

I installed the kudos module along with userpoints and jQuery update. I think I have all the settings correct. I set up a test_kudo to play with. I am able to see the form button within a forum topic node. But when I click it, I get a white screen with this message...

"FALSE The kudo was successfully. NO none kudos_submit NO"

Any ideas?

Comments

jorbot’s picture

More info...

I viewed the source of the resulting page and it looks like some kind of XML data.

It says...

<response>
<success>FALSE</success>
<kudo_name></kudo_name>
<success_message>The kudo was <em></em> successfully.</success_message>
<enable>NO</enable>
<next_status>none</next_status>
<button_image></button_image>
<operation></operation>
<button_id></button_id>
<button_format>kudos_submit</button_format>
<allow_rescind>NO</allow_rescind>
</response>

Not really sure what to do with that though.

jorbot’s picture

Title: Not working? » Kudos not working
socki’s picture

Hi,

Sorry about that... did you happen to do this as a fresh install or an upgrade?

jorbot’s picture

Fresh install.

socki’s picture

Assigned: Unassigned » socki
Category: support » bug
Priority: Normal » Critical

Hi,

So there does appear to be a minor issue with the latest build. Here's how to proceed, and I'll put a patch up later tonight hopefully.

In the meantime, two bits:

1) Since this is a fresh install, please make the following change just to make sure it was installed properly.

In the kudos.install file, on line #52:

Change:

KEY uid (uid)

To:

KEY content_id (content_id)

Completely uninstall the module, and then reinstall.

2) As far as the form button not working properly. I see the why this is happening, and will post an updated module. In the meantime, the 'Form Icons' and 'Images' variations work fine.

Basically in admin/settings/kudos change the 'Format of kudos:' to be 'Form Icons' or 'Images' and it should work fine. You don't even really have to assign an image to the kudo, as it should be visible because of the alt tag that is output by default.

Sorry for the issues.
-T

jorbot’s picture

Great! Thanks for your response.

I updated the install file, reinstalled and switched to images and it seems to work now. I may make a few other tweaks to squeeze it into our site, but it looks like something we will use.

Nice module!

socki’s picture

Status: Active » Closed (fixed)

There is a lot of undocumented functionality currently in there. I've been waiting for a production release (and hence not being swamped) before being able to write full documentation. Feel free to shoot me and email or post with suggestions, or feature upgrades. It might be something that exists, or something that we could work to getting tied in properly.