Member
Member
michaelsam   2009-09-30, 06:50
#1

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 ?

Member
Member
michaelsam   2009-10-01, 06:41
#2

no answer no idea for me ?

Administrator
Administrator
acrylian   2009-10-01, 09:31
#3

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.

Member
Member
michaelsam   2009-10-05, 06:56
#4

hmmm it also doesn't work as plugin
do you have any other idea for me ?

Administrator
Administrator
acrylian   2009-10-05, 08:38
#5

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.

Member
Member
michaelsam   2009-10-05, 11:41
#6

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 ?

Member
Member
michaelsam   2009-10-05, 12:20
#7

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

Administrator
Administrator
acrylian   2009-10-05, 12:54
#8

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.

Member
Member
michaelsam   2009-10-05, 13:45
#9

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 ?

Administrator
Administrator
acrylian   2009-10-05, 14:03
#10

I am sorry, I can't answer. The user management is actually sbillard's part I am not familiar with in detail.

Member
Member
sbillard   2009-10-05, 23:04
#11

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.

Member
Member
michaelsam   2009-10-06, 07:09
#12

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

Member
Member
michaelsam   2009-10-13, 14:22
#13

this works now in revision 4546 again without changing anything - thx

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