Advanced search  

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

Pages: [1]   Go Down

Author Topic: Wanting info on forcing "Album can be viewed by" selection and locking it  (Read 3854 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.021 seconds with 19 queries.