Quote:
Originally Posted by Mu5icMan
has anyone figured out how to use this with other Javascript applications
|
I don't understand why you guys are using this line in the first place?
<script type='text/javascript' src='/forum/clientscript/vbulletin_md5.js'></script>
I am running my script as below which I copied directly from the VB3 source code and it works great: (of course you have to include the chdir at the top of your non VB3 page first)
<form method="post" class="login" action="/forum/login.php" onsubmit="md5hash(vb_login_password,vb_login_md5pa ssword)">
<p>Username:<input type="text" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" onfocus="if (this.value == 'User Name') this.value = '';" /></p>
<p>Password:<input type="password" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></p>
<input type="hidden" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />
<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="submit" value="Login" class="submit" />