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: user login  (Read 3363 times)

0 Members and 1 Guest are viewing this topic.

fbattikha

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
user login
« on: March 24, 2005, 06:15:58 pm »

Hey guys, i've made a page in html, and i've place a login area on it, how can i make it integrate with coppermine?
help is greatly appreceated ;)
« Last Edit: March 29, 2005, 07:07:57 pm by fbattikha »
Logged

sabrewolf

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: user login
« Reply #1 on: September 09, 2005, 01:06:19 am »

I don't know if you have already solved this issue, but if you have put a login on your html page i assume you have used the <form> tag. In which case, you only have to make sure that the fields are named correctly and that the form points to login.php (wherever it's located) The textfields need to be named "username" and "password", not really nuclear science there, and the submit button needs to be named "submitted". If you want to use a custom gif as your submit button you could use the <style> tag, example posted here:   

 <input name="submitted" type="submit" id="submitted"  style="background-image:url(yourimage.gif); width:15px; height:16px; border:0; color:#036;font-family: Verdana; font-weight: bold;" value="" /> //or something like it...

Hope this helps you or someone else :-)



Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: user login
« Reply #2 on: September 09, 2005, 08:57:14 am »

just go to coppermine's login page, view the html output (not the source code of login.php, but the html output it generates) and copy'n paste the stuff between <form ...> and </form> into your html page.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 16 queries.