forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: MALTP on November 10, 2003, 08:42:14 pm
-
There's no "Album can be viewed by" field in Album Permissions. I've looked all over the Docs, FAQs, and boards (old/1.1.x/1.2); the few posts about this problem just say it has something to do with the permissions of groups, but don't mention what.
Here's what I'm doing: logging in as an admin > 'Album List' > 'PROPERTIES' next to any album. The three yes/no fields for Visitors appear, but not the "Album can be viewed by" field that I see in the picture of Album Properties in the Online Manual.
I have one other group besides the default four, and three users who are in that group. The field is missing whether the album is in a category or not. I'm trying to get it so one album (or, even better, a whole category, but I don't think that's possible) and the pictures in it can be viewed only by logged-in members of that one group.
Permissions for the group in question are: Rate (yes), eCards (no), comments (yes), upload (yes), pub. approval (no), personal gallery (yes), priv. approval (no).
Permissions for Registered are: Rate (yes), eCards (no), comments (yes), upload (yes), pub. approval (yes), personal gallery (no), priv. approval (no).
Permissions for Anonymous are: Rate (yes), eCards (no), comments (yes), upload (no), pub. approval (yes), personal gallery (no), priv. approval (yes).
(Coppermine 1.2 installed at http://maltp.com/gallery/, hosted by http://intersessions.com/ which uses PHP 4.3.3, Apache/1.3.27, GD bundled/2.0.15 compatible, MySQL 3.23.49.)
-
In somewhere of line 38 of modifyalb.php, have you got this line?
array($lang_modifyalb_php['can_view'], 'visibility', 5),
-
Yes, exactly on line 38.
-
sometimes "groups" seems to need an update. Change anything in your groups settings (you might revert it back in a minute) and check if this makes the album permission field re-appear.
GauGau
-
Nope, no changes in Album Permissions page after changing anything in Groups.
-
Discovered the problem:
In Config, "Users can can have private albums" was set to No. On a whim, I changed this to Yes. Lo and behold, the missing visibility field appears.
So why does this happen? Is this a bug, or does it make sense because of my misunderstanding of how private albums/visibility works?
-
This is what i have:
$data = array($lang_modifyalb_php['general_settings'],
array($lang_modifyalb_php['alb_title'], 'title', 0),
array($lang_modifyalb_php['alb_cat'], 'category', 2),
array($lang_modifyalb_php['alb_desc'], 'description', 3),
array($lang_modifyalb_php['alb_thumb'], 'thumb', 4),
$lang_modifyalb_php['alb_perm'],
array($lang_modifyalb_php['can_view'], 'visibility', 5),
array($lang_modifyalb_php['can_upload'], 'uploads', 1),
array($lang_modifyalb_php['can_post_comments'], 'comments', 1),
array($lang_modifyalb_php['can_rate'], 'votes', 1)
);
Could you try and switch your theme to the default one and see if you get the same result?
-
I'm having the same problem... I've had this problem in the past. How I fixed it was reinstall coppermine, just follow the upgrade instructions. It will tell you what files you have to save. After you reinstall you should see your field.
-
This problem was solved nearly a year ago.
The 'missing' field is due to your config settings.
Make sure 'users can have private albums' is set to yes.