Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Private albums listed in public menu ?  (Read 3733 times)

0 Members and 1 Guest are viewing this topic.

tom

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Private albums listed in public menu ?
« on: January 11, 2004, 12:19:34 am »

Hi,
I would like only registered users to see the albums. However if I make all my albums private they are still listed in the category list on the front page (not the name and details of the albums appear but their number on the list.

When I then click on the category I get a nust php-error.

I would be nice if the number of albums and photos on the category-list could reflect the number of items the user is allowed to see. And if there is no album in a certain category the user is alowed to see there should be no link used for this category.

Any comments and suggestions on this ?

Tom

P.S. What would be really also a nice feature if I could choose for an private album wether it should appear in the overview (as a teaser) and if user without priviledges click on the album they get a nice page saying, they should register or contact the site admin in order to get permission to this album ...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Private albums listed in public menu ?
« Reply #1 on: January 11, 2004, 12:56:37 am »

Please search the board first before posting, this has been asked (and answered) already.

As always: a link would help us to tell if a specific problem exists with your coppermine install or wether you just haven't figured out coppermine config.

Please do only post one issue per thread, not various...

GauGau
Logged

tom

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Private albums listed in public menu ?
« Reply #2 on: January 11, 2004, 09:42:59 pm »

Quote from: "gaugau"
Please search the board first before posting, this has been asked (and answered) already.

sorry I did use the search but did not find a solution - it is not always easy to use the right words to find answers in such forums.

Anyway, I got rit of the php error (that's the part I found in the search). But still the listing of the albums is wrong - IMHO this is more a bug than a feature request and should be somehow solved - if really nobody got this problem as of now and there is no answer to it I will look myself ( and post the solution here ) - but since I am new to CPG this would take lots of my time - that's why I am asking you guys here for help - even partial answers might shorten my way to get it done ...
Quote
As always: a link would help us to tell if a specific problem exists with your coppermine install or wether you just haven't figured out coppermine config.

At the time of the original posting my CPG site which is still under development was just on my local computer - I now uploaded it to a temporary online-directory so you can have a look at it:
http://www.dynamis-consult.de/photo/
I put three albums there in two categories - two are private - when you click on 2004 you will read "1 albums on 1 page(s)" but won't see any. So public users should not even see the numbers of private albums and it possible get no link to it - or a link which than states "sorry no public album in this category ..."

This site is only temporary and will be removed in a few weeks again - so if you read this post after February 2004 the link might be gone ...
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Private albums listed in public menu ?
« Reply #3 on: January 12, 2004, 09:31:22 am »

I don't get the point - in the page you provided a link to, I can see the "private" icon for the albums I'm supposed not to see. If you want to hide them completely, you have to set the option "Show private album Icon to unlogged user" to "no" in coppermine config.

GauGau
Logged

tom

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Private albums listed in public menu ?
« Reply #4 on: January 12, 2004, 11:29:19 am »

Quote from: "gaugau"
I don't get the point - in the page you provided a link to, I can see the "private" icon for the albums I'm supposed not to see. If you want to hide them completely, you have to set the option "Show private album Icon to unlogged user" to "no" in coppermine config.

Oh sorry - I actually do not like to see the private-Icon - but I made it visible last night to be able to edit something with the admin-User.
Now it is back the original way ...

Thanks again and I apologize for my mistake.

Tom
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 21 queries.