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: login html script from main website  (Read 5198 times)

0 Members and 1 Guest are viewing this topic.

FearlessX

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
login html script from main website
« on: December 07, 2004, 04:07:56 am »

Hi.. anyone has the codes for it? i searched the forum but only found a solution - which is by making use of miniCMS. what else can i do to get my login script on my main website?
« Last Edit: December 07, 2004, 01:14:38 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

FearlessX

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: login html script from main website
« Reply #2 on: December 07, 2004, 11:38:30 am »

Thank you GauGau...you're my idol  ;D

However..
http://forum.coppermine-gallery.net/index.php?topic=11013.msg55137#msg55137

what html codes do I need in the login forms?

Quote
Your htlm code or what ever gose here to tel you guests that they need to login or whatever
« Last Edit: December 07, 2004, 11:45:50 am by FearlessX »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: login html script from main website
« Reply #3 on: December 07, 2004, 01:14:19 pm »

in your case (if you don't understand what actually is meant to go there): nothing!

Joachim
Logged

FearlessX

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: login html script from main website
« Reply #4 on: December 07, 2004, 01:29:09 pm »

Hi. what do you mean by .. "nothing"?  ???  i mean like.. that's for users who wants to display something to their existing users.. what i'm trying to do here is.. to insert a login form. Then after a user logs in, he'll be redirected to the gallery. is that possible?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: login html script from main website
« Reply #5 on: December 07, 2004, 01:36:48 pm »

Here's a tutorial on HTML and forms:
http://www.w3schools.com/html/html_forms.asp
Logged

FearlessX

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: login html script from main website
« Reply #6 on: December 07, 2004, 02:05:56 pm »

Hi thanks for the help.

for example..

Code: [Select]
<form name="input" action="html_form_action.asp"
method="get">
Username:
<input type="text" name="user">
<input type="submit" value="Submit">
</form>

what are the CPG 'form values' for it.. ? will it be secure.. ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: login html script from main website
« Reply #7 on: December 07, 2004, 02:17:46 pm »

why don't you just take a look at the html output of coppermine's "regular" login page? Everything between <form> and </form> is being used (you're free to remove any html that is used for formatting) - that's why TranzNDance suggested you take a look into the basic html form tutorials. What answer do you expect, if you even don't bother to post a link to your coppermine site?

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.