WordPress.org

Support

Support » Plugins and Hacks » Members » [Plugin: Members] love your plugin! can i ask for a feature? :)

[Plugin: Members] love your plugin! can i ask for a feature? :)

  • I’ve added a feature to the login widget, so i can customise the size of the shown avatar. Here is the code that I added to specific lines in widget-login-form.php. I hope you’ll except this change of code, and implement it in the next update. but if you won’t please notice me, so I could add it myself. thanks.

    Line 64:
    'avatar-size' => !empty( $instance['avatar-size']) ? 96 : $instance['avatar-size'],

    Line 89:

    echo get_avatar( $user_ID , $instance['avatar-size'] );

    Line 101:

    echo get_avatar( $user_ID , $instance['avatar-size'] );

    Line 132:
    $instance['avatar-size'] = strip_tags( $new_instance['avatar-size'] );

    Line 171:
    'avatar-size' => '96',

    Line 250 – Line 253:

    <p>
    			<label for="<?php echo $this->get_field_id( 'avatar-size' ); ?>"><code>Only digits, in px</code></label>
    			<input type="text" class="widefat code" id="<?php echo $this->get_field_id( 'avatar-size' ); ?>" name="<?php echo $this->get_field_name( 'avatar-size' ); ?>" value="<?php echo $instance['avatar-size']; ?>" />
    		</p>

    http://wordpress.org/extend/plugins/members/

  • The topic ‘[Plugin: Members] love your plugin! can i ask for a feature? :)’ is closed to new replies.
Skip to toolbar