2014-12-29, 08:20:41
(2014-12-28, 19:45:53)ds10 Wrote: One problem with login was that it didn't work if you put the login box on the front page and you logged in once and logged out after that, you couldn't log because the login part of the URL would be retained. (You would see the part ?logout=yes in the URL)
I've upload an update for the plugin to prevent that.
Yes, I saw that issue and did have that issue before but addressed it.
I decided to remove the entire Get Simple installation and start over fresh. I'm using 3.3.4, uploaded and using the My Company theme and then installed the Front End User Login Enhanced plugin.
I created one user in the "User" group. I made sure the home page in My Company is using the frontpage template so there is no sidebar (where I put the Login box). I created a second page using the default template. In the theme configuration I edited the Sidebar component. I deleted the default wording in there and put in the following code in the sidebar:
Code:
<?php echo show_login_box('en'); ?>
<?php echo welcome_message_login('en'); ?>
When I go to that newly created page the login box is there and I am able to successfully login. I then click on the home page and then go back to the original page where I logged in and it shows the login box again as if I have never logged in. If I want to see that page (which is set to be viewable by "user", not "unauthorized") I would have to login in again to view the page.
So somehow my session information is being lost when I go to the Home page and then back to the other page.