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: Wanting info on forcing "Album can be viewed by" selection and locking it  (Read 3578 times)

0 Members and 1 Guest are viewing this topic.

trionnis

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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
« Last Edit: November 02, 2004, 02:36:27 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

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
Logged

trionnis

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

  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
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231

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'.
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

trionnis

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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

Thanks for the suggestions guys
-T
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.