/[drupal]/contributions/modules/referral/referral.module
ViewVC logotype

Log of /contributions/modules/referral/referral.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.16.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 10 14:53:08 2009 UTC (5 months, 2 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.12: +1 -41 lines
Diff to previous 1.16.2.12 , to branch point 1.16 , to next main 1.18
#487164 referral now provides a hook, so userpoints integration is in its own module now

Revision 1.8.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 5 01:17:17 2009 UTC (8 months, 3 weeks ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.15: +2 -2 lines
Diff to previous 1.8.2.15 , to branch point 1.8 , to next main 1.18
Drupal 5.x does not have ip_address(), so use REMOTE_ADDR

Revision 1.16.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 20:35:04 2009 UTC (8 months, 3 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.11: +40 -1 lines
Diff to previous 1.16.2.11 , to branch point 1.16
Adding userpoints functionality to referral module. This really needs to be a separate module, but for now, it provides what the D5 version has

Revision 1.8.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 2 20:27:52 2009 UTC (8 months, 3 weeks ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.14: +3 -3 lines
Diff to previous 1.8.2.14 , to branch point 1.8
#170354 by Scott Falconer and Debugger_01, fix for userpoints to work

Revision 1.16.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 3 17:08:27 2008 UTC (11 months, 3 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.10: +6 -1 lines
Diff to previous 1.16.2.10 , to branch point 1.16
#342197 by rcourtna, add the referral link as an element in the user object, so other modules can use/display it.

Revision 1.16.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 1 01:43:33 2008 UTC (11 months, 4 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.9: +10 -5 lines
Diff to previous 1.16.2.9 , to branch point 1.16
#338760 Reverting previous change that extended hook_user. We are now
a regular hook_referral() again.

Revision 1.16.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 30 18:11:05 2008 UTC (11 months, 4 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.8: +12 -6 lines
Diff to previous 1.16.2.8 , to branch point 1.16
#340844 Remove theme('page', ...) since a return will cause a print in the theme layer.

Revision 1.16.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 30 00:55:02 2008 UTC (11 months, 4 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.7: +7 -4 lines
Diff to previous 1.16.2.7 , to branch point 1.16
#338760 Convert hook_referral() to hook_user($op = 'referral', ...) so triggers would work.
This is experimental at this point and can be reverted in the future depending on the feedback I get.

Revision 1.16.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 01:11:04 2008 UTC (12 months ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.6: +7 -7 lines
Diff to previous 1.16.2.6 , to branch point 1.16
Correct spelling of timstamp to timestamp.

Revision 1.8.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 01:10:20 2008 UTC (12 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.13: +21 -16 lines
Diff to previous 1.8.2.13 , to branch point 1.8
- Added setting of the referral cookie when a visitor visits the profile page of a user.
- Correct spelling of timstamp to timestamp.
- Minor code style issues.

Revision 1.16.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 00:12:01 2008 UTC (12 months ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.5: +24 -21 lines
Diff to previous 1.16.2.5 , to branch point 1.16
#339439 by aufumy and kbahey, set the referral cookie when the new visitor
visits the referral page of the referring user.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 26 20:04:44 2008 UTC (12 months ago) by kbahey
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +59 -91 lines
Diff to previous 1.17
#338760 by rcourtna, add a hook_referral() so other modules can act on
referrals.
The userpoints stuff has been removed, and will be in its own module.

Revision 1.16.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 26 20:03:41 2008 UTC (12 months ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.4: +2 -44 lines
Diff to previous 1.16.2.4 , to branch point 1.16
#338760 by rcourtna, add a hook_referral() so other modules can act on
referrals.
The userpoints stuff has been removed, and will be in its own module.

Revision 1.16.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 25 00:55:57 2008 UTC (12 months ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.3: +10 -2 lines
Diff to previous 1.16.2.3 , to branch point 1.16
#338725 by rcourtna, Allow redirection to an admin configurable path.

Revision 1.16.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 15 17:31:33 2008 UTC (13 months, 1 week ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.2: +39 -40 lines
Diff to previous 1.16.2.2 , to branch point 1.16
#321446 Fix for wrong use of access callback in place of access arguments.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 8 21:47:09 2008 UTC (13 months, 2 weeks ago) by karpuz
Branch: MAIN
Changes since 1.16: +10 -10 lines
Diff to previous 1.16
SA-2008-063 http://drupal.org/node/318739

Revision 1.16.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 8 21:06:59 2008 UTC (13 months, 2 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16.2.1: +48 -48 lines
Diff to previous 1.16.2.1 , to branch point 1.16
SA-2008-60 Although this has been patched in core, this commit fixes the
correct use of 'access arguments' to be an array, not directly calling
user_access.
Also includes capitalization and code style fixes.

Revision 1.16.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 8 15:51:34 2008 UTC (15 months, 3 weeks ago) by kbahey
Branch: DRUPAL-6--1
Changes since 1.16: +11 -8 lines
Diff to previous 1.16
#292776 Prevent a fatal error call to undefined function if another contrib is not installed.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 27 23:46:26 2008 UTC (16 months ago) by kbahey
Branch: MAIN
Branch point for: DRUPAL-6--1
Changes since 1.15: +104 -99 lines
Diff to previous 1.15
#271050 by andyceo, port to Drupal 6.x

Revision 1.8.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 24 22:42:29 2008 UTC (17 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.12: +4 -2 lines
Diff to previous 1.8.2.12 , to branch point 1.8
#274493 Fatal Error: Undefined Function: userpoints_role_userpoints().
The 'points after' $op should fire automatically when we call the function userpoints_userpointsapi(),
therefore no need to explicitly call userpoints_role_userpoints() again.

Revision 1.8.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 7 16:12:13 2008 UTC (17 months, 3 weeks ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.11: +69 -67 lines
Diff to previous 1.8.2.11 , to branch point 1.8
#267886 by Kiam@avpnet.org, add $may_cache to hook_menu.

Revision 1.8.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 30 14:05:27 2008 UTC (17 months, 4 weeks ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.10: +6 -6 lines
Diff to previous 1.8.2.10 , to branch point 1.8
#264582 by Kiam@avpnet.org, Menu titles should use title case.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 9 01:25:26 2008 UTC (21 months, 2 weeks ago) by kbahey
Branch: MAIN
Changes since 1.14: +27 -12 lines
Diff to previous 1.14
#219374 by ebeyrent: updated for Userpoints 3.x API.

Revision 1.8.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 9 01:24:37 2008 UTC (21 months, 2 weeks ago) by kbahey
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0
Changes since 1.8.2.9: +16 -2 lines
Diff to previous 1.8.2.9 , to branch point 1.8
#219374 by ebeyrent: updated for Userpoints 3.x API.

Revision 1.8.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 8 20:24:42 2007 UTC (2 years, 4 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.8: +12 -11 lines
Diff to previous 1.8.2.8 , to branch point 1.8
- referral/view is now a suggested menu item, not enabled by default. If you
  want it, enable it explicitly.
- #157634 by d0t101101, "top referring users" block by number of referrals.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 17 14:28:28 2007 UTC (2 years, 5 months ago) by kbahey
Branch: MAIN
Changes since 1.13: +4 -4 lines
Diff to previous 1.13
#152305 Fix for module_exist() and INSERT error

Revision 1.8.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 17 14:27:21 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.7: +3 -3 lines
Diff to previous 1.8.2.7 , to branch point 1.8
#152305 Fix for module_exist() and INSERT error

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 7 02:11:40 2007 UTC (2 years, 5 months ago) by kbahey
Branch: MAIN
Changes since 1.12: +21 -26 lines
Diff to previous 1.12
Synching HEAD with 5.x.

Revision 1.8.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 7 02:11:23 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.6: +10 -14 lines
Diff to previous 1.8.2.6 , to branch point 1.8
Some code cleanup.

Revision 1.8.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 7 01:17:23 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.5: +20 -21 lines
Diff to previous 1.8.2.5 , to branch point 1.8
Use cookies to store the referral data instead of the session, since it is
more reliable and predictable this way.

Revision 1.3.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 7 01:13:44 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-4-7
Changes since 1.3.2.6: +19 -20 lines
Diff to previous 1.3.2.6 , to branch point 1.3 , to next main 1.18
Use cookies to store the referral data instead of the session, since it is
more reliable and predictable this way.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 17:42:56 2007 UTC (2 years, 5 months ago) by kbahey
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11
#148893 %Points show up in the title. Should be !Points.

Revision 1.8.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 17:42:31 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.4: +3 -3 lines
Diff to previous 1.8.2.4 , to branch point 1.8
#148893 %Points show up in the title. Should be !Points.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 01:09:42 2007 UTC (2 years, 5 months ago) by kbahey
Branch: MAIN
Changes since 1.10: +8 -6 lines
Diff to previous 1.10
#148841 Clicking on the referral link causes a 404 when there is no clean URLs

Revision 1.8.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 3 01:09:10 2007 UTC (2 years, 5 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.3: +8 -6 lines
Diff to previous 1.8.2.3 , to branch point 1.8
#148841 Clicking on the referral link causes a 404 when there is no clean URLs

Revision 1.3.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 01:50:24 2007 UTC (2 years, 7 months ago) by kbahey
Branch: DRUPAL-4-7
Changes since 1.3.2.5: +3 -3 lines
Diff to previous 1.3.2.5 , to branch point 1.3
#136594 Some queries are not db_prefix clean

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 01:49:47 2007 UTC (2 years, 7 months ago) by kbahey
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
#136594 Some queries are not db_prefix clean

Revision 1.8.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 01:48:57 2007 UTC (2 years, 7 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.2: +3 -3 lines
Diff to previous 1.8.2.2 , to branch point 1.8
#136594 Some queries are not db_prefix clean

Revision 1.8.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 11 14:44:01 2007 UTC (2 years, 7 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8.2.1: +4 -5 lines
Diff to previous 1.8.2.1 , to branch point 1.8
Adding translation template.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 11 14:42:16 2007 UTC (2 years, 7 months ago) by kbahey
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8
Adding translation template.

Revision 1.8.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 8 01:22:22 2007 UTC (2 years, 7 months ago) by kbahey
Branch: DRUPAL-5
Changes since 1.8: +4 -3 lines
Diff to previous 1.8
#133598 Added missing database prefix.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 11 05:18:27 2007 UTC (2 years, 9 months ago) by kbahey
Branch: MAIN
Branch point for: DRUPAL-5
Changes since 1.7: +73 -30 lines
Diff to previous 1.7
Initial 5.x compatibility.

Revision 1.3.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 20 19:14:48 2007 UTC (2 years, 10 months ago) by kbahey
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7--2-0
Changes since 1.3.2.4: +28 -10 lines
Diff to previous 1.3.2.4 , to branch point 1.3
Changes for using the new userpoints API 2.0

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 25 20:55:29 2006 UTC (3 years ago) by kbahey
Branch: MAIN
Changes since 1.6: +56 -27 lines
Diff to previous 1.6
Added a configuration option to show the referral link on the referral/view
page.

Revision 1.3.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 25 20:34:26 2006 UTC (3 years ago) by kbahey
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7--1-0
Changes since 1.3.2.3: +56 -27 lines
Diff to previous 1.3.2.3 , to branch point 1.3
Added a configuration option to show the referral link on the referral/view
page.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 3 23:50:28 2006 UTC (3 years, 1 month ago) by kbahey
Branch: MAIN
Changes since 1.5: +165 -24 lines
Diff to previous 1.5
- Added a flagging capability to indicate completion of something (e.g. payment).
- Reports have been improved with a drill down model, rather than list every one.
- Only users who are active are counted in the referrals. This means users who
  are blocked, or not yet activated by the admin are ignored.
- The role(s) the user has are displayed in the reports.
- Upon deletion of a user, all his referral data is cleared (who referred him,
  who he referred).
- Use whois.domaintools.com instead of whois.sc for IP Whois.

Revision 1.3.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 3 23:49:50 2006 UTC (3 years, 1 month ago) by kbahey
Branch: DRUPAL-4-7
Changes since 1.3.2.2: +165 -24 lines
Diff to previous 1.3.2.2 , to branch point 1.3
- Added a flagging capability to indicate completion of something (e.g. payment).
- Reports have been improved with a drill down model, rather than list every one.
- Only users who are active are counted in the referrals. This means users who
  are blocked, or not yet activated by the admin are ignored.
- The role(s) the user has are displayed in the reports.
- Upon deletion of a user, all his referral data is cleared (who referred him,
  who he referred).
- Use whois.domaintools.com instead of whois.sc for IP Whois.

Revision 1.3.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 22 01:35:08 2006 UTC (3 years, 6 months ago) by kbahey
Branch: DRUPAL-4-7
Changes since 1.3.2.1: +16 -16 lines
Diff to previous 1.3.2.1 , to branch point 1.3
Fix for uid not getting recorded in the database correctly.

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 22 01:34:19 2006 UTC (3 years, 6 months ago) by kbahey
Branch: MAIN
Changes since 1.4: +16 -16 lines
Diff to previous 1.4
Fix for uid not getting recorded in the database correctly.

Revision 1.3.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 23:49:48 2006 UTC (3 years, 6 months ago) by kbahey
Branch: DRUPAL-4-7
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
Removing obsolete tablesort_query() call.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 23:48:39 2006 UTC (3 years, 6 months ago) by kbahey
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
Removing obsolete tablesort_query() call.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 21 18:46:09 2006 UTC (3 years, 6 months ago) by kbahey
Branch: MAIN
Branch point for: DRUPAL-4-7
Changes since 1.2: +12 -5 lines
Diff to previous 1.2
Ported to 4.7

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 22 00:25:08 2006 UTC (3 years, 9 months ago) by kbahey
Branch: MAIN
Changes since 1.1: +2 -4 lines
Diff to previous 1.1
#50639 Profile field not saved when user registers

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 22 00:24:09 2006 UTC (3 years, 9 months ago) by kbahey
Branch: DRUPAL-4-6
Changes since 1.1: +7 -9 lines
Diff to previous 1.1 , to next main 1.18
#50639 Profile field not saved when user registers

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 2 00:46:49 2006 UTC (3 years, 9 months ago) by kbahey
Branch: MAIN
Branch point for: DRUPAL-4-6
Initial commit.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2