Member
Member
lainyrache   2011-06-15, 10:34
#1

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

Member
Member
sbillard   2011-06-15, 15:47
#2

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.

Member
Member
lainyrache   2011-06-15, 15:59
#3

brilliant.. thank you!

Member
Member
lainyrache   2011-06-23, 06:16
#4

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?

Member
Member
micheall   2011-06-23, 07:57
#5

You'd be best off to start a new thread for the new problem lainyrache

Member
Member
sbillard   2011-06-23, 17:40
#6

This is a PHP setting which has [b]Terrible[/b] security issues. You will have to change the setting in your php.ini file or elsewhere depending on your server configuration.

Member
Member
lainyrache   2011-06-24, 13:09
#7

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 !

Member
Member
lainyrache   2011-06-24, 13:28
#8

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?

Member
Member
lainyrache   2011-06-24, 13:34
#9

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

Member
Member
lainyrache   2011-06-24, 14:18
#10

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 ?

Member
Member
sbillard   2011-06-25, 00:22
#11

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.

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