vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advanced Password Rules (https://vborg.vbsupport.ru/showthread.php?t=41424)

Velocd 07-23-2002 06:15 PM

pro :)
not sure about hack of the month, but it's still very useful.

Chris M 07-23-2002 06:32 PM

Thanks Logican!:)

Satan

Boofo 07-24-2002 12:20 AM

Will this hack work with bira's "Send Random Password Instead of Activation Code (v2.0)" hack?

DrkFusion 07-24-2002 01:34 AM

Nice work man, keep it up

Drk

Logician 07-24-2002 08:27 AM

Quote:

Originally posted by Boofo
Will this hack work with bira's "Send Random Password Instead of Activation Code (v2.0)" hack?
I havent used Bira's hack but if it is not modifying "register.php" or "member.php" (which is very unlikely), yes they would work together without any problems..

Boofo 07-24-2002 08:48 AM

It sends users a random password rather than an Activation Code when they register. It does modfiy the member.php in the editprofile section. Not safe to use then, I take it? :)

Quote:

Originally posted by Logician

I havent used Bira's hack but if it is not modifying "register.php" or "member.php" (which is very unlikely), yes they would work together without any problems..


Logician 07-24-2002 10:42 AM

Quote:

Originally posted by Boofo
It sends users a random password rather than an Activation Code when they register. It does modfiy the member.php in the editprofile section. Not safe to use then, I take it? :)

I dont think so.. My hack modifies "updatepassword" section of member.php. If Bira hacks does not touch that part (I cant see a reason it will touch it), you can use them together..

Boofo 07-24-2002 11:22 AM

Ok, I instaklled it and have a question or two.

Here's the code you said to look for:

PHP Code:

4edit register.phpfind:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  if (
$password!=$passwordconfirm) {
    eval(
"standarderror(\"".gettemplate("error_passwordmismatch")."\");");
    exit;
  } 

Here's the code from bira's hack:


PHP Code:

 // Send Random Password Instead of Activation Code (v2.0)
if ($randpassword=="0" and $password!=$passwordconfirm) {
// Send Random Password Instead of Activation Code (v2.0)

    
eval("standarderror(\"".gettemplate("error_passwordmismatch")."\");");
    exit;
  } 

The member.php file had bira's hack in the update password part but it didn't look like it affected your code. I'm not sure though. :)

Also, I have a question about the wording in the Admin CP.

Quote:

User password cant be same with username?
Does yes mean it CAN't be the same or does no mean that?

Quote:

Password Complexity
Password can NOT be birthyears or custom ones you set below
Same with this one.

I just want to be 100 percent sure I'm not setting something wrong. :)

Logician 07-24-2002 03:09 PM

Quote:

Originally posted by Boofo
The member.php file had bira's hack in the update password part but it didn't look like it affected your code. I'm not sure though. :)

It is ok, you can add my code after Bira's code, they wont clash..


Quote:

Does yes mean it CAN't be the same or does no mean that?
If you set it to YES, password can not be same with username.. So to disable this check set it to NO..

Same applies to "Password Complexity": Yes enables it, while NO disables the check..

Quote:

I just want to be 100 percent sure I'm not setting something wrong. :)
Sure thing hehe

Boofo 07-24-2002 03:14 PM

Thank you, sir! :)


All times are GMT. The time now is 07:20 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.01178 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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