Back to vBulletin 3.5 Add-ons

Rest Password Using Secret Question
Mod Version: 1.00, by HaMaDa4eVeR

This modification is in the archives.
vB Version: 3.5.7 Rating: (0 vote - 0 average) Installs: 11
Released: 02 Mar 2007 Last Update: 02 Mar 2007 Downloads: 60
Not Supported DB Changes Uses Plugins Template Edits Additional Files  

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:
  • Turn On/Off system "All system".
  • Member can ENABLE/DISABLE in user control panel.
  • Member can put/change his/her sercret question.
  • Member can put/change his/her question password.
  • Member can see his/her question in control panel.
  • The answer of secret question storied MD5 enc.
  • Admins can't change the member question or answer.
  • NO Code Modifications needed!
Install instructions:

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>
Add below:
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-->
Save.
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>
Below Add:
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>
Save.
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>
Below Add:

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

vblts.ru supports vBulletin®, 2022-2025