external login system

hi,

i wanted to update to the newest version of zp but now i run into a problem
i have an external login script and zp is running in an iframe
in version 1.2.6[4357] i was asking at the begin from the bodysection for "if($logged_in){" and it worked, but now it always tells me that i'm not logged in - so what might be the problem - did you change something with your loginsystem ? - is it possible to use your loginsystem external on my page ?

Comments

  • no answer no idea for me ?
  • acrylian Administrator, Developer
    Sorry, I don't think that we in general changed anything. The Zenphoto variable to check is actually `$_zp_loggedin`.

    But of course the iFrame might be the problem as it calls a page directly. Maybe try to use the "zenphoto as a plugin" way which is more elegant anyway.
  • hmmm it also doesn't work as plugin
    do you have any other idea for me ?
  • acrylian Administrator, Developer
    We don't know the details about your site so everything would be guessing. Try to make a theme to look like your site, this is still the easiest and most hassle free way.
  • u r right, but i know that it worked at least till version 126 4357 would it help when i post here my logged_in function ?
  • i also tried this moment to include my loginscript in the zp-theme and it doesn't work also - so zp to make lookalike my page wouldn't also help
  • acrylian Administrator, Developer
    Well, if it worked you probably should find out what changed. There has been some work on the user management. Also some plugins have been renamed/joined. Best you take a look at the svn comment to see if that affects what you are using.
  • i had have a look and also tried out a view versions and found out, that it happens between 4492 and 4495 - and now i know - in 4494 you deleted the line 10 in admin-functions.php and thats the reason why it didnt work any longer - now i gave this line back to line 9 in this file and all is all right again - do i have to take care of something with this line ?
  • acrylian Administrator, Developer
    I am sorry, I can't answer. The user management is actually sbillard's part I am not familiar with in detail.
  • Not deleted, moved. There is a script named admin-globals which is instantiated by all the back-end pages. Admin functions should be capable of being used on the front end, so setup specific to the admin pages was removed.

    In particular, there should be no session started on the front end unless the `gallery sessions` option has been set.
  • yesterday that seams to be the solution for my problem - today it doesn't work any longer - i will continue searching the reason for my problem
  • this works now in revision 4546 again without changing anything - thx
Sign In or Register to comment.