The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HELP! My login script doesnt work on MAC
And it appears to happen when there are spaces in the user name. Here is my form:
PHP Code:
|
#2
|
|||
|
|||
Does this only happen on MAC with spaces in username? Perhaps try printing out the username by temporarily adding the line in bold to the login.php file:
Code:
echo htmlspecialchars_uni($vbulletin->GPC['vb_login_username']); exit(); // can the user login? |
#3
|
|||
|
|||
sadly, it happens on all macs. Every mac user that has come to my site i've had to change their password for them in the admin control panel.
It appears as though the javascript in the registration process does not properly hash their password. |
#4
|
||||
|
||||
try this ...
HTML Code:
<script type="text/javascript" src="/forums/clientscript/vbulletin_md5.js"></script> <form name="vblogin" action="/forums/login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)"> <table border="0" cellspacing="2" cellpadding="2" class="smallText" style="color: #999DB8"> <tr> <td valign="top" align="right">username:<br /><input type="text" style="width: 80px;" class="input_login" name="vb_login_username" id="navbar_username" accesskey="u" /></td> <td valign="top" align="right">password:<br /><input type="password" style="width: 80px;" class="input_login" name="vb_login_password" accesskey="p" /></td> <td valign="bottom" align="right"> <input class="input_login" type="submit" value="Login" accesskey="s" style="margin-bottom: 2px; padding: 0px; text-align: center;" /> </td> </tr> </table> <input type="hidden" name="cookieuser" value="1" id="cb_cookieuser_navbar" accesskey="c" /> <input type="hidden" name="url" value="<? echo $_SERVER['REQUEST_URI']; ?>" /> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="login" /> <input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|