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: just starting out - completely open access gallery  (Read 4687 times)

0 Members and 1 Guest are viewing this topic.

batfastad

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
just starting out - completely open access gallery
« on: August 18, 2005, 02:47:52 am »

Right I've got coppermine up and running and it seems good.

I'll need to massively edit the template files though to get it working the way I want.

Is there a way to set it so that anyone can create albums?

My gallery will be protected using htaccess so only people with the password will be able to get in.

I want to completely hide the user registration element of the system and have it completely open access.
This will take plenty of editing. It took me months to strip out loads of stuff from phpBB that I didn't need and I guess I'll have to do the same here.


Is this possible with coppermine or shall I just go for something else??
Or is there another gallery product that someone can recommend?

Thanks

Ben
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: just starting out - completely open access gallery
« Reply #1 on: August 18, 2005, 09:57:32 am »

not sure if it works... but when someone gets added to your htpasswd you can at the same time add him to the coppermine db. With some modification and the use of $_SERVER['PHP_AUTH_USER']  and $_SERVER['PHP_AUTH_PW'] it should be possible to log him on automatically

rewrite the login function for that, then check with (!USER_ID) if he's already logged in. If not send him to your modified login function passing the auth. Don't generate output in your new login function, just redirect to the referring page and done.

batfastad

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: just starting out - completely open access gallery
« Reply #2 on: August 18, 2005, 11:29:59 am »

All I need is just one htaccess user/pass combination, not loads of different accounts.

So it's not possible to have anonymous users create an album?


The method you detailed sounds pretty involved and way beyond my understanding of coppermine at the moment.
Definitely something to think about though.

Thanks

Ben
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: just starting out - completely open access gallery
« Reply #3 on: August 18, 2005, 01:00:12 pm »

ahh.. then just change the anonymous user group in your group manager. That's pretty easy ;)
However there will be limitations. I don't think personal albums will work properly. How should the script difference between anonymous and anonymous

batfastad

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: just starting out - completely open access gallery
« Reply #4 on: August 18, 2005, 01:16:05 pm »

What option do I need to change in the 'Groups' area?
I can't see a 'can create albums' option

This does sound easier!  :D :D

Thanks
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: just starting out - completely open access gallery
« Reply #5 on: August 18, 2005, 03:44:52 pm »

Just replay what happens if you set them to be able to creaty personal albums. If that's not working to your likings... someone needs to modify the code for you cause creating regular albums is admin stuff.

batfastad

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
Re: just starting out - completely open access gallery
« Reply #6 on: August 18, 2005, 04:33:10 pm »

Yeah regular albums is what I'm on about.

So only admins can do that?


I assume the Anonymous user can't create more than one personal album?


Guess I'll have to try and get it so that everyone has admin access then, and just remove most of the features from view in the templates.

Alternatively do you know of an add-in to do this?
Or maybe another product entirely?

Thanks

Ben
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: just starting out - completely open access gallery
« Reply #7 on: August 18, 2005, 05:08:32 pm »

If you know a lil bit php have a look at albmgr.php... here you need to modify a few lines.. or just ask on the freelancers board
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.