Support Forum

Media and File Upload – do not enable the Start Upload button

NG Nail Gt
Nail Gt
Member

Hello everyone,
my name is Emanuele and yesterday I also a happy user of your amazing plugin.

They are still inexperienced wordpress, so be patient ….
I downloaded the plugin Image, Media and File Upload and I experienced an issue on uploading files.
Clicking AddFile try and add the file but then you do not abbilità the Start Upload button.
I bought one the theme circleFlip on another site and I realized that if I switch to use a standard theme everything works perfectly, so I think it’s a problem of incompatibility between the theme and plugin.

Can you help me? I do not know how to fix it.

I apologize in advance if my English is not good, I got help from google translated and I hope there are no errors.

Thank you in advance for answers.
Emanuele

8 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

This is almost certainly because your WP theme has made use of a script library named ‘Bootstrap’ which is not supported by WordPress and causes display issues (and in this case a button issue) in plugins that use the correct and supported WP API.

A search for ‘Bootstrap’ on these forums will turn up a lot of hits and a lot of workarounds.

However, we do have a ‘hack’ in place that attempts to disable the conflict and allow the uploader button to work as it should. Sadly, this hack was broken in SP 5.6.5. We plan to release an update this coming weekend (5.6.6) so my best advice would be to wait – if you can – a couple of days for the fix. If not, I can point you to a forum topic that describes a fix you can make that has worked for others but it does mean changing code of course.

NG Nail Gt
Nail Gt
Member
Thanks for the reply ,
then I wait for the new update .
thank you
IK Ike
Ike
Member

No problem, I think we’re aiming for Sunday but could be a day or two either way.

AW AMTSO WebAdmin
AMTSO WebAdmin
Member

Yellow Swordfish said
This is almost certainly because your WP theme has made use of a script library named ‘Bootstrap’ which is not supported by WordPress and causes display issues (and in this case a button issue) in plugins that use the correct and supported WP API.

A search for ‘Bootstrap’ on these forums will turn up a lot of hits and a lot of workarounds.

However, we do have a ‘hack’ in place that attempts to disable the conflict and allow the uploader button to work as it should. Sadly, this hack was broken in SP 5.6.5. We plan to release an update this coming weekend (5.6.6) so my best advice would be to wait – if you can – a couple of days for the fix. If not, I can point you to a forum topic that describes a fix you can make that has worked for others but it does mean changing code of course.  

Upgraded to 5.6.6 but sadly not working yet. The problem remains. The “Add Files” button works, but the “Start Upload” doesn’t.

Can you post the link to the forum topic that describes that fix?

YS Yellow Swordfish
Yellow Swordfish
Member

Well the first thing to determine is if the use of BootStrap IS indeed the issue. So is it being loaded? The only reports we have ever had of this particular scenario have always been down to BootStrap but that does not mean, of course, that BootStrap is the only culprit.

To quickly explain – BootStrap is a JavaScript library that is not supported by WordPress. I wish it was! It can change the behaviour and styling of components (like Buttons) and has the annoying side-effect of stomping on elements that are changed by the jQuery UI library which IS fully supported and supplied by WordPress.

If BootStrap use IS indeed your problem then the goal is to ensure it is loaded BEFORE the jQuery UI core. It is not so much a matter of linking you to a topic with a fix as fixes are always different depending what loads the library, how it is loaded and when it is loaded. But all topics in the forum follow the same path – it needs to either NOT be loaded on the forum page or needs to be loaded before the jQuery UI core.

YS Yellow Swordfish
Yellow Swordfish
Member

By the way – do go to the forum admin > Integration > page and permalink panel and ensure that the forum JavaScript is being loaded in the footer. Also – when scripts are involved – always clear your browser cache before testing any change…

AW AMTSO WebAdmin
AMTSO WebAdmin
Member

Someone suggested to try this:

Download Manager Settings > Disable Style & Script > Bootstrap JS

and that actually did the work…

Nevertheless, I also checked forum admin > Integration > page and permalink panel and JavaScript loaded in the footer was not checked.

So I reverted back and removed the disabling of the Bootstrap and then enabled the JavaScript in tge footer, and it also worked.

Thanks!

YS Yellow Swordfish
Yellow Swordfish
Member

That’a great news. I m glad I thought to remind you of that. It ensures that the scripts SP needs get loaded at the end which increase the chance of the script ordering being in our favour!