Member
Member
familiesr4ever   06-01-2012, 00:29
#1

The user_login-out v1.4.1 is not working on (zpArdoise 1.4 – a ZenPhoto/ZenPage theme). It displays a login button at the bottom of the page instead of a logout button. When you press the login button it takes you to the login screen and then displays a logout button.

Member
Member
vincent3569   06-01-2012, 09:33
#2

hi

when you are not connected, you have a login link in the footer ?
when you are connected, you have a logout link in the footer ?
so the login/logout process works well.

but you are right about one thing : when you connect yourself, register.php is displayed (the login fields are shown) and when you are connected, there is no automatic redirection : you stay on register.php and as you are connected, a logout link is displayed.

There are many different ways to solve that :

  • having the login form included in all the pages (as it is in all the zenphoto themes) : I don't realy like that.
  • having an automatic redirection to the page the user was before connection, but it seems to need some improvements of zenphoto code.
  • having the register page in a pop-up or something like that.

I will have a look about that.

Member
Member
vincent3569   06-01-2012, 11:35
#3

I found a workaround that does not convince me.

You can have a look here : http://test.vincentbourganel.fr/ (you can use the login invite/guess! with no specific rights)

@arylian and sbillard :
is there a way to force a redirection before connection ?

for example, on the bugtracker, if you are on a ticket being not connected and, when you login yourself, you will return to the ticket after the login process.

Member
Member
sbillard   07-01-2012, 00:29
#4

The print logon form function does provide for passing a redirect url. Normally if the form is on the page you want to view then the login will redirect you to that page. But of coures if you have only one logon form, how will it know what page to redirect to.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.