just starting out - completely open access gallery just starting out - completely open access gallery
 

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

just starting out - completely open access gallery

Started by batfastad, August 18, 2005, 02:47:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

batfastad

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

Stramm

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

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

Stramm

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

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

Stramm

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

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

Stramm

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