Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Missing field in Album Permissions?  (Read 4996 times)

0 Members and 1 Guest are viewing this topic.

MALTP

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.maltp.com/
Missing field in Album Permissions?
« 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.)
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Missing field in Album Permissions?
« Reply #1 on: November 11, 2003, 02:51:09 am »

In somewhere of line 38 of modifyalb.php, have you got this line?
Code: [Select]
   array($lang_modifyalb_php['can_view'], 'visibility', 5),
Logged

MALTP

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.maltp.com/
Missing field in Album Permissions?
« Reply #2 on: November 11, 2003, 06:06:48 am »

Yes, exactly on line 38.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Missing field in Album Permissions?
« Reply #3 on: November 11, 2003, 07:44:48 am »

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
Logged

MALTP

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.maltp.com/
Missing field in Album Permissions?
« Reply #4 on: November 11, 2003, 08:17:16 am »

Nope, no changes in Album Permissions page after changing anything in Groups.
Logged

MALTP

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.maltp.com/
Fixed
« Reply #5 on: November 13, 2003, 06:07:41 am »

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?
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Missing field in Album Permissions?
« Reply #6 on: November 13, 2003, 06:43:58 am »

This is what i have:
Code: [Select]
$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?
Logged

joerod

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 12
    • JoeRod.com
Re: Missing field in Album Permissions?
« Reply #7 on: October 19, 2004, 10:51:52 pm »

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.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Missing field in Album Permissions?
« Reply #8 on: October 19, 2004, 11:37:54 pm »

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.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 18 queries.