Wanting info on forcing "Album can be viewed by" selection and locking it Wanting info on forcing "Album can be viewed by" selection and locking it
 

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

Wanting info on forcing "Album can be viewed by" selection and locking it

Started by trionnis, October 31, 2004, 01:56:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trionnis

Hello all!

I'd like to start out by saying that I'm *highly* impressed with this software, kudos to the developers!

my question is this:

I'm using this gallery system for images that I don't want shared with the public at large, and I'd like to find a way to force any user albums to have the "Album can be viewed by" set to a specific option, and hopefully also be able to lock it.

I've searched around here quite a bit, and I'm not finding any information on what I'm wanting... anyone have a suggestion or two to throw my way? =)  I'm somewhat adept with php/mysql, so if it requires a bit of hacking, I'm ok with that.

Thanks for looking, and have a good day!
-T

Joachim Müller

if you want all content to be private, why don't you use the quick and dirty hack mentioned here: http://coppermine.sourceforge.net/faq.php#viewThumbnailsOnly

Joachim

trionnis

  If I understand that correctly, that still allows the thumbnails to be viewed by unregistered users, correct?

  If that's so, I don't think that would work in my case.  I've got the gallery integrated with phpbb, and I'm really only wanting forum members to be able to view anything. This is a quasi-adult site that allows members to upload pics and I don't want my bandwidth being abused by non-members.  Right now, if the "Album can be viewed by" is set to "Members only" it works like I want, but I have to rely on the users to set that themselves, or I'll have to set it for each user manually.

  Can you point out which file or sql row that option is stored in?

Thanks!
-T

Casper

There is a mod in the mods board that redirects all un-logged in users to the login page, so unregistered users cannot see anything.
Please search the mods board, using the search string 'login.php' by user 'casper'.
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

trionnis

ok, I managed to modify delete.php and albmgr.php slightly to make it do what I wanted.

Thanks for the suggestions guys
-T