• Resolved hippeet

    (@hippeet)


    I fixed a javascript error on “undefined var ffwd_plugin_url” in ffwd_editor_button.js. Maybe this can be of help to somebody else.
    This does not seem to affect the facebook feed plugin but it caused an other plugin to malfunction.

    Here’s the fix:

    \wp-content\plugins\wd-facebook-feed\js

    (function () {
      tinymce.create('tinymce.plugins.wd_fb_mce', {
        init:function (ed, url) {
          var c = this;
    # add the next line
          var ffwd_plugin_url = plugin_url:url;
          c.url = url;
          c.editor = ed;

    So you basically need to add juts a single line of code at line 5.

    Hope this helps anyone.

    With regards,

    Peet

    • This topic was modified 8 years, 11 months ago by hippeet.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor WD Support

    (@wdsupport)

    Hello, @hippeet!

    We greatly appreciate your time finding out the solution to this conflict, and sharing it with us!

    Could you please let us know which plugin was affected by Facebook Feed WD?
    Thanks! Have a great day!

    Thread Starter hippeet

    (@hippeet)

    The affected plugin in my case was WP Adverts.
    However, I suspect this would possible influence more plugins.

    Plugin Contributor WD Support

    (@wdsupport)

    Hi, @hippeet!

    Thank you so much for the information!

    I have reported this to our development team. They will investigate further and fix the bug in one of the next few updates of Facebook Feed WD plugin.

    Cheers!

    Thread Starter hippeet

    (@hippeet)

    It seems that this has not been fixed yet.
    I fixed the problem earlier, but now the error has returned.
    But also something else has changed: the fix that worked for me earlier does not work anymore. “var ffwd_plugin_url = plugin_url:url;”
    Leads to an error itself. Something with a missing “;”.

    Please help, now I don’t know how to fix this (in reasonable time)

    Cheers!

    Thread Starter hippeet

    (@hippeet)

    I am very sorry, but the above comment is not correct.
    The plugin works just fine!

    Cheers again!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘fix for javascript error “ffwd_plugin_url” in ffwd_editor_button.js’ is closed to new replies.