Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Media and File Upload - do not enable the Start Upload button
Avatar
Nail Gt
Rookie
sp_UserOfflineSmall Offline
May 6, 2016 - 2:15 am

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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 6, 2016 - 5:24 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Nail Gt
Rookie
sp_UserOfflineSmall Offline
May 6, 2016 - 6:20 am
Thanks for the reply ,
then I wait for the new update .
thank you
Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
May 6, 2016 - 9:35 am

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

Avatar
AMTSO WebAdmin
Rookie
sp_UserOfflineSmall Offline
May 13, 2016 - 6:03 am

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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 13, 2016 - 6:29 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 13, 2016 - 6:30 am

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...

andy-signature.png
YELLOW
SWORDFISH
Avatar
AMTSO WebAdmin
Rookie
sp_UserOfflineSmall Offline
May 13, 2016 - 6:11 pm

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!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
May 13, 2016 - 6:56 pm

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!

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626