HaMaDa4eVeR
03-01-2007, 10:00 PM
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:
$vbphrase[email_address]:<br />
<input type="text" class="bginput" name="email" size="35" maxlength="90" value="$email" dir="ltr" />
</td>
</tr>
Add below:
<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</a><br><br><br />
</td>
</tr></if>
<!-- secret question start-->
Save.
3- Open in your style register template,
Find:
<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:
<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:
<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:
<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 Click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=140904).
[B]NOTE:
Do not forget to test the hacks in vBulletin test forum
that's all
Any questions, comments, suggestions, pleaes let me know
Enjoy!
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:
$vbphrase[email_address]:<br />
<input type="text" class="bginput" name="email" size="35" maxlength="90" value="$email" dir="ltr" />
</td>
</tr>
Add below:
<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</a><br><br><br />
</td>
</tr></if>
<!-- secret question start-->
Save.
3- Open in your style register template,
Find:
<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:
<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:
<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:
<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 Click Install (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=140904).
[B]NOTE:
Do not forget to test the hacks in vBulletin test forum
that's all
Any questions, comments, suggestions, pleaes let me know
Enjoy!