Here's a patch which takes an initial stab at a d6 upgrade. This is working for my use cases, could probably still use a bit more love though. Particularly using drupal_write_record for inserts.

I also cleaned up the messaging a bit.

CommentFileSizeAuthor
uc_userpoints_discount_d6.patch13.31 KBbeeradb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

beeradb’s picture

Failed to mention, this patch is against 5.1

rszrama’s picture

Wow, don't know how I missed these old issues. This module is yours if you want it. :-/

beeradb’s picture

No thanks. I suck at maintaining modules. I'd rather just write patches :)

rszrama’s picture

lol Fair enough.

pitxels’s picture

:O this is great, I almost almost miss this patch! yay

Liliplanet’s picture

subscribe thx!

bmagistro’s picture

I know this doesn't help anyone for D6 but for D7 I am still open to the idea of merging this module with userpoints_ubercart ref discussions here http://drupal.org/node/984868