does Zenphoto Single-Login still work?

I've found the extension but there is no place to download or copy the script.

Kind regards,
Kristine

Comments

  • acrylian Administrator, Developer

    You find that extension wihich is so old that it is not really an extension here:
    https://github.com/zenphoto/unsupported-misc

    thanks for the note, there is some bug on your site in that regards.

    It will probably not work but we don't know and we cannot guarantee anything for the future. I personally never used this (and find "single login" generally rather bad idea actually).

    There is another exteions:
    https://www.zenphoto.org/news/zenphoto-single-sign-on/

    But we don't know about that either.

  • Thanks for the reply. You're right, there is a bug in my browser. I can see the download link fine on another computer.

    What I'm looking to do is -- if a user has only one managed album assigned to them (which is the majority of our users), they go directly to the album view, bypassing the gallery view. If they have rights to more than one album, they would see the gallery view.

    Thoughts on where I could add an if statement for that?

  • acrylian Administrator, Developer
    edited August 2

    You're right, there is a bug in my browser. I can see the download link fine on another computer.

    It's not your browser, I fixed the bug already ;-)

    I am not sure what you mean. Since (currently) only top level albums can be managed albums (incl. their sub albums) the albums the user has rights to should be visible on the toplevel if the user is logged in.
    https://www.zenphoto.org/news/an-overview-of-zenphoto-users/

  • Cheeky.

    Yes, the albums are visible. They show up nicely as a list in the the gallery view. For users who only have one album assigned, I don't want to see the gallery, just the image list inside the album.

  • acrylian Administrator, Developer
    edited August 2

    Okay, I don't understand why that matters but you can wrap the "next_albumloop that most themes use on theindex.php` page with a similar if clause as on the other topic.

    Additionally you can use album class method isMyItem() (e.g. $_zp_current_abum->isMyItem()) to check. But to get in the images list you also would need to redirect before all that. This is getting a bit more advanced as you cannot do that directly via the page.

Sign In or Register to comment.