With s2Member Pro, you'll have a very advanced Import/Export tool that can handle the importation of Users/Members, even with new passwords. Supporting basic fields, and also extended fields, including:
- Code: Select all
"ID", "Username", "Password", "First Name", "Last Name", "Display Name", "Email", "Website", "Level[0-4] or Role ID", "Custom Capabilities", "Registration Date ( mm/dd/yyyy )", "Last Payment Date ( mm/dd/yyyy )", "Auto-EOT Date ( mm/dd/yyyy )", "PayPal® Custom String", "PayPal® Subscr. ID", "Custom Field1 Name", "Custom Field1 Value", "Custom Field2 Name", "Custom Field2 Value", ...
That being said, you MUST have the actual password, not the encrypted version. WordPress® uses a Salt of it's own in the hash it uses to verify passwords. What you CAN do, is build in a Filter for vBulletin style passwords. You can add a Filter to WordPress. Something like this:
- Code: Select all
add_filter("check_password", "check_vbulletin_style_passwords", 10, 4);
function check_vbulletin_style_passwords($check, $password, $hash, $user_id)
{
$check = the current result of the check: true|false
$password = the plain text password entered by a User during login.
$hash = the hash that WordPress uses.
$user_id = the WordPress user ID of the account.
So you could test $password against a vBulletin style hash here, and return true if it matches, otherwise, just return the default $check value.
}
This would give WordPress compatiblity with vBulletin style password hashes. I'm not a vBulletin guy, so someone who is familar with vBulletin will need to fill in the blanks here in this code snippet.