• I trying to reordering the tracks on the playlist also isn’t working.

    WordPress version: 4.72
    Plugin version:2.3
    Link to my site: https://www.jeffdawsonproductions.com

    I expected the plugin to do this: I wanted to change the order of the songs on an existing playlist.

    Instead it did this: After dragging and dropping the songs to where I wanted them, I tapped update playlist and the songs went back to the original order. ??

    Here’s what I’ve tried so far: Tried creating a new playlist (also unsuccessful)

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m also running into this issue. Sad to see this hasn’t been answered in a week, so it’s probably safe to say it won’t be fixed by the developer. I’ll look into the code and let you know of any fixes found!

    I’m back!

    This plugin is not coded well! Here’s what I’ve found:

    The plugin was trying to update the order when you drop a playlist item into a new position, but it turns out they were using some insecure methods throughout their code. This query being one of them. They tried using regular mysql_query rather then wordpress’ methods.

    To Fix:

    If you go into the plugin’s /player/ajax-functions.php and find line 111 which looks like
    mysql_query($query) or die(mysql_error());
    and change it to
    $wpdb->query($query) or die(mysql_error());

    It’ll work as intended! Just drag the items where you want them and it’ll auto-update their position!

    Word of warning
    This plugin is coded quite poorly, and as I mentioned before, seems to have lost support. It may be a good idea to look around for alternatives to this plugin, but with this fix, it should hold you off until you do decide to switch.

    Best of luck!

    • This reply was modified 7 years, 9 months ago by ikubod.
    • This reply was modified 7 years, 9 months ago by ikubod.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cannot Change order of the Songs’ is closed to new replies.