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)
-   -   Random Password Instead of Activation Code (https://vborg.vbsupport.ru/showthread.php?t=33068)

bira 12-08-2001 10:00 PM

As per request, this is verstion 2.0 of the Random Password hack.

I am starting a new thread for this, because users of vB 2.0.3 and down should use version 1.0 of this hack, whereas users if v.2.2.0 and up should use this version.

[hr]

Purpose: When a new user regsiters, he is e-mailed a password generated randomly. He will not be able to log in until he receives this e-mail and uses that password. (the same happens if an existing user changes his e-mail address).

After installing this hack, you will have three options essentially:

1) Don't verify the e-mail is valid.
In this case the user selects his own password and nothing is sent to him.

2) Verify the e-mail is valid by sending an activation code
This is how vBulletin works now: a user selects his own password during registration, and the BB Mailer sends him an activation code / link that he needs to use before he's able to post

3) Verify the e-mail is valid by sending a random password
In this case the user DOES NOT select a password but instead he receives a randomly generated password by e-mail. He will not be able to log in / post until he receives and uses this password.

Installation: download the attached installer and run it in your admin directory. All changes that need to be made manually to scripts and/or templates are listed there.

[high]Important: If you previously installed this hack, select the "upgrade" option and not the "new install"[/high]

Cheers,

Bira

Scott MacVicar 12-09-2001 09:41 AM

I had already released a version for 2 over a month ago.

Scott

bira 12-09-2001 09:57 AM

Quote:

Note this is not as advanced as the one by bira
This is what you wrote on your hack.

This is the advanced one.

Remi 12-09-2001 12:16 PM

Thank you very very much Bira

I wish my English is good enouph to tell you how I feel :D

Thank you from the buttom of my heart Bira, I realy mean it :)

bira 12-09-2001 03:45 PM

my pleasure, Remi :)

nuno 12-09-2001 04:55 PM

all hail bira :)
one of the best hacks ever is back
thank you so much bira ;)

bira 12-09-2001 05:13 PM

Thanks nuno http://www.atlasf1.com/bb/images/smilies/blush.gif

(I had a ****ty day, so that actually made me feel good. Thanks :))

nuno 12-09-2001 05:54 PM

dang it
ERROR! This hack is already installed on this system!

Click here to see additions to your vBulletin files and templates,
Or you can just Exit now :stupid: :stupid:

how come?i've made a clean install to test this hack and thats the message i get :(
help bira :eek:

bira 12-09-2001 05:59 PM

nuno, you already had the randpassword option added to the database from a previous installation (in 2.0.x). So you don't need to run the clean install but the upgrade.

The difference between the clean install and the upgrade is only that the install adds a new value to the setting table, whereas the upgrade does everything except for that.

Run the installer again and select upgrade :)

nuno 12-09-2001 06:01 PM

only works if i remove field_exists checking in step 3
by dumping
PHP Code:

if (field_exists("setting","varname","randpassword")) {
        echo 
"<br><br><b>ERROR!</b> This hack is already installed on this system!\n";
        echo 
"<br><br>".gotostep(5,0,0,1,"Click here")." to see additions to your vBulletin files and templates,\n";
        echo 
"<br>Or you can just ".gotostep(6,0,0,1,"Exit now")."\n";
    } else { 



All times are GMT. The time now is 02:59 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.01002 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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