MyBB Central

Full Version: Random passwords
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Is there anyway to register an user(random password) and that user will receive the random password and the User name?
there is a script...

i found it on google
google it
Oh I hate forums that do that...it's difficult to remember the random passwords.
I haven't seen a mod yet that does this though.
(Oct 09, 2007, 07:10 AM)masterarias Wrote: [ -> ]there is a script...

i found it on google

(Oct 28, 2007, 04:07 PM)drewbaxter Wrote: [ -> ]google it


Theres no point to tellin the man to google it. Why not actually help him?

Sorry Pirata, couldn't find it :/
If you want a generator on another site, you can use http://www.mybbstudios.com/password-generator.php
here is one you can make into a plugin,


<!-- ONE STEP TO INSTALL RANDOM PASSWORD GENERATOR:

1. Copy the coding into the BODY of your HTML document -->

<!-- STEP ONE: Paste this code into the BODY of your HTML document -->

<BODY>

<SCRIPT LANGUAGE="JavaScript">

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function randomPassword(length)
{
chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890";
pass = "";
for(x=0;x<length;x++)
{
i = Math.floor(Math.random() * 62);
pass += chars.charAt(i);
}
return pass;
}
function formSubmit()
{
passform.passbox.value = randomPassword(passform.length.value);
return false;
}
// End -->
</script>

<table align="center" border="1">
<tr>
<td valign="middle" align="center">
<center>Random Password Generator</center>
<form name="passform">
<p>
Length: <select name="length">
<option value="1">01</option>
<option value="2">02</option>
<option value="3">03</option>
<option value="4">04</option>
<option value="5">05</option>
<option value="6">06</option>
<option value="7">07</option>
<option value="8">08</option>
<option value="9">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
</select></p>
<p>
Password: <input name="passbox" type="text" size="50" tabindex="1"></p>
<p>
<input type="button" value="Generate" onClick="javascript:formSubmit()" tabindex="2"> <input type="reset" value="Clear" tabindex="3"></p>
</form>
</td>
</tr>
</table>


<p><center>
<font face="arial, helvetica" size"-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size: 3.64 KB -->
Can you not already do this with MyBB?? Or is this for something else??
(Mar 10, 2009, 05:30 AM)MattR Wrote: [ -> ]Can you not already do this with MyBB?? Or is this for something else??

Kind of. It is a registration setting in the ACP. You can choose instant activation, email activation, or random password.
not random user if that what hes asking....
Pages: 1 2