2009-07-22, 11:36 PM
Hey
is there any coder out there ?
i got a code , but i can't make it work , cuz im not a coder , also this code is for phpbb and if anyone can convert it to a mod that actually works on mybb it will be awesome
here's the code :
i need this mod badly , it will be helpful for all mybb users
Also , if you can make it in "WIDE" it will be better , and a captcha image too ...
is there any coder out there ?
i got a code , but i can't make it work , cuz im not a coder , also this code is for phpbb and if anyone can convert it to a mod that actually works on mybb it will be awesome
here's the code :
<table width="100%">
<tr><td class="thead">Quick Register</td></tr>
<script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
<script type="text/javascript">
function verify_passwords(password1, password2)
{
// do various checks, this will save people noticing mistakes on next page
if (password1.value == '' || password2.value == '')
{
alert('Fill out both password fields');
return false;
}
else if (password1.value != password2.value)
{
alert('Entered passwords do not match');
return false;
}
else
{
md5hash(password1, document.forms.register.password_md5);
md5hash(password2, document.forms.register.passwordconfirm_md5);
return true;
}
return false;
}
</script>
<form action="register.php" name="register" method="post" onsubmit="return verify_passwords(password, passwordconfirm);">
<input type="hidden" name="s" value="" />
<input type="hidden" name="do" value="addmember" />
<input type="hidden" name="url" value="index.php" />
<input type="hidden" name="agree" value="" />
<input type="hidden" name="password_md5" />
<input type="hidden" name="passwordconfirm_md5" />
<tr><td class="alt2" align="center"><span class="smallfont">
User Name:<br />
<input type="text" class="bginput" name="username" maxlength="15" value="" style="width:110px" />
<br />
Password:<br />
<input type="password" class="bginput" name="password" maxlength="15" value="" style="width:110px" />
<br />
Confirm Password:<br />
<input type="password" class="bginput" name="passwordconfirm" maxlength="15" value="" style="width:110px" />
<br />
Email Address:<br />
<input type="text" class="bginput" name="email" maxlength="50" value="" style="width:110px" />
<br />
Confirm Email Address:<br />
<input type="text" class="bginput" name="emailconfirm" maxlength="50" value="" style="width:110px" />
<br />
<input type="submit" class="button" value="Submit" accesskey="s" />
</span></td></tr>
</table>
i need this mod badly , it will be helpful for all mybb users
Also , if you can make it in "WIDE" it will be better , and a captcha image too ...