WordPress.org

Ready to get started?Download WordPress

Forums

How would I send form contents from wp-login? (2 posts)

  1. mingofaust
    Member
    Posted 8 years ago #

    Hello all,

    I am trying to take my blog private, in that I want only logged in people to even see the blog. Easy, with Taragana's ac_authentication plugin.

    But, I want potential subscribers to be able to/have to request access. I don't want them to be able to register themselves, because I need to make sure they should be seeing the blog (i.e. they need to be family or friends).

    So I have hacked the wp-login page, but I have reached the end of my rope. I have made the "Request Access" form, but I need a form action to submit the contents to my email address.

    See:

    http://dannytiffanyandfamily.com/wordpress/wp-login.php?action=requestaccess

    I could use some installation of formmail.pl or something, but I'd rather use something in WordPress. I'd also like to use bloginfo to pull the admin's email address as the target for submission. I know lost passwords are eventually mailed to users, can I use that same mechanism?

    If so, how? My knowledge of php is rudimentary, my knowledge of Action hooks in WP is woeful (like I know that is what they are called, and that's it).

    Thanks,

    Danny.

  2. Natron
    Member
    Posted 7 years ago #

    Danny, I'm looking to do the same thing for my family blog. Did you ever get it to work?

Topic Closed

This topic has been closed to new replies.

About this Topic