PDA

View Full Version : Rest Password Using Secret Question


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!

Distance
03-02-2007, 02:13 PM
Nice but where it says:

If you want to DISABLE this future erase the below field

It should say feature ;)

HaMaDa4eVeR
03-02-2007, 04:10 PM
Nice but where it says:

If you want to DISABLE this future erase the below field

It should say feature ;)

Thank you :)

I update the product ;)

COBRAws
03-02-2007, 05:21 PM
3.6 would be great

Losha
03-03-2007, 09:52 AM
you are wonderful man .
you are prides to all arab. and very wonderful programmer we hope don't miss you never and miss your creating

luroca
03-04-2007, 04:45 PM
Indeed a person that is a pride to all arab must be a pride to all mankind.

Congratulations for this excellent hack, I´ll try it.

dj_melayu
03-16-2007, 05:44 PM
Problem with the image verication, it is limited 6 characters ONLY where if the image says
"vbulletin", it allowed we to type "vbulle" ONLY..Nice mode anyway..I don't if the others exprience like me :)

dj_melayu
03-19-2007, 06:04 PM
bump

HaMaDa4eVeR
03-25-2007, 04:10 PM
Problem with the image verication, it is limited 6 characters ONLY where if the image says
"vbulletin", it allowed we to type "vbulle" ONLY..Nice mode anyway..I don't if the others exprience like me
make sure that you have install it in vBulletin 3.5.x NOT 3.6.x
and make sure that the image verication working well at your host.

https://vborg.vbsupport.ru/external/2007/03/6.jpg

HaMaDa4eVeR
03-25-2007, 04:12 PM
you are wonderful man .
you are prides to all arab. and very wonderful programmer we hope don't miss you never and miss your creating
thank you Losha & luroca for installing ma hack's

dj_melayu
03-26-2007, 06:00 PM
LOL..My image verification is working well BUT not on this mod :)

HaMaDa4eVeR
03-27-2007, 04:47 PM
LOL..My image verification is working well BUT not on this mod
what's your vBulletin version?

dj_melayu
03-27-2007, 05:06 PM
Mine is 3.6.2, Problem with the image verication, it is limited 6 characters ONLY where if the image says"vbulletin", it allowed we to type "vbulle" ONLY..For conclussion, it is limiting the characters (small box to type more words :) )

HaMaDa4eVeR
03-28-2007, 09:54 AM
melsyu this hack compitable with vB 3.5.x and it relasied in vBulletin 3.5 Modifications

soon I'll port it to vB 3.6

warm regards

basketmen
09-16-2007, 05:03 PM
hi HaMaDa4eVeR can you update this to 3.6.x please

many people searching this mod

yoyoyoyo
09-17-2007, 02:16 AM
melsyu this hack compitable with vB 3.5.x and it relasied in vBulletin 3.5 Modifications

soon I'll port it to vB 3.6

warm regardssounds great

basketmen
12-08-2007, 10:02 AM
how is it, can you release it for vb 3.6 ?