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: [Solved]: Only registered users can see photos!  (Read 3969 times)

0 Members and 1 Guest are viewing this topic.

Bart

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Only registered users can see photos!
« on: March 09, 2004, 11:16:24 pm »

How I can make to anonymous users could not see any photos in gallery. Only registered users can see photos?
Logged
Bart

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Only registered users can see photos!
« Reply #1 on: March 09, 2004, 11:22:57 pm »

Hi,

in admin mode, first go into config, and make sure 'users can have private albums' and 'show private album icon to unlogged user' are both set at YES.  
Now go to the category page, and you will see the 'properties' button next to the album.  Click on it, and change the 'album can be viewed by' in there.

note, in the next version, you won't have to show the icon.
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

Bart

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Only registered users can see photos!
« Reply #2 on: March 10, 2004, 01:17:11 am »

I didn't see in the category page 'properties' button  :cry:
Logged
Bart

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Only registered users can see photos!
« Reply #3 on: March 10, 2004, 01:25:50 am »

You must be in 'admin mode', and logged in with your admin account.
All albums, except user albums, have the 'delete', 'properties', and 'edit pics' buttons next to the album thumbnail.

for the 'user galleries' albums, you have to follow the link to the user sub-category page (one further link) before you see these buttons.

If you follow the above, and still cannot see the buttons, please post back here.
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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Only registered users can see photos!
« Reply #4 on: March 10, 2004, 01:31:48 am »

I have read your first post agai, and think I may have mis-understood.

If you want to stop ANY unlogged user from seeing ANY pics, look at this thread. http://forum.coppermine-gallery.net/index.php?topic=3503
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

Bart

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Only registered users can see photos!
« Reply #5 on: March 10, 2004, 01:51:42 am »

I don't know what You mean. If You can make screen shot and show me how I must do it. It is strange for me why You don't add option in config 'show photos only for registed user'
Logged
Bart

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: Only registered users can see photos!
« Reply #6 on: March 10, 2004, 01:53:45 am »

sure, all you have to do for a feature to make it work is adding an entry in the coppermine options - no additional coding necessary :wink:

GauGau
Logged

Bart

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Only registered users can see photos!
« Reply #7 on: March 10, 2004, 02:02:25 am »

I want only to log in users could look photos. You do not let me concrete solution my problem or it is not working!!!
Logged
Bart

Bart

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
[Solved]: Only registered users can see photos!
« Reply #8 on: March 10, 2004, 02:14:01 am »

Quote from: "casper"
I have read your first post agai, and think I may have mis-understood.

If you want to stop ANY unlogged user from seeing ANY pics, look at this thread. http://forum.coppermine-gallery.net/index.php?topic=3503


Basai  :D
Logged
Bart

matteast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
[Solved]: Only registered users can see photos!
« Reply #9 on: April 01, 2004, 08:21:43 am »

So there is no way of making other Categories (albums within them) private then.

Because i have tested it the way you wanted and it worked. But would like to do it with Albums that i have added as an Admin.

Is this possible?

Matt E
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Only registered users can see photos!
« Reply #10 on: April 01, 2004, 10:46:36 am »

Yes, to make individual albums not visible, first you have to set 'users can have private galleries' to YES in config.
Now, when you go to the album properties, by clicking on the 'properties' button next to the album thumb, you will see a box which says 'album can be viewed by', and a selection box.  You can choose here who can see this album and the pics in it.
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

matteast

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
[Solved]: Only registered users can see photos!
« Reply #11 on: April 01, 2004, 01:24:14 pm »

Thanks casper...

It now works, just when i enabled users to have private albums first up that option wasnt visible...

but when i relogged on an hour later it was...

But thanks for your quick help.


Matt E
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
[Solved]: Only registered users can see photos!
« Reply #12 on: April 01, 2004, 02:02:11 pm »

Quote from: "matteast"
It now works, just when i enabled users to have private albums first up that option wasnt visible...

but when i relogged on an hour later it was...


Almost certainly because your browser wasn't refreshing the page, just returning to the cached version.
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.024 seconds with 19 queries.