WordPress.org

Ready to get started?Download WordPress

Forums

WP Dribbble Shots
Won't save username in 3.4 trunk (3 posts)

  1. alternatekev
    Member
    Posted 2 years ago #

    When going to save the username in the settings panel (shouldn't this be in the widget settings panel instead of general? anyway..), I just get an empty field on reload and generic Dribbble shots displayed instead of my own.

    http://wordpress.org/extend/plugins/wp-dribbble-shots/

  2. Lisa
    Member
    Posted 1 year ago #

    I'm having exactly the same problem in WP 3.4.2.
    Any solution to this yet?

  3. Lisa
    Member
    Posted 1 year ago #

    I noticed there were some errors in the plugin, and i solved the problem by changing a few lines in wp-dribbble-shots.php.

    I changed line 71 from
    $player_id = ($player_id) ? get_option('dribbble_player_id') : $player_id;
    to
    $player_id = ($player_id) ? $player_id : get_option('dribbble_player_id');

    I changed line 101 from (note the typo: "dribble")
    echo '<input type="text" id="dribble_player_id" name="dribbble_player_id" value="'.esc_attr($player_id).'" class="regular-text"/>';
    to
    echo '<input type="text" id="dribbble_player_id" name="dribbble_player_id" value="'.esc_attr($player_id).'" class="regular-text"/>';

    I added a line at the end of the function update_dribbble_player_id after line 105
    return $data;

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic