WordPress.org

Support

Support » Plugins and Hacks » Change username for email

Change username for email

Viewing 1 replies (of 1 total)
  • Plugin Author blobfolio
    Participant

    @blobfolio

    Hi there,

    Just to make sure I understand you correctly: on your web site, people can log-in using their e-mail address instead of a username? And you would like to modify Apocalypse Meow so that it records the e-mail address used to log-in with?

    If so, there are two places you will need to change, both of which are located in “index.php” on lines 892 and 904. For reference, they look like:
    return meow_login_log(0, trim(strtolower(stripslashes_deep($_REQUEST["log"]))));

    The second argument ($_REQUEST[“log”]) is the normal username variable and is what is sent to the logging function. What you will need to do is change that to the variable containing the e-mail address, or better still, do a test to see which was used (e-mail or username) and send the correct entry.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Change username for email’ is closed to new replies.