forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: akaney on February 13, 2007, 11:10:59 pm

Title: New user with question about logging in and uploading
Post by: akaney on February 13, 2007, 11:10:59 pm
I am new to Coppermine, but finding my way around fairly well.  Two questions that I have, and have not been able to find an answer on the boards are:

1.) I have coppermine set up to allow users to set up an account without e-mail varification.  Is there a way to immediatly log the user in after setting up an account, or, if that is not possible, a way to direct the user to a login screen rather than the front page?

2.) When a user uploads a file, is there a way to create an album after the photo is uploaded, rather than the user having to set up an album first and then uploading the pictures?

I have searched the forums, but have not been able to find the answers to these two questions.  Please don't flame me if they have obvious answers.

Thanks in advance.
Title: Re: New user with question about logging in and uploading
Post by: Joachim Müller on February 14, 2007, 08:11:15 am
We have a "one question per thread" policy that you agreed to respect when signing up. Please do so in the future.

1.) I have coppermine set up to allow users to set up an account without e-mail varification.  Is there a way to immediatly log the user in after setting up an account, or, if that is not possible, a way to direct the user to a login screen rather than the front page?
Possible if you code it. Edit register.php (using a plain text editor), find
Code: [Select]
index.phpthat resides within several calls for the
Code: [Select]
msg_box-function and change it to login.php

2.) When a user uploads a file, is there a way to create an album after the photo is uploaded, rather than the user having to set up an album first and then uploading the pictures?
Has been added to the devel branch (i.e. will be in cpg1.5.x) - see http://forum.coppermine-gallery.net/index.php?topic=38552.0. You're welcome to backport that feature.