Yesterday I noticed this error in the Custom Passwords module in TML 6.4.9:
PHP Fatal error: Call to a member function the_instance() on null in <snip>/wp-content/plugins/theme-my-login/modules/custom-passwords/custom-passwords.php on line 69
We’re running a membership site and it looks like this error was generated when rendering our Create Account page. In case it’s useful, we’re using the following shortcode for that page:
[theme-my-login show_title="0" show_reg_link="0" default_action="register"]
Any assistance would be greatly appreciated!
Thanks.
]]>From your documentation:
The Custom Passwords module allows you to allow your users to set their own password upon registration and password reset. In order to use this module, simply enable it. Enable the module by visiting the Theme My Login settings page and clicking on the General tab, followed by the Modules sub-tab. Then check Enable Custom Passwords and click Save Changes. No further configuration is needed.
I have the “Enable Custom Passwords” setting checked in the TML Modules Settings, but this feature is only working for the Registration page, and not the Reset password (or User Profile) pages. Is there a reason for this?
]]>Great Plugin and for the most part it’s straight forward, but I do have a few questions beginning with do you have any Documentation? Some terms or features are NOT self explanatory and I could use some context.
For example, what do YOU mean by Custom Password? If I Enable Themed Profiles, I can, as a User “generate” a new password and enter my custom Password, without having Enabled Custom Passwords. That’s just one example.
I don’t know how to use variables. Can you provide an example?
Thanks for your time,
Miguel
Can you advise please on the following.
Custom emails active and Moderation Settings-E-mail Confirmation set.
My New users are receiving an email after verifying their email address.
The email is suggesting the user visit login to set their password, of course this is unnecessary as they have set their password while registering.
Is this normal situation or is there a way around them not receiving this second email?
With Moderation Type set to “None” no emails are sent (which I assume is correct)>
Any help appreciated.
Malisa
]]>https://www.ads-software.com/plugins/theme-my-login/
]]>In my project I must use a custom RegExp when generating a password. wp_generate_password()
function is used in lots of places in WP, not necessary for users’ password.
If I let default password generation using wp_generate_password()
function, passwords might not pass my custom RegExp, so I wanted to use filter in this function to overwrite the password if RegExp fails, but as filter doesn’t receive parameters which wp_generate_password()
function receives in my custom password generation function I don’t know what restrictions should generated password have as I receive as parameter only generated password, so I know the length.
I could, of course, get each char of the password and check if they are from a specific set of characters and decide if $special_chars
and $extra_special_chars
where provided, but that’s an overhead to the function and also because password is randomly generated I couldn’t know if password should contain $special_chars
or $extra_special_chars
.
If I use only my password generator to match my RegExp, lost password token will fail so users will not be able to retrieve new passwords.
Best solution I see is to send $special_chars
and $extra_special_chars
as parameters to the filter:
return apply_filters( 'random_password', $password, $special_chars, $extra_special_chars );
Regards,
Andy
I’d like to replace the password_fields() function, or at least use a template to override the password form fields.
Is there a way to do this without modifying the plugin file?
https://www.ads-software.com/plugins/theme-my-login/
]]>I’m running WordPress Multisite with the ProSites plugin by wpmudev.. the theme my login plugin has helped me out a lot… I’ve found a few issues though so I thought I’d report here and see if anyone else has the same issues… I’m guessing some conflicts with prosite.. but maybe they’re multisite bugs?
1. Custom Passwords.. I’ve tested this many times.. and the password I enter is not saved.. I still get a random password… then tried activating other ‘custom passwords’ plugins and the passwords save fine… I’d rather use the TML custom password module.. but if I can’t then.. oh well..
2. The Custom Email module is not respected, as in.. the emails sent aren’t the custom ones..
3. ReCapture.. Shows up, looks good.. if I submit the page I get this error..
“Warning: Missing argument 2 for Theme_My_Login_Recaptcha::recaptcha_validate() in /home/sfhost/public_html/wp-content/plugins/theme-my-login/modules/recaptcha/recaptcha.php on line 168
Warning: Missing argument 3 for Theme_My_Login_Recaptcha::recaptcha_validate() in /home/sfhost/public_html/wp-content/plugins/theme-my-login/modules/recaptcha/recaptcha.php on line 168
Warning: extract() [function.extract]: First argument should be an array in /home/sfhost/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login-ms-signup.php on line 161
Fatal error: Call to a member function get_error_code() on a non-object in /home/sfhost/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login-ms-signup.php on line 165″
Any hints? Any feedback? Thanks
https://www.ads-software.com/extend/plugins/theme-my-login/
]]>