Back to vBulletin 3.8 Add-ons

Update Password File mod
Mod Version: 1.0.1, by jondrnek

vB Version: 3.8.2 Rating: (0 vote - 0 average) Installs: 8
Released: 11 Jun 2009 Last Update: 12 Jun 2009 Downloads: 41
Not Supported Uses Plugins Template Edits Re-usable Code Translations  

This mod allows you to run a program to change an external password file when the users changes their password.

For example, you can run htpasswd to change a password file that is used by .htaccess to control access to other web pages outside of vBulletin.

There are two new options in the control panel. One specifies the location of the password file. The other specifies that program used to change the password file.

I'm new to vBulletin and PHP so critiques are welcome.

Post any issue you have https://code.google.com/p/vbulletinpasswordfileupdater/issues/list?updated=3&ts=1244753256:

You may also need to edit a template to disable the MD5 hashing of the new password before it gets sent to the server. I did not need to do this on my dev server but I did on my production server.

Do that by going to
"Modify User Options Templates" and editing the "modifypassword" template. You will need to change line
Code:
md5hash(currentpassword, currentpassword_md5, junk_output, $show[nopasswordempty]);
to
Code:
md5hash(currentpassword_md5, junk_output, $show[nopasswordempty]);
You also need to go to "Registration Template" and edit the "register" template. You will need to change
Code:
md5hash(password1, document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
md5hash(password2, document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);
to
Code:
md5hash(document.forms.register.password_md5, junk_output, $show[nopasswordempty]);
md5hash(document.forms.register.passwordconfirm_md5, junk_output, $show[nopasswordempty]);


Version 1.0.1 has been released to fix a security hole.

Jon

Download

File Type: %1$s product-password_file_update-1.0.1.xml (5.3 KB, 38 downloads)


vblts.ru supports vBulletin®, 2022-2025