Support » Plugin: Cimy User Extra Fields » [Plugin: Cimy User Extra Fields] Remove "A password will be e-mailed to you."

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Marco Cimmino

    (@cimmo)

    So kind to donate to have this option implemented?

    Marco, Icool wasn’t making an option request, it was a request for you to fix a silly error in your plugin. If the registrant sets their own password, sending that message is ugly design.

    Now, an option that you might ask to be paid for would be allowing duplicate emails (more than one user with the same email). Can that be done? I’ve gotten weird password messages and failures with several other plugins that purport to allow duplicate emails.

    If you achieve that successfully, I’ll make a contribution, whether or not I use your plugin.

    Plugin Author Marco Cimmino

    (@cimmo)

    silly error in your plugin

    Do you understand that most of the stuff that my plug-in does is an hack because WordPress doesn’t allow certain things by design?

    So for you is obviously a silly error for me is hours of code to workaround what WordPress hasn’t been design for.

    Hint:
    That message isn’t printed by my plug-in, but by WordPress, so to remove it I need another hack that first thing comes to my mind is a JavaScript that hides it, this means:
    1. is not fault of my plug-in (see: wp-login.php if you do not believe me)
    2. is just another hack to workaround WordPress bad design
    3. works only for users with JavaScript enabled.

    Anyways go and use whatever you want, I don’t need ignorant (but arrogant) users like you.

    Yes, I see the problem, and I agree it isn’t your “silly” error — sorry. But that message remains ugly; I don’t think it’s such a big deal to inject css to make #reg_passmail disappear, conditionally on the form allowing password setting. (And if JS is disabled, nothing worse than what’s going on now will occur.) It’s all a hack; don’t be upset by more hacking!

    And I would never have blasted you if you had just answered Icool respectfully.

    Plugin Author Marco Cimmino

    (@cimmo)

    And I would never have blasted you if you had just answered Icool respectfully.

    Here the only non respectful person is you that speak with no knowledge of WordPress and blame a person that spent hours of his free time and gives away for FREE and OPEN SOURCE his code.

    Now if you want to be reasonable: donate some cash or send me a patch and I will include it in next release.

    Hi Marco

    Your plugin has saved my sanity, so I’ve no complaints!

    On this particular issue, I’ve edited wp-login in the root directory for a simple fix: I changed the text ‘A password will be mailed to you’ to ‘We look forward to meeting you!’ (see below). That seems to work fine – no code changes as such required.

    Obviously it will go on the list of ‘things to check’ when I next upgrade WordPress.

    <?php do_action('register_form'); ?>
    	<p id="reg_passmail"><?php _e('We look forward to meeting you!') ?></p>

    Hi again – Marco, thank you for the plugin, I do not have development dollars for it though. I just edited the cimy_uef_register.css file for the plugin to make that text invisible:

    #reg_passmail {
    display: none;
    }

    If I had more time to get familiar with the plugin I would make it conditional myself 🙂

    Plugin Author Marco Cimmino

    (@cimmo)

    #reg_passmail {
    display: none;
    }

    This works for you yes, but is not a real fix as people that do not have that option enabled maybe they prefer to keep the message.
    Real fix is a JavaScript code that is turned on only if the option is enabled, in my opinion.

    Will see if I will get back in the mood to workaround this.

    Plugin Author Marco Cimmino

    (@cimmo)

    Actually no css file is also an option, just a separate one. Will see for a proper fix.

    I did something similar to penelopeelse however the text I put in was “A confirmation email will be sent to you. Please follow the link to activate your new account.” It works great and doesn’t confuse my users 🙂

    Any progress on this? I just removed the message from the wp-login.php file for now.
    BTW: once I get this plugin working as I want, I’ll be donating. Great work.

    Put the following code on your functions.php to get rid of the message on registration page. you do not need to touch the wp-login.php (so that you don’t have to worry about future upgrades).

    function remove_password_email_text ( $text ) {
    	 if ($text == 'A password will be e-mailed to you.'){$text = '';}
    		return $text;
    	 }
    add_filter( 'gettext', 'remove_password_email_text' );

    Essentially you should be able to use a similar function on functions.php to get rid of any text

    startuplift, thanks for your code – I attempted to improve on it by checking we are only doing the text filter on wp-login.php page:

    function remove_password_email_text ( $text ) {
    	if(basename($_SERVER["SCRIPT_NAME"])=='wp-login.php' && $text == 'A password will be e-mailed to you.'){
    		$text = '';
    	}
    	return $text;
    }
    add_filter( 'gettext', 'remove_password_email_text' );

    Of course, if you have a different file name for your login page this won’t work.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘[Plugin: Cimy User Extra Fields] Remove "A password will be e-mailed to you."’ is closed to new replies.