What I need is as following and I wonder if the membership plugin can do the work and how (if yes)?
1. I have different types of users
2. Different users can either register without a referral code or must have a referral code
3. The system will auto generate a new referral code for any registered new user based on the user type
4. Ideally the system will auto generate a qr-code for each registered user, if not, it would at least have a placeholder for user to complete his/her own qr-code and complete the registration process with complete profile.
5. In some scenarios the certain type of registered user would need to register a group of users on their behalf and those new users would be under his/her name
6. All registered user would have a report_to user (or referred_by)