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

  1. alternatekev
    Posted 4 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.


  2. Lisa
    Posted 3 years ago #

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

  3. Lisa
    Posted 3 years 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;
    $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"/>';
    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