coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: bit bit spears on February 14, 2004, 01:54:23 AM

Title: here is the only way i can show my question about the login.
Post by: bit bit spears on February 14, 2004, 01:54:23 AM
here is the only way i can show my question about the login.

go here:

http://tangiblebrit.com/archive/[/list:u]

I want that login form to actually log you in, but when i type in the account info, it just brings me to the login.php, asking for a password...please help me!

*also, i am having many problems with it-the search is ghetto, so i had to remove it, and the favorites feature keeps saying 'no images found!'
Title: here is the only way i can show my question about the login.
Post by: Joachim Müller on February 14, 2004, 09:04:15 AM
well, apparently you have modified the coppermine code. How are we to know what you changed and how to fix it, if you even don't care to give us a test user account?

*GauGau runs off to a library to get a book on clairvoyance*
Title: omg
Post by: bit bit spears on February 14, 2004, 04:17:25 PM
Gau Gau-you don't need an account-on all of my coppermine installs, it won't let you make your own login page, it just points to login.php-even if you enter the right information. There is no reason you need an account. I just want to know the code that won't forward to login.php, but log you in (from NOT login.php)
Title: -
Post by: bit bit spears on February 14, 2004, 04:19:41 PM
omg-i didn't modify anything to make the login.php not work. this is a whole nother page.
Title: here is the only way i can show my question about the login.
Post by: Casper on February 14, 2004, 04:21:44 PM
I don't know which code it is, but is in the login.php.  You need the code that updates the db and sets the cookies.
Title: =
Post by: bit bit spears on February 14, 2004, 04:22:27 PM
To GauGau: why are you so rude?

Quote*GauGau runs off to a library to get a book on clairvoyance*

That is totally unacceptable-and unnesessary

Please consider being nicer to users of coppermine-all we ask is for help, not rude comments not even regarding the issue.
Title: here is the only way i can show my question about the login.
Post by: Casper on February 14, 2004, 04:24:56 PM
And if you get it working, you will need something on the page to allow new users to register.
Title: 6
Post by: bit bit spears on February 14, 2004, 04:55:48 PM
well, accounts are only requestable-because it is a picture agency with HiRes events, portraits...etc

*for HiRes downloads-you have to pay because the photographers need to get paid for it. that is why i really can't give access.
Title: Re: =
Post by: Joachim Müller on February 14, 2004, 10:53:50 PM
Quote from: "tb"To GauGau: why are you so rude?
[...]That is totally unacceptable-and unnesessary.
What do you expect? You post a link to a page that obviously requires the visitor to login. As those who offer support do it on a voluntary basis, we can ask those who seek support to give as much info as possible. I'm not in for a hide-and-seek game on other people's pages - it would have been enough if you had posted with your link "enter whatever username you can think of and submit the form, you'll be sent to the actual coppermine page".
To answer your question: In fact you want a login to be mandatory - I'm quite sure what you ask for has been requested before (and answered as well). Please do a search on the board. If you don't find an answer on the board that satifies you, do as casper told you - in fact, use init.inc.php or functions.inc.php (which are being used on all coppermine pages) and insert a little if...then to check wether the user is logged in; if he isn't, send him to the login page (with the exception of the register page maybe).

GauGau