WordPress.org

Forums

Apocalypse Meow
Change username for email (2 posts)

  1. geraldocrca
    Member
    Posted 1 year ago #

    hi,
    i wanna change the result of the historical of username for email. it's possible?
    other doubt is if the user with subscriber permission show in the historical.

    i have this site http://www.onecia.com.br where the user, need check your email for intro in the site. But, where make the check, in the historical not mark your username. See in link http://onecia.com.br/wp-content/plugins/apocalypse-meow/log.jpg

    thanks

    https://wordpress.org/plugins/apocalypse-meow/

  2. blobfolio
    Member
    Plugin Author

    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Apocalypse Meow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.