Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by bira bira is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-08-2001 Last Update: Never Installs: 9
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-09-2001, 06:04 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by bira
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
Reply With Quote
  #13  
Old 12-09-2001, 06:05 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nuno don't do that!!!

This is an important check -- you MUST run the script as upgrade and NOT as install. I can't stress enough how important this is.

If you click on UPGRADE, you won't even reach step 3, you will be taken to step 4.

DO NOT change that code from the installer and run it as upgrade.

If you force the alter over a MySQL table, you can corrupt your tables.
Reply With Quote
  #14  
Old 12-09-2001, 06:06 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by nuno


no way
like i told you this hack was tested with a clean vBull 2.2.1 installation
Reply With Quote
  #15  
Old 12-09-2001, 06:23 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm
vBull clean installation with one fresh database(vbulltest)
clicking UPGRADE will bypass 3 options at admin cp
Reply With Quote
  #16  
Old 12-09-2001, 06:27 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

clicking 'Upgrade' skips step 3. The only thing happening in step 3 is the 'INSERT INTO setting' query, which adds the Admin Options setting variable.

If you get this error, it means that variable was already added to the database, so you can safely select upgrade only
Reply With Quote
  #17  
Old 12-09-2001, 08:15 PM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okie dokie tx bira
Reply With Quote
  #18  
Old 12-11-2001, 04:08 AM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to install this but I have the ever popular Community Bulletin hack installed thus the code changes is different.

Reply With Quote
  #19  
Old 12-11-2001, 07:51 PM
MApI MApI is offline
 
Join Date: Nov 2001
Location: Milan, Italy
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, never installed before this hack (so, with a clean db), receive durings installation same nuno's msg. Btw I installed hack running the upgrade option. Obs., now hack doesn't work. The question is: can I upgrade the upgraded new installation ? Yes ? How ? Thx, in adv, MAp|
Reply With Quote
  #20  
Old 12-14-2001, 12:49 PM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bira

I did every thing exactly as you have discribed, but it did not work.

I used the upgrade option because i was using the old vesion of the hack.

I registerd a name for testing the hack, but it is not sending a password so I chaged the option to "Moderate New Members" so I can send it manually, the email get sent but without a password.

I uninstall the hack and removed the old templates from the old version and tryed to install it a gain but without any luck.

Now
Even the option "Send New Users Random Password?" is not in the contro panel any more

please advice me what to do, and how can I remove any trace of the hack from the db so I can try the option "Install"

Thank you very much in advance
Reply With Quote
  #21  
Old 12-15-2001, 03:24 PM
bira's Avatar
bira bira is offline
 
Join Date: Nov 2001
Posts: 387
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I fixed the installer file in the first post.

Download it again, upload it to your admin dir, and run UNINSTALL first.

Whether the UNINSTALL is successful or not, doesn't matter.

Once that is done, click 'back' and go to the first page of the installer and select NEW INSTALL.

Follow the instructions thereafter and you will be fine.

Sorry for the error.

Thanks,

Bira
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04514 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete