Member
Member
annabell   2008-10-16, 04:59
#1

Hi,

This is the first time I have used ZenPhoto, so I am a little clueless! We have a login page setup using the single_login.php hack, and it all works well. When an admin users logs out they are redirected to the admin page "zenphoto/zp-core/admin.php"

Is there any easy way to change this redirect to the URL "zenphoto/single_login.php"

I am sorry if this is really simple, I just can't work out how to change it.

Thanks!

Member
Member
annabell   2008-10-21, 00:18
#2

i would really appreciate it anyone was able to help me out on this!

Member
Member
sbillard   2008-10-21, 01:18
#3

This hack mearly does the logon. Oce logged in the logouts are all handled by zenphoto code. Normally it directs you to the gallery, so I don't know how you are getting directed to the admin pages

So, maybe you should tell us how the users are logging out.

Member
Member
annabell   2008-10-21, 02:01
#4

Thanks for your reply. I thought there may be an easy way in the zenphoto code to change the redirect URL. When I am logged in as an admin user with limited rights to view a specific album only, and I choose log-out from the admin toolbox while in the actual album or image view, I am redirected to the admin login instead of the album.

Other users with more rights or privileges are logged out to the gallery index.

Member
Member
sbillard   2008-10-21, 18:59
#5

there will be a fix for this in [2782] included in tonight's build

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