WordPress.org

Forums

WP Facebook Timeline (MF Timeline)
Quick fix for WordPress 3.5 & MF-Timeline breakage (7 posts)

  1. Davis Ray Sickmon Jr
    Member
    Posted 2 years ago #

    After upgrading to 3.5 MF-Timeline seems to cause some collision issues with jQuery - none of the javascript-based stuff works on the admin screen anymore (drag and drop in widgets, callouts on the dashboard, etc.) After a quick bit of experimenting on MidnightRyder.org I found a very quick work around. Edit the plugin, and comment out the following section:

     wp_register_script( 'jquery-ui', ("http://www.midnightryder.org/wp-includes/js/jquery/ui/jquery.ui.core.min.js") );
    wp_register_script( 'mf_timeline_admin_js', plugins_url( 'scripts/js/jquery.mf_timeline_admin.min.js', __FILE__ ), true );
    wp_register_style( 'mf_timeline_admin_styles', plugins_url( 'styles/admin.min.css', __FILE__ ) );
    wp_register_style( 'jquery-ui', plugins_url( 'styles/jquery-ui/theme-wordpress.css', __FILE__ ) );

    After that, it worked fine. :-)

    http://wordpress.org/extend/plugins/wp-facebook-timeline-mf-timeline/

  2. ecabral
    Member
    Posted 2 years ago #

    Hi Davis!

    Which file and lines did you edit?

    Thanks!

  3. deas0815
    Member
    Posted 2 years ago #

    I am not a wordpress expert, but just bumping the jquery-ui version in class-mf-timeline.php did the trick for me.

    Replaced

    wp_register_script( 'jquery-ui', ("https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"), false, '1.8.16' )

    with

    wp_register_script( 'jquery-ui', ("https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"), false, '1.9.2' )

    and that was it.

  4. ecabral
    Member
    Posted 2 years ago #

    Thanks, deas0815! Unfortunately this didn't work for me :(

    This plugin is quite essencial for me. Any other suggestions?

  5. Inkline
    Member
    Posted 2 years ago #

    Thanks @deas0815!

    Swapping out the jquery-ui version did the trick for me as well.

  6. master412160
    Member
    Posted 2 years ago #

    Thanks for the fix @deas0815!

  7. ecabral
    Member
    Posted 2 years ago #

    I had accidentally deleted a ';'... Tried again and now it does work!

    Cheers, deas0815!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Facebook Timeline (MF Timeline)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic