Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • The labels on the login form seem to be hardcoded, but something along these lines might work:

    function prefix_change_login_form_user_pass_label( $translated_text, $text, $domain ) {
    	global $pagenow;
    	if ( in_array( $pagenow, array( 'wp-login.php', 'wp_register.php' ) ) ) {
    		if ( 'Password' == $text ) {
    			$translated_text = 'Zoinks!';
    		}
    	}
    	return $translated_text;
    }
    
    add_filter( 'gettext', 'prefix_change_login_form_user_pass_label', 20, 3 );
    Plugin Author Barry Ceelen

    (@barryceelen)

    Hi virtualgeorge,

    Currently the plugin does not support something like this.
    A future version might add the option of showing a checkbox in stead of the icon.

    A help text beneath the login form, like you described, is possible via the ‘login_form’ filter. Adding something like this to your theme’s functions.php might do the trick:

    function prefix_show_login_form_help_text() {
    	printf( '<p><label>%s</label></p><br />', __( 'Click icon to show password.', 'example-text-domain' ) );
    }
    
    add_action( 'login_form', 'prefix_show_login_form_help_text' );
    Plugin Author Barry Ceelen

    (@barryceelen)

    I didn’t specifically check for Multisite compatibility. Thanks for reporting back!

    Plugin Author Barry Ceelen

    (@barryceelen)

    Sorry, late to the party.

    Thanks kalico, indeed, the Coeur Admin Colors plugin seems to throw this error. The error is unrelated to the Default Admin Color Scheme plugin.

    I’ve notified the author via the plugin’s support forum.

    Plugin Author Barry Ceelen

    (@barryceelen)

    Hi willandmae,

    I’m glad you like the plugin ?? Haven’t noticed any problems with 4.0 so far.
    However, the login page of the site your profile links to shows a Javascript error coming from the bp-like.min.js file. Apparently this file belongs to the BuddyPress Like plugin.

    As the hideShowPassword plugin depends on Javascript to do its stuff, the error caused by the BuddyPress Like plugin might be the cause of the problem.

    You could try temporarily disabling the BuddyPress Like plugin, and see if that resolves the problem.

    Let me know if that solved the problem for you!

    Barry Ceelen

    (@barryceelen)

    Hi,

    In the meantime it is possible to hook into the Post By Email plugin to make it save your email as a different post type. Something along these lines in your functions.php should work:

    add_action( 'publish_phone', array( $this, 'myfunctionprefix_set_post_type' ) );
    
    function myfunctionprefix_set_post_type( $post_ID ) {
    	$post = array(
    			'ID' => (int) $post_ID,
    			'post_type' => 'custom_post_type_slug_here'
    	);
    	wp_update_post( $my_post );
    }
    Thread Starter Barry Ceelen

    (@barryceelen)

    I had strict errors enabled in php, which caused the ajax stuff to break.

Viewing 7 replies - 16 through 22 (of 22 total)