Hello, I have already a good amount of users and I'd like to install a new policy, that is that from now on new users will be accepted only if they sign up from a referral link.
In your opinion, how can it be done?

Comments

kbahey’s picture

Status: Active » Closed (won't fix)

This requires some custom code.

For example a hook_form_alter() that disables the "Create new account" button when the $_SERVER['referer'] dopes not contain a valid referral link that maps to a valid user on the system.

alliax’s picture

Thank you for your suggestion about how to go about implementing such a solution and for confirming that there isn't yet an easy to do way to do it, like a module someone else already made because he wanted the exact same functionnality.

Cheers,
James

ratinakage’s picture

I would also like to know this....

Thanks!