vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Rest Password Using Secret Question (https://vborg.vbsupport.ru/showthread.php?t=140904)

HaMaDa4eVeR 03-01-2007 10:00 PM

Rest Password Using Secret Question
 
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 Click Install .

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

Quote:

Originally Posted by Distance (Post 1194117)
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

Quote:

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

Quote:

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


All times are GMT. The time now is 08:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01387 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete