• Resolved ellmann creative

    (@ellmanncreative)


    Hey.

    We’re very interested in using the Premium version of your plugin – it looks neat, and works great!

    However, the Premium version (and ONLY the Premium version!) conflicts with FileBird – clicking on any media while adding will cause the clicked-on media file to lose its folder association and revert to “Uncategorized”.

    We obviously wish to continue using FileBird (despite their tech support washing their hands of the problem, telling us to contact your support staff for a fix), but we’d also like to use FooGallery Premium.

    Would you be willing to look into this issue, please?

    Again, this does not affect the free version of your plugin (we’re not sure if it affects the free version of FileBird, but considering the issue we assume it will – so testing it against the free version of FileBird should yield results).

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author bradvin

    (@bradvin)

    hey @ellmanncreative,

    Sure thing – I will download FileBird and test it with FooGallery PRO and then get them working together with no conflicts.

    I will let you know what I find

    Thread Starter ellmann creative

    (@ellmanncreative)

    Hey. So, my boss made a judgement call and purchased a different gallery plugin for our use. As such, we won’t be purchasing your gallery right now.

    This is a heads-up so that you don’t unnecessarily waste time you could be spending elsewhere.

    I hope you didn’t sink too much time into this (though you may still wish to make your gallery compatible with FileBird), and apologise for the change of plans.

    Between you and me, your plugin looks and feels better, but the decision has been made.

    Plugin Author bradvin

    (@bradvin)

    totally understand – we will stil make sure the 2 plugins are compatible. Thanks for your support ??

    Thread Starter ellmann creative

    (@ellmanncreative)

    Hey, did you get that done by any chance? The plugin we were using was pulled from www.remarpro.com and there’s slight panic going around. ;]

    Thread Starter ellmann creative

    (@ellmanncreative)

    Okay, stuff went down and I managed to get the purchase in (user ID: 1547467, site ID: 2888449). But now I really need that Filebird conflict fixed, please.

    Thread Starter ellmann creative

    (@ellmanncreative)

    Also, who do I ask if I need to correct the invoice and the billing amount? I failed to put the VAT ID in before submitting, things’re a little hectic (expected to deliver website in about a week, still not done w/ the damn galleries!).

    Plugin Author bradvin

    (@bradvin)

    @ellmanncreative

    I downloaded Filebird and investigated this issue. I managed to locate the problem down to the file includes/class-filebird-topbar.php – the description in this file is “Show media category filter on top bar” which means it should add functionality to the filter bar within the media library/media modal.

    Filebird hooks into the WP core action “wp_ajax_save-attachment-compat” and then attempts to save info for the attachment taxonomies from lines 289-302:

    
            foreach (get_attachment_taxonomies($post) as $taxonomy) {
                //print_r($taxonomy);die;
                //=> folder
                if (isset($attachment_data[$taxonomy])) {
    
                    wp_set_object_terms($id, array_map('trim', preg_split('/,+/', $attachment_data[$taxonomy])), $taxonomy, false);
                } else if (isset($_REQUEST['tax_input']) && isset($_REQUEST['tax_input'][$taxonomy])) {
    
                    //add attachment into foder-term
                    wp_set_object_terms($id, $_REQUEST['tax_input'][$taxonomy], $taxonomy, false);
                } else {
                    //remove all folder-terms out of attachment
                    wp_set_object_terms($id, '', $taxonomy, false);
                }
    
            }
    

    The line of code that is the issue is line 301:

    
    wp_set_object_terms($id, '', $taxonomy, false);
    

    Which clears all the taxonomy term data from the attachment if no data is found for the attachment, for the taxonomy. They are looking for very specific data and if it does not exist in their format then they clear all terms. I think this logic is wrong and is a bug in their code.

    This code also clears all FooGallery media tags and media categories when a thumb is clicked, and I assume will do the same for any attachment taxonomy that any other plugin registers.

    @ninjateam – please check this out and fix the bug which clears all taxonomy terms when there is no data in the format you expect. Thanks

    Thread Starter ellmann creative

    (@ellmanncreative)

    Thank you. We have forwarded your findings to Ninja Team directly (via the pro support ticket system). We’ll let you know how the situation develops. Thank you for taking the time to look into the issue.

    Also, who do I contact to fix the VAT ID mixup and get a refund on the tax?

    Thread Starter ellmann creative

    (@ellmanncreative)

    … still, now that I re-read everything you’ve written – why would it break their own plugin? The data that is being cleared is Filebird’s data (folder association).

    Does this happen because FooGallery attaches some of its own data, and Filebird then removes all of it because it fails to understand some of it?

    Plugin Author bradvin

    (@bradvin)

    @ellmanncreative please contact our support via https://fooplugins.com/support to correct the Vat issue.

    FooGallery adds it’s own attachment taxonomies, so I guess there is a conflict when there are other attachment taxonomies, added by other plugins.

    But again, looking at their code, it does not make sense what they are doingin that action. I cannot figure out what their code is doing and what they need it for their plugin to function.

    Thread Starter ellmann creative

    (@ellmanncreative)

    Hey. I just wanted to update you that Ninja Team has acknowledged the issue and they’re looking into it. We just prompted them for an update on the case.

    Plugin Author bradvin

    (@bradvin)

    hey @ellmanncreative – ye the Ninja Team contacted us for a copy of the PRO plugin so they could debug the problem

    Thread Starter ellmann creative

    (@ellmanncreative)

    Ninja Team has provided us with a version they claim fixes the issue.

    Initial testing shows that the issue does indeed seem fixed. As such, we’ve enabled the PRO version of your plugin.

    Here’s hoping.

    Hi @ellmanncreative,

    We haven’t heard back from you so I’m going to assume your issue is resolved. Please do open up a new support request if there’s anything else we can help with.

    Thanks in advance,

    Phill

    Thread Starter ellmann creative

    (@ellmanncreative)

    Yes, it would seem that the issue that we’ve had between FileBird and FooGallery is now resolved.

    Your gallery is working great, by the way! It’s exactly what we required, it fits our needs perfectly… I got to say an “I told you so!” ??

    Thank you for your support!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Conflict with FileBird (losing folder assoc)’ is closed to new replies.