Rest Password Using Secret Question
This modification is in the archives.
What does this hack do ?
This is first version of Rest Password Using Secret Question, this hack allow to your member to rest there password directly using secret question,the password will rest once the question answer is true, and the password will genrated randomy ,the new genrated password will apper to you on the screen. Features:
1- Upload the file secretquestion.php to forum root directory. 2- Open in your style lostpw template: Find: HTML Code:
$vbphrase[email_address]:<br /> <input type="text" class="bginput" name="email" size="35" maxlength="90" value="$email" dir="ltr" /> </td> </tr> HTML Code:
<if condition="$vbulletin->options['secretquestionswitch']"> <!-- secret question start--> <tr> <td align="center" class="alt2" style="border:dashed 1px"><br> <a href="secretquestion.php?do=secretq">$vbphrase[bysecretquestion]</a><br><br><br /> </td> </tr></if> <!-- secret question start--> 3- Open in your style register template, Find: HTML Code:
<td> $vbphrase[parent_guardian_email]:<br /> <input type="text" class="bginput" name="parentemail" size="25" maxlength="50" value="$parentemail" dir="ltr" /> </td> </tr> </if> </table> </fieldset> HTML Code:
<if condition="$vbulletin->options['secretquestionswitch']"> <fieldset class="fieldset"> <legend>$vbphrase[bysecretquestion]</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="400"> <tr> <td colspan="2">$vbphrase[pleasewrite]</td> </tr> <tr> <td> $vbphrase[yourquestion]:<br /> <input type="text" class="bginput" name="secretq" size="25" maxlength="50" value="$secretq" dir="ltr" /> </td> <td> $vbphrase[provide_your]:<br /> <input type="text" class="bginput" name="secreta" size="25" maxlength="50" value="$secreta" dir="ltr" /> </td> </tr> </table> </fieldset></if> 4- Open in your style modifypassword template, Find: HTML Code:
<div>$vbphrase[confirm_new_password]:</div> <div><input type="password" class="bginput" name="newpasswordconfirm" size="50" maxlength="50" /></div> </td> </tr> </table> </fieldset> HTML Code:
<if condition="$vbulletin->options['secretquestionswitch']"> <fieldset class="fieldset"> <legend>$vbphrase[bysecretquestion] ($vbphrase[optional])</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td><span class="style1">$vbphrase[disablesecret] </span> <div>$vbphrase[new_secretquestion]:</div> <div><input type="text" class="bginput" name="newsecretq" size="50" maxlength="50" value="$bbuserinfo[secretq]" /> </div> </td> </tr> <tr> <td> <div>$vbphrase[new_secretquestiona]:</div> <div><input type="password" class="bginput" name="newsecreta" size="50" maxlength="50" /></div> </td> </tr> </table> </fieldset> </if> 5- Import the Product XML file through your Admincp. 6- Enjoy just . NOTE: Do not forget to test the hacks in vBulletin test forum that's all Any questions, comments, suggestions, pleaes let me know Enjoy! Download This modification is archived and cannot be downloaded. Screenshots
|
Similar Mods
[secret] tag (secret text in posts) | vBulletin 3.0 Full Releases |