Hello,
I have added a ‘Members Area’ to my site. It is just one page that site users have to log in to see. That part works well, but once the visitor has logged in and is on the member page, there is no way for them to log out. If they leave the member page, or site, they never have to log in again to access the page. I would prefer that the visitor has to at least log in each time they wish to access this member page. Any ideas? Can I add some kind of time out feature, or can I force the user to log in each time they want access?
Am not a programmer, so any help would be appreciated!!!
Cheers,
Jana
When you say you have added a Members page, is that from the Wix Members app or through the use of Wix Corvid?
If you are using just the Wix Members app from within the Wix Editor itself, then you are better suited going through Wix Support or read the Wix Support pages.
https://support.wix.com/en/article/contacting-wix-support
https://support.wix.com/en/site-members/setting-up-a-members-area
If you have done it through code like in this tutorial linked below, then say what you are having issues with code wise and paste up any used code here so that we can all see what you have got so far.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area
Thanks for getting back to me! I set it up using the WIX Members App. I spent an hour on support with WIX yesterday and they offered no solution other than to vote for more ability to edit the feature and to come here, to the Corvid forum and see if anyone had any advice.
@jcbeaumont
You have a simple choice to make then.
Either do it without code using the Wix Members Login Bar, which is described in the first four links of this section here.
https://support.wix.com/en/site-members/customizing-your-members-area
Or you look at creating your own login and logout button through code like as the Wix Member Profile tutorial from my previous replies.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area
If you want to go down the code route then you can also look at Steve’s reply in this previous post.
https://www.wix.com/corvid/forum/community-discussion/this-is-how-to-logout-and-go-to-the-page-of-your-choice
Finally, for the code sections of login and logout, see the Wix Users API reference here.
https://www.wix.com/corvid/reference/wix-users.html
https://www.wix.com/corvid/reference/wix-users-backend.html
Thanks again for all of your help. I figured it out. I had originally deleted the Members Area as I just wanted the Log In / Sign Up option for one specific page. I didn’t want an actual members area. I realize now that in order to have the Log In / Log Out bar, I need that members area. Oops.
Thanks a lot . After reading comments I also got the solution of this problem.