Automated Membership Approval

I understand that there is by default two settings for membership approval: manual approval or access for everyone.

However, I am required to limit access to the membership areas of my site, but manual approval is too time-consuming. Is there some way I can set up an automated filter that approves only those who are listed on say a spreadsheet or within a database?

I hope my question makes sense.
Thanks!

1 Like

You can set your signup to be automatically approved instead of manual approve.
https://support.wix.com/en/article/editing-your-member-signup-settings-for-the-default-form

Then you simply set your pages that you want as members only to site members only or whatever role you assign a member.
https://support.wix.com/en/article/creating-members-only-pages-596999
https://support.wix.com/en/article/creating-member-roles-6943237
https://support.wix.com/en/article/limiting-pages-on-your-site-to-specific-members-member-roles

However, all above is not code related and therefore not part of this Corvid forum, therefore you are much better suited talking to Wix Support themselves.
https://support.wix.com/en/article/contacting-wix-support
https://support.wix.com/en/article/contacting-wix-by-phone-3491545

If you are wanting to do something like that through code, then you would need to create your own signup lightbox and query a dataset with the users email address before the register function runs and signs them up to your site.
https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html
https://www.wix.com/corvid/reference/wix-users.html#register

Although that will only work if you already have preset members that you know of. If you have new members join your group for example, then they won’t be able to become site members until you put their email address in the dataset.

Plus, what happens if they change their email address or provider for example, as you can’t change the users login email in Wix, so the member would have to resign in with another email.

@givemeawhisky Thank you! I will have a preset member list with unique number codes so that will work perfectly!

@saidme154 I am running into the same problem. What is the code you ended up using, and on which page(s)?