WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-Filebase] It is not working. (5 posts)

  1. herace
    Member
    Posted 4 years ago #

    Hi,
    WP-Filebase (0.1.2.4) button is not working. Button don't add to TinyMCE Advanced and Default Editor.

    http://wordpress.org/extend/plugins/wp-filebase/

  2. webbasics
    Member
    Posted 4 years ago #


  3. webbasics857
    Member
    Posted 4 years ago #

    Got this working (for me anyway) by fixing the Javascript call as follows:

    File: /lib/wpfb_admin_lite.lib.php (line 5)

    --> change 'wp_register_script' call to 'wp_enqueue_script' call, e.g.

    // wp_register_script('wpfb-admin', WPFB_PLUGIN_URI.'wp-filebase_admin.js', array('jquery'), WPFB_VERSION);
    wp_enqueue_script('wpfb-admin', WPFB_PLUGIN_URI.'wp-filebase_admin.js', array('jquery'), WPFB_VERSION);

    Note - there still seems to be an issue of IE not listing files in the popup window, but this works fine in FireFox (for me anyway).

    ----------
    Experienced similar issues in frontend so again fixed Javascript call as follows:

    File: /lib/wpfb_core.lib.php (line 6)

    --> change 'wp_register_script' call to 'wp_enqueue_script' call, e.g.

    // wp_register_script('wpfb', WPFB_PLUGIN_URI.'wp-filebase.js', array('jquery'), WPFB_VERSION);
    wp_enqueue_script('wpfb', WPFB_PLUGIN_URI.'wp-filebase.js', array('jquery'), WPFB_VERSION);

    ----------

    Hope this helps somebody :)

  4. dcrosbie
    Member
    Posted 3 years ago #

    I installed this mod and had no problem in the managing of my files. I was able to load the files and put into categories. However, when I create a post and try to use the filebase button to attach some files I get the popup window to select my file & template, click insert, and then nothing happens. No message, nothing is inserted into the post, nothing.

    Any ideas?

  5. inspirationally
    Member
    Posted 3 years ago #

    I have that, too, but only with Safari. With firefox, it works.

Topic Closed

This topic has been closed to new replies.

About this Topic