Firefox PHP

login problem

Posted by rebelpirate 
login problem
January 23, 2013 11:10AM
hello im a new user. i need help about template customize

i customize my template. i added the code below in my "template/header.tpl" when i wanna login so i enter my username and password to log in then i submit button but i cant login. why was that ?

Language: PHP
<form action="{URL->ACTION}" method="post"> {POST_VARS} {LANG->Username}: <input type="text" id="username" name="username" size="15" value="{LOGIN->username}" /><br /> <br /> {LANG->Password}: <input type="password" id="password" name="password" size="15" value="" /> <br /> <input type="submit" value="{LANG->Submit}" /> </form>

Re: login problem
January 23, 2013 12:38PM
Because URL->ACTION Doesn't point to the login page everywhere.
Try URL->LOGINOUT (which if the user is already logged in) points to the logout though.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: login problem
January 23, 2013 01:09PM
it works now. thank you very much.
Sorry, only registered users may post in this forum.

Click here to login