oh my badness, I replied just by looking at the thread title.
Yeah this can be done, you will need to add a new textbox called 'Referrer' in register.php, insert two new column 'Referrer' and 'Referrals' in prefix_users table, and then the script should check if the entered referrer's name matches any existing user's name. The value 'Referrals' is initiated as 0, and it increments whenever a referred user signs up. You can play the game further by adding cash or even items for the referrers.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|