Log of /contributions/modules/userpoints/userpoints.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.67.2.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Apr 12 15:43:50 2009 UTC
(7 months, 2 weeks ago)
by
kbahey
Branch:
DRUPAL-6--1
Changes since
1.67.2.39: +25 -1 lines
Diff to
previous 1.67.2.39
, to
branch point 1.67
#431444 by Amitaibu, better description for Rules action.
#431430 by Amitaibu, add token implementation, [user:userpoints]
#431436 by Amitaibu, remove unneeded Rules condition functions. Superceded by token.
Revision
1.67.2.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 3 14:41:18 2008 UTC
(18 months, 3 weeks ago)
by
kbahey
Branch:
DRUPAL-6--1
Changes since
1.67.2.5: +13 -8 lines
Diff to
previous 1.67.2.5
, to
branch point 1.67
#252504 by dami, Changing back the default for my points to be the uncategorized points,
so we are consistent. A future patch should make this a configuration option (list only
uncategorized points, list a sum of all points, list specific categories only).
Revision
1.61 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 28 17:08:44 2008 UTC
(21 months, 4 weeks ago)
by
jredding
Branch:
MAIN
Changes since
1.60: +2 -2 lines
Diff to
previous 1.60
#214834 - ilo - userpoints page doesnt display all categories, comment #707746, the arg(3) was a bug it should have been tid
Revision
1.60 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 19 19:10:35 2008 UTC
(22 months, 1 week ago)
by
kbahey
Branch:
MAIN
Changes since
1.59: +3 -3 lines
Diff to
previous 1.59
#211886 by greggles, _userpoints_transaction returns moderation status instead of function status
#211887 by greggles, message from 'before points' doesn't get translated nor substituted with the module name
Revision
1.58 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 13 07:44:36 2008 UTC
(22 months, 1 week ago)
by
jredding
Branch:
MAIN
Changes since
1.57: +2 -2 lines
Diff to
previous 1.57
#209399 by kmillecam - Patch to fix capitalization of Users by points. Patch not applied but purpose of patch done; patch wasn't supplied in a correct manner
Revision
1.44.2.14.2.48 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jan 6 14:26:04 2008 UTC
(22 months, 2 weeks ago)
by
jredding
Branch:
DRUPAL-5--3
CVS Tags:
DRUPAL-5--3-2
Changes since
1.44.2.14.2.47: +50 -21 lines
Diff to
previous 1.44.2.14.2.47
, to
branch point 1.44.2.14
when fixing #206740 I noticed that the userbypoints page was not in a theme function. Added in 3 theme function to fix this theme_userpoints_list_users for the full page output, theme_userpoints_list_users_header to theme the table header, theme_userpoints_list_users_row to theme each individual row
Revision
1.44.2.14.2.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 14 14:35:51 2007 UTC
(2 years, 1 month ago)
by
jredding
Branch:
DRUPAL-5--3
Changes since
1.44.2.14.2.13: +4 -1 lines
Diff to
previous 1.44.2.14.2.13
, to
branch point 1.44.2.14
-Completed Categorization changes. A DB record with 0 or NULL is considered in the Uncategorized(CONSTANT) category.
-misc. code cleanup issues.
-Added several new functions to support categorization.
-Modified userpoints table to include new Primary Key so that 1 user can have multiple records.
-userpointsapi() nows accept a txn_id, if present an UPDATE will be done thus eliminating the need for an external UPDATE and creates a cleaner interface
-userpointsapi() will accept a status parameter directly (override )
-Various bug fixes with the _transaction function due to API change and a bug in point expiration
-Created a separate function for updating the userpoints (cache) table
-Removed UPDATE statements from admin_approve, admin_txn
-changes to admin_manage, list_users, user_exists, admin_approve, admin_txn_submit,
-Fixed my_userpoints to display proper status msg from txn_status
-userpoints table schema modified to DROP the PK on uid, ADD a new PK named pid (points ID) and ADD a new column tid. Allows for caching of category specific points.
Revision
1.44.2.14.2.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 14 14:20:35 2007 UTC
(2 years, 1 month ago)
by
jredding
Branch:
DRUPAL-5--3
Changes since
1.44.2.14.2.12: +420 -198 lines
Diff to
previous 1.44.2.14.2.12
, to
branch point 1.44.2.14
Major changes in this version, so many I lost count and didn't keep a good record; sorry. I'll view the Diff then recommit with a better message. Categorization is complete and v3 is ready for BETA testing! DATABASE SCHEMA CHANGE; .install file needs some serious looking-over
Revision
1.52 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 22 21:50:09 2007 UTC
(2 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.51: +60 -22 lines
Diff to
previous 1.51
#142956 by mercmobily, does two things:
- keep audit trail when $op is "txn approve" userpoints_userpointsapi
- Have a searchable index for userpoints_txn.
These changes make userpoints work with the simple karma module.
Revision
1.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 6 05:07:15 2007 UTC
(2 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.50: +2 -4 lines
Diff to
previous 1.50
#149152 by ckg, PostgreSQL: u.name must appear in the GROUP BY clause
#149151 by ckg, add support for PostgreSQL.
Revision
1.48 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Mar 9 02:44:09 2007 UTC
(2 years, 8 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.47: +19 -12 lines
Diff to
previous 1.47
Reorganized the user interface for managing moderated points, as well as
made Add a local task to that.
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Feb 19 03:35:50 2007 UTC
(2 years, 9 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.45: +465 -413 lines
Diff to
previous 1.45
Initial port of the new 4.7.x-2.x API to 5.x.
- userpoints itself should be working, ported by dami (#120449).
- userpoints_basic should be working.
- None of the contribs have been ported yet, although some may work, but need .info files.
Revision
1.30.2.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 17 21:24:33 2007 UTC
(2 years, 10 months ago)
by
kbahey
Branch:
DRUPAL-4-7
Changes since
1.30.2.16: +6 -5 lines
Diff to
previous 1.30.2.16
, to
branch point 1.30
Correct calculation of the max_points column, which should be cumulative
of how much was earned thru the lifetime of the account.
Note that this column is not yet exposed to the admin/users, but is in the
database for now.
Revision
1.30.2.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 16 04:50:07 2007 UTC
(2 years, 10 months ago)
by
kbahey
Branch:
DRUPAL-4-7
CVS Tags:
DRUPAL-4-7--2-0
Changes since
1.30.2.13: +431 -409 lines
Diff to
previous 1.30.2.13
, to
branch point 1.30
Major update for userpoints.
- Better API.
- A hook system so modules can act on points earned/lost, as well as add
configuration settings to userpoints.
- A transaction system to allow tracking of points, as well as moderation
of points.
- More modular design, allowing more plugins to be developed.
- Broken down into several smaller modules.
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Nov 5 00:14:51 2006 UTC
(3 years ago)
by
kbahey
Branch:
MAIN
Changes since
1.42: +2 -2 lines
Diff to
previous 1.42
#92809 PostgreSQL - column "u.name" must appear in the GROUP BY clause, by klance
#92810 PostgreSQL installation DDL, by klance
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 17 03:10:04 2006 UTC
(3 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.38: +1 -36 lines
Diff to
previous 1.38
Added contrib directory with sample modules that are also useful:
- userpoints_reset: a module that resets all points.
- userpoints_retroactive: creates points from existing nodes and comments.
Based on a standalone script by Miguel Figueiredo of Debian Portugal.
Requires userpoints_reset to be run first.
Revision
1.34 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 8 17:41:56 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.33: +21 -18 lines
Diff to
previous 1.33
#72612 Make the user points page sortable, by frjo
#72614 Use theme_username() to format user name in block and add more link, by frjo
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jul 3 03:01:35 2006 UTC
(3 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.31: +30 -18 lines
Diff to
previous 1.31
#70897 User interface improvements, by darren oh
#70900 Make payment work, by darren oh
#70316 Calculate points based on value, not gross (shipping and tax)
Removed .mysql file
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jan 28 01:22:33 2006 UTC
(3 years, 9 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.26: +72 -49 lines
Diff to
previous 1.26
- Added settings for user_referral module.
- Added link to reset points
- Made settings that depend on other modules appear only if the module(s)
are enabled
Revision
1.21.2.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 2 18:34:48 2006 UTC
(3 years, 10 months ago)
by
kbahey
Branch:
DRUPAL-4-6
Changes since
1.21: +13 -12 lines
Diff to
previous 1.21
Fixed ecommerce checkout.
Added status message on how many points will be deducted, and how
much was actually deducted for the transaction.
Revision
1.23 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 2 18:34:03 2006 UTC
(3 years, 10 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.22: +13 -12 lines
Diff to
previous 1.22
Fixed ecommerce checkout.
Added status message on how many points will be deducted, and how
much was actually deducted for the transaction.
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 30 00:06:05 2005 UTC
(4 years ago)
by
kbahey
Branch:
MAIN
Changes since
1.19: +129 -19 lines
Diff to
previous 1.19
- Added ability to use user points as a form of payment for e-commerce
- Added ability to gain points when purchasing items via e-commerce
* This also allows purchasing of points for real money. Setup
a non-shippable product, and adjust the multiplier
- Possible fix for invite module interface
Revision
1.18 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Sep 26 23:24:13 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.17: +9 -4 lines
Diff to
previous 1.17
#32311 Deleting comments takes points from moderators
#32308 Anonymous users generating points
Thanks to dave_nyc for reporting these issues.
Revision
1.17 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Sep 25 02:39:52 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.16: +39 -17 lines
Diff to
previous 1.16
#29666 Allow a way to reset points. Useful for contests and such.
Some changes to previous commit on status messages: user name shows up,
instead of current users.
Some code cleanup.
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 23 23:52:04 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.15: +20 -1 lines
Diff to
previous 1.15
#32062: Comment moderation should have points
#32063: Provide the user with a status message for point earned/lost
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 23 22:56:11 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.14: +14 -14 lines
Diff to
previous 1.14
- Upon commenting on a node, the points go to a blank user, not to the
user posting the comment: fixed. Thanks to Dave Prager.
- Rearranged arguments for update_points function, so they are more
logical
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 21 04:14:34 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.13: +13 -0 lines
Diff to
previous 1.13
#31797 When admin moves a node from user1 to user2, neither are affected.
Now it correctly subtracts from the previous owner and adds to the new owner.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Sep 21 03:30:14 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.12: +19 -19 lines
Diff to
previous 1.12
#31308 Admin adding content on behalf of users gets their points
#31606 Deleting a user's node deletes current user not real user
#30979 Removed warning left over from fix for this issue
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Sep 8 02:39:48 2005 UTC
(4 years, 2 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.9: +30 -6 lines
Diff to
previous 1.9
#29570 added display of points in the user profile.
Also added a page to list all users and their points, sorted by highest
points first, as per Steve Inman (Sciman) request.
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jul 19 07:27:08 2005 UTC
(4 years, 4 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.8: +2 -2 lines
Diff to
previous 1.8
Dries announced on the drupal-devel mailing list that node_list() has
now been updated to return an assoc array. This makes userpoints
compatible with HEAD.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 25 12:03:34 2005 UTC
(4 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.5: +38 -17 lines
Diff to
previous 1.5
- Added hook to invite module (needs change in invite module to take effect)
- Ensured numeric return from some database queries
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 23 04:20:40 2005 UTC
(4 years, 5 months ago)
by
kbahey
Branch:
MAIN
Changes since
1.4: +15 -42 lines
Diff to
previous 1.4
Made the code handling node types more generic and dynamic, so as not to
keep adding node types, but rather they would be automatically discovered.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.