user permission..

Hi
I have set up user logins for each album ,so a user can edit and upload allocated albums only. All working great.
However... I need to block the user from creating new sub albums, is there a setting to cope with this ( that i may have missed) or a simple coding tweak ? Or would i need to get some custom coding made.
Any guidance / quick tips much appreciated before i go all round the houses.
thanks

Comments

  • You need version 1.4.1 for this. It is currently in beta as the nightly builds and should be released soon. You will need to remove the album "edit" rights from the user. These are in the managed albums list.
  • brilliant.. thank you!
  • Hi I have tried both the latest trunk and development versions and I get a register_globals must be off (pink error)
    So i can't get past the set up page.
    I am trying to upgrade rather than do a clean install. Maybe that is the problem?
    php.ini is in the local directory and register_globals is set to off on hostgator hosting. Can anyone advise on fixing this?
  • You'd be best off to start a new thread for the new problem lainyrache
  • This is a PHP setting which has Terrible security issues. You will have to change the setting in your php.ini file or elsewhere depending on your server configuration.
  • Hi.. yes thanks I was aware the warning was there for good reasons. So I had set it to off, turns out the php.ini in the home directory was set to on. - so conflicting. My host fixed it. Solved. Thanks !
  • Okay.. I have the upgrade working, back to the original post,

    I needed to.....
    'block the user from creating new sub albums...but i also want them to edit any albums already allocated to them.

    I have ticked group rights
    View fullimage View albums Upload Albums

    In managed albums
    the album I want the user to edit is selected,
    I deselected edit album.
    That now removes rights to edit the main album, not just the creation of the sub albums?

    Have i missed something, I suppose that does what it says on the tin, but its not what i need.

    Have i configured wrong, or does the upgrade not do what i need after all?
  • Also has an error Notice: class-album detected an invalid folder name: Mary malone. in /home/scotll/public_html/dev2/zp-core/class-album.php on line 76
  • The error above only exists on my upgrade not on a clean version,
    I am not sure what I have done wrong there!

    However on the clean version.
    user_groups plugin does some flakey stuff... so i disabled.
    Removing / disabling the edit albums facility as suggested removes the facility to edit the album. ( which i don't want)
    Basically i want to remove the ability for album managers to add new subalbums within a top level album but they need to upload and edit text for the top level album allocated to them, looks like i need to find someone to customise the code...or is this my user error ?
  • The error indicates that the album name does not match with a folder name on disk. Normally that happens due to character set discrepencies between what Zenphoto has been told the file system character set is and what it actually is. BUT, that only matters when there are diacritical marks in the name. Your case does not seem to be that way.

    But still, the most likely cause would be character set issues.
Sign In or Register to comment.