forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: FearlessX on December 07, 2004, 04:07:56 am

Title: login html script from main website
Post by: FearlessX 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?
Title: Re: login html script from main website
Post by: Joachim Müller on December 07, 2004, 08:27:09 am
http://forum.coppermine-gallery.net/index.php?topic=11013.0
Title: Re: login html script from main website
Post by: FearlessX 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
Title: Re: login html script from main website
Post by: Joachim Müller 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
Title: Re: login html script from main website
Post by: FearlessX 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?
Title: Re: login html script from main website
Post by: Tranz on December 07, 2004, 01:36:48 pm
Here's a tutorial on HTML and forms:
http://www.w3schools.com/html/html_forms.asp
Title: Re: login html script from main website
Post by: FearlessX 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.. ?
Title: Re: login html script from main website
Post by: Joachim Müller 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