Typically they suggest/recommend something like this at the top of your plugin file to prevent improper usage. Can you consider adding this:
if ( ! defined( ‘ABSPATH’ ) ) { exit; }
I don’t know if a similar thing needs to or should be inserted into the class file or not.
]]>Hi, I have used your plugin for passwordless login. I want to customize the email with my own text and one time login. Is it possible to do it?
]]>
Hello, I was originally using the “Passwordless Login” plugin, which is also the predecessor of your plugin. Initially, “Passwordless Login” worked smoothly, but later, some students reported not receiving login emails. After some struggles, I discovered and switched to your plugin. and currently in the process of testing the stability of the operation.
I sincerely appreciate your willingness to create and continuously maintain this plugin. However, I am concerned about the possibility of similar issues in the future. Since I operate an online course website, the stability of the login system is crucial to me.
I would like to inquire whether the plugin will continue to receive updates and if there will be support available in case of future issues. I am willing to contribute to sponsoring the continuous maintenance of this plugin, even though my website currently doesn’t generate much revenue, so the sponsorship amount may not be substantial. I hope this plugin can continue to benefit everyone.
]]>Great plugin very useful for my users !
However, i needed to make some little changes in your code to make it translatable ready in order to let the plugin “Loco Translate” work fine.
i.e.
1/ added the following lines to “magicloginmail.php” :
function magic_login_mail_load_textdomain() {
load_plugin_textdomain( ‘magic-login-mail’, false, dirname( plugin_basename(__FILE__) ) . ‘/languages’ );
}
add_action( ‘plugins_loaded’, ‘magic_login_mail_load_textdomain’ );
2/added a “languages” directory in the directory of the plugin containing a “magic-login-mail.pot” file
I ‘m not a specialist in WP and php coding at all, that ‘s the reason why i ‘d be glad if you could review my code and incorporate it or something equivalent in yours.
Kind regards,
Jean-Michel H.
Hi,
Thanks for a great plugin!
I made a minor modification to be able to customize the login message more. By passing $email
and $unique_url
as additional parameters in the magic_login_mail_message
filter it is possible to further customize the message and even include user data like first and last name without relying on hacky str_replace
solutions.
Could this be included in the plugin? I think it would be very useful.
It’s probably good to include the $email
parameter in the magic_login_mail_subject
filter as well to allow for some personalization.
Thanks!
ps. Do you have a Github repo for the plugin?
This PlugIn is a great one! Thank you for that!
Could you please tell me how long is the token valid?
]]>Hello,
thank you for this great plugin!
Is it possible to redirect users to a specific page right after login? And is it possible to integrate the plugin with Elementor?
Regards
Thanks for a great plugin.
Is it possible that any user would be able to login/register via email?
]]>Hi!! Is there a way to show a message when you click on login submit button without having written any email on the field?
At this moment if you do this, the page is refreshed without showing any message about that way was wrong.
Thank you!
]]>I see that today you have it just working! Congrats! Today I was looking for it ??
Is it possible to make public the generate_url method?
I need to generaty directly the URL without sending mail but it’s not possible because it’s a private method.
That’s what i’m doing and it works fine if I change the method to public:
$magicLogin = new \MagicLoginMail();
// Test generation url:
echo $magicLogin->generate_url($myMail);
Thanks!!
]]>