Override default category and categorize by content/action type

cerup - August 26, 2009 - 23:02
Project:User Points
Version:6.x-1.x-dev
Component:Code: userpoints API
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

There's a few different issues that have all been closed (mostly from version 5.x) that ask about setting categories on a per content type or per action basis. The responses have been that in order to do this one must write their own module and that it should be very easy to do, but after reading the documentation and API, I'm not sure really how to do this.

I think there could be three possible ways to do this.

1) Add the function to core userpoints module with some patch. Just as you assign points on a per content basis, you would assign a category.
2) Write a custom module (which I really couldn't figure out how to implement this) that would have to override the core module category.
3) Add a category -> options (like core module has) to the rules userpoint integration so when you award points through rules, you can pick the category to go with it.

Any help would be appreciated. I think having the ability to separate userpoints into categories based on content types and actions is essential.

#1

cerup - August 27, 2009 - 00:31
Category:support request» feature request

Ok, it looks like someone already completed #3) http://drupal.org/node/292533 and added category rules integration

Feel free to mark this as closed, but I'd like to change it to a feature request since using rules, rather than the core user points module makes the task of assigning categories rather complex and time consuming.

 
 

Drupal is a registered trademark of Dries Buytaert.