| 1 |
$Id: README.txt,v 1.3.2.1 2006/10/03 23:49:50 kbahey Exp $
|
| 2 |
|
| 3 |
Copyright 2006 http://2bits.com
|
| 4 |
|
| 5 |
This module provides users with the ability to refer other users
|
| 6 |
to a site they are registered at. When the new users registers,
|
| 7 |
the referral is recorded.
|
| 8 |
|
| 9 |
Users can see a list of users they referred, and the site admin
|
| 10 |
can view more detailed reports.
|
| 11 |
|
| 12 |
Basic Functionality
|
| 13 |
-------------------
|
| 14 |
The module works by displaying a referral link (such as referral/123)
|
| 15 |
in the user's page. When a non-registered visitor clicks on this link,
|
| 16 |
and then registers to the site, the referring user's ID is recorded
|
| 17 |
in the database.
|
| 18 |
|
| 19 |
If the Adsense module is installed and Revenue sharing is enabled, then
|
| 20 |
the referral is used to share the revenue between the referring user and
|
| 21 |
the referred user.
|
| 22 |
|
| 23 |
Optionally, points are awarded for the referring user (requires
|
| 24 |
userpoints module).
|
| 25 |
|
| 26 |
The link for referral for each user is displayed in "my account" menu.
|
| 27 |
|
| 28 |
Only active users are counted in referrals. Blocked users, or users
|
| 29 |
not yet approved by the administrator are not counted in referrals.
|
| 30 |
|
| 31 |
Reports
|
| 32 |
-------
|
| 33 |
On the "my account" page, there is a link to a report on users you have
|
| 34 |
referred.
|
| 35 |
|
| 36 |
There are also admin reports under Administer -> Logs.
|
| 37 |
|
| 38 |
Two reports are provided:
|
| 39 |
- Summary: Lists each user and how many users they referred, and the date
|
| 40 |
of the last referral.
|
| 41 |
- Details: Lists each users, and each user they have referred, the date/time
|
| 42 |
of referral, the IP address, and Referral link.
|
| 43 |
|
| 44 |
Flag/Unflagged
|
| 45 |
--------------
|
| 46 |
Flagging of referrals can be used as a means of tracking with any special
|
| 47 |
meaning attached to it. For example, if your site needs to pay the referring
|
| 48 |
user for the number of referrals they make, then there is an "unflagged"
|
| 49 |
report. You can see the outstanding number of referrals, pay the referring
|
| 50 |
user, and unflag the current referrals to make way for the next billing
|
| 51 |
cycle. Or you can simply use this as a way to see referrals since you
|
| 52 |
last checked, and flag them.
|
| 53 |
|
| 54 |
Installation
|
| 55 |
------------
|
| 56 |
To install this module, upload or copy the directory called "referral" to
|
| 57 |
your modules directory.
|
| 58 |
|
| 59 |
Configuration
|
| 60 |
-------------
|
| 61 |
To enable this module do the following:
|
| 62 |
|
| 63 |
1. Go to Administer -> Modules, and click enable. Make sure there are no error
|
| 64 |
messages.
|
| 65 |
|
| 66 |
2. Go to Administer -> Access Control and enable for the roles you want.
|
| 67 |
Users with 'admin referral' permission can view the detailed
|
| 68 |
|
| 69 |
Bugs/Features/Patches:
|
| 70 |
----------------------
|
| 71 |
If you want to report bugs, feature requests, or submit a patch, please do so
|
| 72 |
at the project page on the Drupal web site.
|
| 73 |
|
| 74 |
Author
|
| 75 |
------
|
| 76 |
<a href="http://baheyeldin.com">Khalid Baheyeldin</a> of <a href="http://2bits.com">2bits.com</a>.
|
| 77 |
|
| 78 |
The author can also be contacted for paid customizations of this module as well as Drupal consulting,
|
| 79 |
installation, development, and customizations.
|