This module provides users with the ability to refer other users to
a site they are registered at. When the new users registers, the
referral is recorded.
Users can see a list of users they referred, and the site admin can view more detailed reports.
Basic Functionality
The module works by displaying a referral link (such as
referral/123) in the user's page. When a non-registered visitor clicks
on this link, and then registers to the site, the referring user's ID
is recorded
in the database.
in the database.
If the Adsense module is installed and Revenue sharing is enabled, then the referral
is used to share the revenue between the referring user and the referred user.
is used to share the revenue between the referring user and the referred user.
Optionally, points are awarded for the referring user (requires the userpoints module).
The link for referral for each user is displayed in "my account" menu.
Reports
On the "my account" page, there is a link to a report on users you have referred.
There are also admin reports under Administer -> Logs.
Two reports are provided:
- Summary: Lists each user and how many users they referred, and the date of the last referral.
- Details: Lists each users, and each user they have referred, the date/time of referral, the IP address, and Referral link.
Installation
To install this module, do the following:
1. Create the database table by pasting the included referral.mysql script.
No comments:
Post a Comment