Thanks mudmin. I will try this out and get back to you.
(09-25-2018, 12:02 AM)mudmin Wrote: Ok, so you'll need a few files....I want each user to send a referral link
Save this file to your root directory as patch.php and run it once and delete it.
https://pastebin.com/ASEMLvfF
Save this file as usersc/join.php (NOT users, usersc). When you visit join.php the first time you'll need to set it as not private (uncheck the private box).
https://pastebin.com/HQvYgNNH
Replace the text in usersc/scripts/during_user_creation.php with the text of this file...
https://pastebin.com/mddHkGb0
What the stuff so far will do is let you do a link to usersc/join.php?ref=12342 and have that stored in the users table as refer (the last column in the db).
So how do you want these links generated? Do you want each user to be able to send a referral link or is it just you the admin doing it?