a way for register users to view only. a way for register users to view only.
 

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]

Main Menu

a way for register users to view only.

Started by hilophilo, February 20, 2004, 02:19:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hilophilo

is there a way for only register users to views the gallery?

bit bit spears


hilophilo

that thread is not the same thing..
I want only members to view the gallery. no guest can view.

Casper

That is exactly what that mod does, it prevents guests from viewing the gallery.

The other way, without mods, is to change the properties of every album, to veiw by registered users only.

To do this, logon as admin, and click on the properties box next to each album.  if you cannot see the 'album can be viewed by' box, go to config, and set 'users can have private albums' to YES.

When you do this, guests can see the page, but no pictures.
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


hilophilo

Nevermind. got it back working. I went to the database and change the visibility value to 0 for the album. I believe there is a bug, maybe have to do with the phpbb intergration.  When you make the album private for the Members group, it doesn't let anyone see the album including the admin. It points to a blank album.

Casper

Yes, this is a known situation. It only allows members of the group set to see it, not admin. It is being sorted for the next version and there is a fix if you need it.

The workaround is to set 'Show private icon to unlogged users' to YES.  Admin can then see the album and can see and edit the albums.
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