By kbahey on
The User Points module had a significant update with the following features added:
- Ability to use points as a method of payment for ecommerce.
- Granting users points when they purchase something from the ecommerce store.
- Ability to purchase points for real money and pay for it using Paypal, Credit Card or any other means supported by ecommerce.
Moreover, a callable API is now available for user points, so other modules can query how much a user has in their account, give them points, or subtract points from them.
Enjoy ...
Comments
Thanks, Khalid. Sounds
Thanks, Khalid. Sounds great, although I haven't tested it out.
big thanks
having played around, i really enjoyed these new features. it is a very nice addition to both userpoints and ecommerce.
the API is also a very good idea, and this really is a great job :-)
latest ecommerce updates (head features port) breaks the features however. let me know if i can send the patch or if you already work on this.
Patches
I have not yet started work on 4.7 changes for my modules.
In any case, open an issue on User Points, describe the changes, and attach the patches. This way, they can be tracked and will not be forgotten.
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba
Accumulate User Points across a multi-site install?
When I have users that share a login across multiple sites using a drupal multi-site configuration, does (or can) a user's total points earned from all the different sites on the multi-site be "pooled" into one collection of points, that then can be used to make purchases on all the sites?
Possible solution
I have not tried this myself, so caveat emptor ...
If you are using a shared users table, then you can make the userpoints table shared as well, and this way, the points can accumulate from various sites.
If you are only allowing common login using the drupal.module, then I do not have a solution.
--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com
--
Drupal performance tuning and optimization, hosting, development, and consulting: 2bits.com, Inc. and Twitter at: @2bits
Personal blog: Ba
Organic groups and User Points module
Related question to multi-sites...but different. :P
Hi Khalid,
I intend on using Organic Groups for my Drupal site. The best current example of OG that I can provide, as you probably know, is http://groups.drupal.org/, where I am signed up for over a dozen groups: Advertising, Austin, CiviCRM, Community, Drupal Marketing, E-Commerce...
If http://groups.drupal.org/ were to be set up with your excellent User Points module, would I get points for ALL the dozen+ groups that I'm a member of? For example, if Moshe (the OG creator and webmaster) were to set it up so that folks who posted comments received points, would everyone start receiving points for ALL groups they belong to? Another question is, still using http://groups.drupal.org/ as my example, would Moshe have the ability to select which groups receive points and which do not, or would it be all or none?
Thanks in advance & keep up the great work!!! We appreciate your dedication. :)
Walt Esquivel, MBA, MA, Captain - U.S. Marine Corps (Veteran)
President, Wellness Corps, LLC
DreamHost Rewards Affiliate Program
Database tables and empty page
In visiting the userpoints module at http://drupal.org/project/userpoints, it states under:
Isn't creating the database table the case under Drupal 4.6.0 and earlier? Drupal 4.7.0 and later, I believe, no longer need users to create database tables. Perhaps the verbiage at http://drupal.org/project/userpoints simply needs updating?
Also, the following:
...leads to an empty page.
Thank for all the excellent contributions you've given the Drupal community!!! I appreciate your dedication.
Walt Esquivel, MBA, MA, Captain - U.S. Marine Corps (Veteran)
President, Wellness Corps, LLC
DreamHost Rewards Affiliate Program
Some contrib modules for 4.7
Some contrib modules for 4.7 still don't ship with a .install file. For example, simplenews only got an install file about a week ago and until then, I had to run the sql query even after enabling the module.
If userpoints ships with this file, then that documentation should indeed be updated. But, if it doesn't then it holds good.
Thanks for the explanation
After your tip, I went back to the User Points module I downloaded Jun 12 '06. I see that it has a userpoints.install file.
Thanks for the info and from now on, I'll be sure to look for the .install file in other modules I download. If not there, I'll know to run the database query. Tips like that are golden!
Walt Esquivel, MBA, MA, Captain - U.S. Marine Corps (Veteran)
President, Wellness Corps, LLC
DreamHost Rewards Affiliate Program
Welcome:-)
Welcome:-)
Thanks a million
Thank you for this great addition, it must have been a lot of work and I'm glad you saved me so much time :)
My aim is to allow people to get paid for the points that they have. Is it possible to do this with the ecommerce feature of userpoints? If so, how would you go about doing this? My experience with ecommerce is baiscally nil. I would like to pay users for their points using paypal.