Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • kwesitn

    (@kwesitn)

    You will need to also edit the forgot password function as well, so that any password reset requests go through you as well.

    kwesitn

    (@kwesitn)

    I found a solution that worked for me. Instead of having the email with the username and password be sent to the registrant, I tweaked it so that it comes to me. If I want to approve the user I then just forward the email on to the user. Here is a summary of what I changed:

    In wp-includes/pluggable-functions.php

    I changed this function on line 427 or so from this:

    wp_mail($user_email, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    To this:

    wp_mail(‘webmaster@mydomain’, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    So the user does not get their username and password without me sending it to them. This could probably be turned into a plugin pretty easily…and would do it when I have some time.

    Forum: Plugins
    In reply to: Registration Approval
    kwesitn

    (@kwesitn)

    I found a solution that worked for me. Instead of having the email with the username and password be sent to the registrant, I tweaked it so that it comes to me. If I want to approve the user I then just forward the email on to the user. Here is a summary of what I changed:

    In wp-includes/pluggable-functions.php

    I changed this function on line 427 or so from this:

    wp_mail($user_email, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    To this:

    wp_mail(‘webmaster@mydomain’, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    So the user does not get their username and password without me sending it to them. This could probably be turned into a plugin pretty easily…and would do it when I have some time.

    kwesitn

    (@kwesitn)

    I found a solution that worked for me. Instead of having the email with the username and password be sent to the registrant, I tweaked it so that it comes to me. If I want to approve the user I then just forward the email on to the user. Here is a summary of what I changed:

    In wp-includes/pluggable-functions.php

    I changed this function on line 427 or so from this:

    wp_mail($user_email, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    To this:

    wp_mail(‘webmaster@mydomain’, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    So the user does not get their username and password without me sending it to them. This could probably be turned into a plugin pretty easily…and would do it when I have some time.

    kwesitn

    (@kwesitn)

    I found a solution that worked for me. Instead of having the email with the username and password be sent to the registrant, I tweaked it so that it comes to me. If I want to approve the user I then just forward the email on to the user. Here is a summary of what I changed:

    In wp-includes/pluggable-functions.php

    I changed this function on line 427 or so from this:

    wp_mail($user_email, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    To this:

    wp_mail(‘webmaster@mydomain’, sprintf(__(‘[%s] Your username and password’), get_settings(‘blogname’)), $message);

    So the user does not get their username and password without me sending it to them. This could probably be turned into a plugin pretty easily…and would do it when I have some time.

    kwesitn

    (@kwesitn)

    This would work fine for a low volume site, but if you requier registration to access the site content and have hundreds or thousands of members, it is not an option.

    Ideally it would be great to just have a check box in the admin section that simply states “Registrations require admin approval”. Then when a new user registers, they are flagged as something like -1, an email is sent to the admin, they can then click a link to approve and once this happens that user is sent an email with their username and password.

    I think this is what most people are requestign when they mention registration approval. However, it looks like this may be too complex to add in as a plugin.

    Forum: Plugins
    In reply to: Registration Approval
    kwesitn

    (@kwesitn)

    No solution?

    kwesitn

    (@kwesitn)

    So essentially there is no solution.

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