Closed (fixed)
Project:
Ubercart Userpoints
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 23:07 UTC
Updated:
10 Nov 2009 at 12:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
betz commentedok, build it and its working.
Going to sleep now, i'll post the patch tomorrow.
Comment #2
betz commentedHere you go.
There were a few bugs that i solved in the same time.
Let me know what you think...
PS: HAVE A LOOK @ THE PATCH AT COMMENT #4, THIS ONE ISN'T WORKING.
Comment #3
betz commentedSorry, had a few more problems.
Now it's working like a charm ;)
Comment #4
betz commentedforgot to upload the patch :s
Man, wake up!! :)
Comment #5
marcbroos commentedfollowing
Comment #6
morxe commentedNot good... problem with the apply !!!
Comment #7
betz commented@morxe: what did you try?
What is the problem? Can you give some more info please?
Comment #8
betz commented@morxe: Did you try with patch at comment #2?
This patch is not working, i know, but try patch
I know the first patch wasn't working, but normally this one does.
Comment #9
rfayMarked #489624: uc_userpoints_product errors as a duplicate of this one, as this patch seems to resolve all.
I used this patch and it resolved all the issues I was having with ubercart_product. I think we should still add a README.txt to this module explaining how to set it.
Thanks for the good work on this, betz.
Let's see if we can get to an official release for 6.x.
Comment #10
betz commentedcommited
Comment #11
Bilmar commentedGetting this error message when saving edit at product => features => operations , put points to 3 and set category as above commit.
I have run cron.php / update.php / flushed cache but no fix. Also tested on fresh install of Drupal and same error.
Anyone else experiencing this issue?
user warning: Unknown column 'tid' in 'field list' query: UPDATE uc_userpoints_products SET points = 3, tid= 0 WHERE nid = 16 AND pfid = 1 in /home/example/public_html/drupal/sites/all/modules/userpoints_ubercart/uc_userpoints_product.module on line 137.
Comment #12
betz commentedThis is weird, when you look at the patch you see that it adds the tid field in uc_userpoints_product.install.
Anyway, this patch has been commited, so please download the dev version from the project page and be sure to uninstall your module, not just disabling it. This way it will do the installation again, and the tid field will be there.
Just checked again, and the tid field is there...
Comment #13
Bilmar commentedI did as you recommended and disabled/removed/re-installed the module and not getting the error message anymore. Nice!
However, at product => features => operations : I see that the product has 3 points attached to it, but when I click 'Edit' it is set to 0.
Is this by design? Should it be automatically set to 0 everytime I hit the edit link for the product feature?
Thanks!
Comment #14
betz commentedJust try to set the userpoints again. and see if it stays.