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
File Uploader 'Start Upload' button not working
Avatar
Adam Crase
Member
sp_UserOfflineSmall Offline
Aug 12, 2015 - 7:37 am

Hello

I have searched the forum and can not find anything except Christine's topic: https://simple-press.com/suppo.....p154256. 

This confirmed that I have done what I am supposed to do.

The File Upload plugin installed without a problem. I set permissions for members to upload files. When I hover over 'Add Files' a type of button appears and I am able to browse to a file without a problem - I can also drag and drop. The file shows in the 'Select Files' queue. When I hover over 'Start Upload' I get the hand icon but no button appears and nothing happens... at all.

I see on your Attachments that, once a file is queued, it starts to count the queued files. This does not happen for my site.

I am using Simple:Press on WordPress with WeeklyNews Theme. The SP plugins I am using so far are TinyMCE, Admin Bar, and File Uploader with Plupload.

Can you please advise.

Kind regards

.... Edit: I have attached a screenshot of what I get.Screenshot-uploadFile.jpgImage Enlarger

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2015 - 8:06 am

Hey Adam, I was using weekly news at one point and found a lot of jquery issues with the theme. I had contacted Daniel about the exact same issue and gave me this bit of code to add to to custom JS code footer under advanced settings theme options

(function($) {
var btn = $.fn.button.noConflict() // reverts $.fn.button to jqueryui btn
$.fn.btn = btn // assigns bootstrap button functionality to $.fn.btn
})(jQuery);

also here are some snippets that I added to the custom css to work better with simple-press

these codes help the quote look better

#spMainContainer blockquote:before,
#spMainContainer blockquote:after,
.article-post #spMainContainer blockquote:before,
.article-post #spMainContainer blockquote:after {
content: "";
}
#spMainContainer #spMarkRead:target,
#spMainContainer #spLoginForm:target,
#spMainContainer #spSearchForm:target {
top: 0px;
width: 99.5%;
height: auto;
margin: 0 3px 5px 0;
z-index: 9999;
position: absolute!important;
display: block;
}

this will help video display better 

.spPostContent iframe {
max-width: 640px !important;
max-height: 360px !important;
}

but I was still getting a ton of jquery conflict with the theme so I had to use a different one, it really is a beautiful theme.

Here is the thread I made here on the subject, good luck

https://simple-press.com/suppo.....m-testing/

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2015 - 8:11 am

here is a list of all the errors I am getting with the theme

TypeError: Cannot read property 'createDocumentFragment' of null
#11 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:15664
#10 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:15664 db()
#9 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:19083 Function.m.extend.buildFragment()
#8 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:22706 m.fn.extend.domManip()
#7 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:21072 m.fn.extend.after()
#6 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:23434 m.fn.(anonymous function) [as insertAfter]()
#5 wp-content/themes/weeklynews/assets/js/bootstrap.min.js?ver=2.4.2:6:17641 b.show()
#4wp-content/themes/weeklynews/assets/js/bootstrap.min.js?ver=2.4.2:6:16749 b.enter()
#3 wp-includes/js/jquery/jquery.js?ver=1.11.2:2:3959 HTMLDocument.m.isFunction.e()
#2 wp-includes/js/jquery/jquery.js?ver=1.11.2:3:12574 HTMLDocument.m.event.special.(anonymous function).handle()
#1wp-includes/js/jquery/jquery.js?ver=1.11.2:3:8549 HTMLDocument.m.event.dispatch()

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 12, 2015 - 8:43 am

We did actually put that piece of correcting code into the core SP so you should have it unless you are using an older version of SP prior to its inclusion.

But yes - eradicating those errors would be worthwhile if you can trace where they are coming from and the main cause of this particular problem, Bootstrap - IS being loaded I see.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Adam Crase
Member
sp_UserOfflineSmall Offline
Aug 12, 2015 - 10:18 am

Thank you both for your replies.

I have forwarded the information to Daniel to see if he has addressed this since then. A point in the right direction is always helpful. I will post the progress.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2015 - 2:34 pm

No problem, do keep us updated!

Avatar
Adam Crase
Member
sp_UserOfflineSmall Offline
Aug 12, 2015 - 8:28 pm

Daniel advised me to:

1. Add this code to "Theme Options > Advanced Settings > Custom JS":

(function($) {
    var btn = $.fn.button.noConflict() // reverts $.fn.button to jqueryui btn
    $.fn.btn = btn // assigns bootstrap button functionality to $.fn.btn
})(jQuery);

2. Insert this code in "Theme Options > Advanced Settings > Custom CSS":

#spMainContainer blockquote:before,
#spMainContainer blockquote:after,
.article-post #spMainContainer blockquote:before,
.article-post #spMainContainer blockquote:after {
    content: "";
}

The fix works perfectly. I have buttons, I have upload!!!!

Thank you kvr28 for letting me know it is a theme conflict with the plugin.

Cheers

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 12, 2015 - 9:19 pm

interesting... glad kvr28's code was able to work for you... thanks for the update!

Avatar
Adam Crase
Member
sp_UserOfflineSmall Offline
Aug 12, 2015 - 11:48 pm

I'm not sure if I have a roll-on effect from this fix.

In the admin area, I am trying to change the Post Ratings setting from the default Thumbs to Stars. I am required to select the 'Confirm' button. I get the hand mouse pointer but no response to the Click.

It is a new install of the Post Rating plugin and no stats have been collected. Is it possible for me to simply change this setting directly in the database? 

Thanks in advance.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2015 - 1:14 am

sorry, roll-on effect?  not sure what that means...

i would have to research if a db change is possible, might be multiple steps...  sorry, late and must get to bed, so one of us will check in the AM...

but what happens when you click the confirm button? anything in the browser console?  does the them add stuff in the admin too? so maybe affecting jquery ui there?

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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625