The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hey!
I would like to make a login place from of another page than the forums. Like this, PHP Code:
can anyone help me with this? thanks. Dondxon. |
#2
|
||||
|
||||
![]()
The site where your form is loacated is the same of the site?
|
#3
|
|||
|
|||
![]()
yes
lets say, they have to login on www.syndromeex.com/vb/ (forums directory) and i want another login place on www.syndromeex.com/testlogin.php just a random called site. so i should make a code that sends the username and password from testlogin.php to ./vb/? |
#4
|
||||
|
||||
![]() HTML Code:
forum name:<br /> <form action="vb/login.php?do=login" method="post"> <input name="username" type="text"> <br /> <br /> username<br> <textarea name="password" type="password"> </textarea> <br> <input type="submit"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> ![]() |
#5
|
|||
|
|||
![]()
no it doesnt work. it says ive filled in the wrong password. and i guess ive fked up the html code aswell.
Can anyone write me a working html for this :S? --------------- Added [DATE]1343037976[/DATE] at [TIME]1343037976[/TIME] --------------- o nevermind. i alerady have one now ![]() HTML Code:
<form method="post" action="/vb/login.php"> username <input type="text" name="vb_login_username" /> password <input type="password" name="vb_login_password" /> <input type="submit" value="login" /> </form> <!-- login form --> <form action="vb/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <script type="text/javascript" src="vb/clientscript/vbulletin_md5.js"></script> Username: <input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="Username" onfocus="if (this.value == 'Username') this.value = '';" /> <input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me</label><br /> Password: <input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /> <input type="submit" class="button" value="Login" tabindex="4" title="" accesskey="s" /> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="forceredirect" value="1" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> <input type="hidden" name="url" value="http://www.syndromeex.com/" /> </form> |
#6
|
||||
|
||||
![]()
So this works?
Code:
<form action="vb/login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)"> <script type="text/javascript" src="vb/clientscript/vbulletin_md5.js"></script> Username: <input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="Username" onfocus="if (this.value == 'Username') this.value = '';" /> <input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />Remember Me</label><br /> Password: <input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /> <input type="submit" class="button" value="Login" tabindex="4" title="" accesskey="s" /> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="forceredirect" value="1" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> <input type="hidden" name="url" value="http://www.syndromeex.com/" /> </form> |
#7
|
|||
|
|||
![]()
no the one you send didnt worked properly at all. it said ive filled in a wrong username / pass
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|