I think this point sharing tool is great. Is there a way to let the recipient of the points know who the donar is? That way they can contact the donar. I've searched through the forums and there is a send private message option but that only works with the development version of the modules. Plus it generates a lot of messages in the user's inbox. It would be a lot cleaner and easier if the donar's username shows up in the description field of the points transaction list.

CommentFileSizeAuthor
#1 fix_operation.patch1.08 KBberdir

Comments

berdir’s picture

Status: Active » Needs review
StatusFileSize
new1.08 KB

That module is full of bugs ;)

The reason is that it wasn't correctly updated and still uses event instead of operation. Try this patch.

This also links the transaction to the user, there is a patch for userpoints.module that will then link it automatically to the user.

Status: Needs review » Needs work

The last submitted patch, fix_operation.patch, failed testing.

berdir’s picture

Status: Needs work » Fixed

Something is wrong with the testbot for user2userpoints, commited anyway.

Status: Fixed » Closed (fixed)

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

rv0’s picture

Major thanks for this patch..
Works as designed!

rv0’s picture

Just a quick RFC:

I see it stores the "From: %username" in the operation field.
The description field remains none.

Wouldn't it be a better idea to change operation to "received" and "given" or something like that,
and put the author in the description?

Suggestions welcome, I'll see if I can roll a patch for this.

berdir’s picture

Patches are welcome, but create a new issue for that.