Closed (won't fix)
Project:
User Points
Version:
5.x-1.x-dev
Component:
Code: userpoints API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2007 at 15:56 UTC
Updated:
25 Jan 2011 at 10:07 UTC
Jump to comment: Most recent file
Comments
Comment #1
Anomaly07 commentedPoints for Login is done, code may need a little review. Code for "being on the site" may be harder than what it's worth. I realized I don't really want this functionality. So I'll pass that along to someone else to decide.
Comment #2
Anomaly07 commentedI have attached the patch (on the entire userpoints folder) to add the "userpoints login" module.
Comment #3
Anomaly07 commentedHere is a zip of the module.
Comment #4
derjochenmeyer commentedI dont really know how to review a patch, so i took the "zip" file. First of all its not a zip file but a text file ;-) so i had to remove the _.txt Extension.
I give it a try:
- in Line 65 you dont use
{userpoints_login}but simplyuserpoints_loginthat creates an error message if you have a table prefix set (as i have in my sandboxes)- when calling
userpoints_userpointsapi()the optional$descriptionshould be given. It turns up in the moderation table if moderation is set (even if it doesnt make much sense to moderate login points) -> is it possible that you add a checkbox whether or not points due to login events should go into the point moderation or not?Its not 100% clear to me what the "Time Period" is. Maybe a better description is needed.
THANKS FOR SHARING THIS CODE. hope my comment can help.
Comment #5
berdirSorry for spamming the participants in this issue. Due to the release of Drupal 7 and the lack of time from the maintainers, I'm closing all remaining 5.x issues for Userpoints.
Feel free to re-open this issue or create a new one for 6.x or even better 7.x if this bug is still open or feature is missing for these versions.