Can I do this with Wix Code?

Hi, I have a client that wants to have an exclusive login. I know I can add member login to a site or a page with the customer setting their own password. But they are a very high end property service and they want a bespoke /signup login page design that reflects their brand. They do not want the standard login page which is offered with the Wix member login and they will not want Facebook login option.

How can I achieve this with Wix Code?
Can the existing app be adapted with Wix code?

1 Like

Also, another query from the same client is, can a password be issued and then have a set time period to run before it expires?

Following

So I had a similar issue with a site I created for a client using Wix code. The client wanted certain pages to be restricted to member-only access and also wanted certain information stored on the member page. So what I ended up doing was using the Member/Login app that Wix uses to restrict certain pages and then also had them go in and create a separate profile using user-input fields and databases. That way we had all their personal information stored in one place and then I used dynamic pages for their membership page. The only glitch is that technically anyone could go in and edit someone’s member page. With all the research I did there didn’t seem to be a way to link the two features and there didn’t seem to be an option to make it so that only the person who input their information AND the administrator could edit it.

Unfortunately though there didn’t seem to be any way to customize the actual login page. I was also looking for that option for the sake of consistent design and branding.

Please can someone from the code team give me an answer to this?

Hello,
Each member has a unique ID if creating a dynamic member page assigns the ID to the URL, only the member that has that ID can view and update their information. It is also possible to create different database for each member by assigning each one in a dynamic page unique to the member. I accomplished both ways and it worked.

Hi Sian,

We’re aware that we should allow more customisation options for login page. Until we figure out this problem, you can make the signup as 2-step flow, one of which could be branded form.

As mypurdy suggested, you can store this extra info in a new collection like “UserData”. In it, there will be a system _owner field which stores UIDs of your users. You can also set the permissions, that only Admin and Site Member Author could access and edit it. This way you’ll be certain that members will be able to access only their data and not other users.

It would be possible for the Wix team to record a video tutorial on the login page and members, because I was able to create the profile page with all the customer data, I was able to create the update page and also the order page but I cann’t create the page login that identifies the member Id to take you to the dynamic page of your profile. I used the coding offered in the Wix Code Advanced Articles but it didn’t work. The help could be more accurate showing what we should do and not just putting links to do-it-yourself articles.

Hi Sian, did you end up figuring out how to set-up an expiry time on the passwords? I just had the same request from a potential client…