Hello, I'd like to pick your brain on how I would go about limiting user registration to people coming from a referral url.

I'd like to deny user registration if there is no user referral cookie detected.

I'd like to do it automatically, in any way possible.

It could hide the registration form if the cookie is not found, or it could deny and display a message upon registration form submit.

The goal would be to have an invitation (referral) only website where people could only register if they've found a referral link and clicked on it.

What do you think? Is it possible to do that easily?

Comments

ratinakage’s picture

I would also love this feature...

Did you manage to solve this problem??

Thanks....

alliax’s picture

No I haven't but in another thread (to which you've replied) the owner of the module said it would require custom code..
What I did finally is to allow anyone to register, referral link or not, but now a specific role is required to post, and this role can be bought with paypal money.
My goal (this summer) was to seriously limit posting activity on my site, and it's working that way.

When I posted this issue my goal was different, I wanted to limit new user registration, so that posting activity would also reduce slightly. But after some months pass and so many new users, because I couldn't do or find a solution to my first problem, now I needed a solution to limit posting activity.

Offering users to pay to post is working wonders, I have reduced new posts at least 90% !

ratinakage’s picture

Cool. Mine is a shop that you need to be referred to buy stuff. So permissions are working for the time being but a solution is needed... ;)