MyBB Community Forums

Full Version: Quick Register Mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 :
 <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 Big Grin
Also , if you can make it in "WIDE" it will be better , and a captcha image too ...
I believe a plugin exists for this around here somewhere. You won't get that VB code to work.
there isnt , i searched , also everything is done , i will post the code for members to use it
MORE BUGS , SORRY I CAN'T POST THE CODE , ANY ONE CAN CODE ANOTHER ONE ?
http://community.mybboard.net/thread-17824.html

That was 1.2x compatible. It might be adjusted to work on 1.4x. You'll need at least the my_post_key variable in the form. Not sure what else.