Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Yeah man, no problem. I’m new to wordpress and I’m trying to figure out what hook I should use to overwrite just the wp_check_password function.

    I’ve tried using:
    add_filter(‘check_password’, ‘joomla_check_password’, 3);

    But evidently this hook is actually right after the wp_check_password function is called. The only filter I can find right before the function is called is the authenticate filter, which would mean that I need to overwrite the wp_authenticate_username_password function as well. Am I correct in saying this or is there a way to overwrite just the wp_check_password function?

    What would be the filter that I would use to replace the wp_check_password() function? So I guess the hook right before the function is called? Would it be the authenticate filter? I may be looking at this the wrong way, I’m just trying to figure out how to use my function for checking passwords instead of the normal wordpress.

    Nevermind, just figured out the answer. It is not possible to transfer passwords from joomla to wordpress for users. In short, Joomla uses a 32 character string for salting the password and WordPress uses an 8 character string for salting. I was hoping just to reformat the password that is stored in the db but I found out that WordPress only allows for an 8 character string to salt, along other post-processing that is different.

    I guess I can just create a plugin that acts like the Joomla password verification the first time the user logs in and then have WordPress rehash the password into a WordPress format using the wp_set_password and wp_hash_password functions then verify the new WordPress-hashed password.

    mnowluck, I’m trying to do the same thing. The only thing that is holding me back is the ability to transfer the passwords. I don’t want to have to ask my registrants to choose a password again. We have over 1000 of them. Were you able to successfully transfer the passwords from joomla to wordpress? If so how did you do it?

Viewing 4 replies - 1 through 4 (of 4 total)