Topic: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Hello,
When I have the media grid plugin (2.31) and the wp-juicebox plugin (1.3.2.0) activated on my wordpress multisite install (3.5.1), the sites will no longer scroll on Windows Phone 8.0 Internet Explorer.

Any ideas why these two plugins would conflict in this way?

Thanks.

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Unfortunately, I do not have a Windows Phone on which to test.

the sites will no longer scroll

Are you referring to the Media Library page in the admin section or the frontend pages?
If I know what page(s) fail to scroll, I will be able to know what scripts WP-Juicebox has loaded on the page(s) and I should have a better idea as to what might be causing the conflict.
If you are referring to the frontend pages, then please post the URL to your site so that I can take a look for myself.
Also, what happens if you deactivate MP6 but keep Media Grid activated?

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Thanks for getting back to me so quickly.  Just FYI if you are interested, if you have access to Windows 8 pro or higher, you can get the Windows phone sdk for free (runs on a visual studio express for windows phone install) and access web pages through the emulator.  That's how I am testing, we don't have a windows phone to test on either, we have just gotten a few complaints through our CRM.  Here is the sdk:

http://msdn.microsoft.com/en-us/library … .105).aspx

The issue is with the front-end pages, we won't need to access the admin section on the phone (so I actually have not even tried), this is purely for the user.  We run a Wordpress multisite with over 250 sites, there are several sites affected, including our main site gsu.edu, you could also check out president.gsu.edu (when I turn either juicebox or media grid off, this site becomes scrollable on the emulator).  I have also tested this extensively on a local installation, because we use some custom themes and my first guess was that there was an issue with our core theme, but testing on my local install with the twentytwelve theme, I get the same result.  If either media grid or juicebox are activated alone, scrolling is fine, but if they are activated together, scrolling breaks.

Sorry, I am not familiar with MP6, is this something I should know about?

Note: Just tried going into the dashboard of president.gsu.edu using the emulator and it seems to scroll without issue.

Thanks

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

The issue is with the front-end pages.

The only external script that WP-Juicebox loads in the frontend pages is the 'juicebox.js' file (which internally loads the 'theme.css' file). This is exactly the same as when embedding a Juicebox gallery into any other web page and it should not prevent a page from scrolling.
Knowing that the only code on the frontend pages generated by WP-Juicebox is the 'juicebox.js' file and the JavaScript embedding code, the problem would appear to be a conflict between the core Juicebox files (rather than the WP-Juicebox code) and the Media Grid plugin.
However, debugging would be difficult as both the 'juicebox.js' and 'media-grid/js/frontend.js' files are packed and obfuscated.
Unfortunately, the only solution I can think of would be to isolate the Juicebox gallery from the other code on your page by creating a gallery by a method other than WP-Juicebox (for example using JuiceboxBuilder-Pro) and loading the gallery into an iframe as documented (as Option #2) here.

Sorry, I am not familiar with MP6, is this something I should know about?

Sorry, I was referring to a different WordPress plugin named Media Grid which requires the MP6 plugin and is used in the admin section only (hence my questions).

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Thanks for the info, I appreciate you looking into this.

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Solved this the next day, but forgot to come back and update.  The problem was that media grid was set to load in the footer, changed it to load in the header and the problem went away.  Also, it loads before juicebox in the header, I didn't test whether that makes a difference or not, but just another thing to note.

Re: [SOLVED] Juicebox Wordpress plugin conflict with media grid plugin

Solved this the next day, but forgot to come back and update.

No problem. I'm glad you were able to resolve your problem.
Thank you for posting back to let me know.