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:

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

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