[Tinhte] HTML5 Uploader (Unmaintained)

[Tinhte] HTML5 Uploader (Unmaintained) 1.0.3

No permission to download
I always load my js folder from other domain and using
Code:
$config['javaScriptUrl']   = 'https://otherdomain.cdn.com/js';
on my config.php all the addons recognize the external .js files automatically.
This addon with the code above doesn't work. but removing that line on config.php (loading the scripts locally) it works perfect.
The issue is that don't let me load the scripts externally.
 
This addon doesn't work (doesn't allow multiple uploads from phones) if you have your js folder in other domain (cdn) and you have something like this on your config.php:
Code:
$config['javaScriptUrl']   = 'https://otherdomain.cdn.com/js';
There are some way to make it work using this configuration?
Have you uploaded the files within "js" in the package to your cdn js directory? It should work without issue with customized $config['javaScriptUrl'] like yours.
 
I always load my js folder from other domain and using
Code:
$config['javaScriptUrl']   = 'https://otherdomain.cdn.com/js';
on my config.php all the addons recognize the external .js files automatically.
This addon with the code above doesn't work. but removing that line on config.php (loading the scripts locally) it works perfect.
The issue is that don't let me load the scripts externally.
Do you happen to know which file does not recognize your customized javascriptUrl?
 
Hello @xfrocks.
Yes Sir, I've uploaded normally all the files of /Tinhte/Html5Uploader on my cdn js directory as usual. I have many addons working perfectly using this method.
After several tests I've discovered your addon doesn't allow select multiple pictures from mobile devices.
but deleting that line on my config.php:
Rich (BB code):
#$config['javaScriptUrl']   = 'https://otherdomain.cdn.com/js';
the addon works perfect.
I did all my test (many) with all addons disabled, fresh installation etc etc. always the same result.
 
Hello @xfrocks.
Yes Sir, I've uploaded normally all the files of /Tinhte/Html5Uploader on my cdn js directory as usual. I have many addons working perfectly using this method.
After several tests I've discovered your addon doesn't allow select multiple pictures from mobile devices.
but deleting that line on my config.php:
Rich (BB code):
#$config['javaScriptUrl']   = 'https://otherdomain.cdn.com/js';
the addon works perfect.
I did my test with all addons disabled, fresh installation etc etc.
Can you send me your site url to test from my devices? Conversation is okie.
 
The true is that probably there was something wrong on my previous installation, (maybe) after several hours trying to make it work I did a clean installation, I've configured a new zone in the CDN and now is working perfectly.
Thanks for this great addon. to me is essential.(y)
 
Stupid question, but is this now built in to Xenforo 1.5? Because it looks the same thing as the current uploader? Thanks.
 
Hats off to Dinh Thanh for this lovely addon freeing us from Flash-hell ;)

Anyroad, upgraded to 1.0.3 and everything is working smoothly.

Then, I noticed that when i drag and drop a file to edit window, the file will be uploaded, but the nice progress bar is not showing, only "XF standard one" in right top corner of screen. When i click "Upload a file", progress bar shows up normally.

Also, why must i have "Use Flash Uploader" enabled in ACP - Options - Attachments for progress bar to show? As i understand, this addon replaces the built in attachement uploader :S

Is there something weird / wrong in my installation, might it be in this addon, or is this standard XF issue?

So I'm a bit confused now, whether the addon is active/working or not for me :confused:


edit: As i have Java disabled in FF while testing this, i suppose HTML uploader is used / working.
 
Last edited:
Then, I noticed that when i drag and drop a file to edit window, the file will be uploaded, but the nice progress bar is not showing, only "XF standard one" in right top corner of screen. When i click "Upload a file", progress bar shows up normally.
Yes, that's XenForo's default behavior. Even without the add-on, but XenForo's Flash uploader instead, it still won't show the upload progress bar if you use drag & drop. I believe the add-on's author mentioned that he won't try to change that.

Also, why must i have "Use Flash Uploader" enabled in ACP - Options - Attachments for progress bar to show? As i understand, this addon replaces the built in attachement uploader :S
Yeah, well, the add-on pretty much works by injecting itself to the Flash uploader block and replacing the Flash uploader with itself. So if you disable Flash uploader from Admin CP, the block where the add-on is supposed to inject itself won't appear, which results in the HTML5 uploader not appearing as well.

So I'm a bit confused now, whether the addon is active/working or not for me :confused:
edit: As i have Java disabled in FF while testing this, i suppose HTML uploader is used / working.
I'm using Flashcontrol extension for Chrome to disable Flash on all sites. On XenForo Community board, I could see that the add-on had blocked the Flash uploader (the extension would show an icon which allowed user to unblock the blocked Flash whenever they wished to do so). But on my board, the add-on couldn't detect any Flash within the page, but I could upload files just fine, even with the progress thingy. So yeah, it was obviously working.
 
Oh right, note to others: Don't forget to change 'use_flash_uploader_to_upload_attachments' phrase on your installation. This phrase is the one being displayed on user's Preferences page. The default value is 'Use the Flash-based uploader to upload attachments'. Changing it to 'Use the HTML5-based uploader to upload attachments' will probably make much more sense if you use the add-on.
 
1. When I click on "Upload a File", following Overlay doesn't appear anymore with this addon enabled:
2015-12-13_072617.webp
Can this be integrated again?


2. Even if I disable flash in Chrome by chrome://plugins or using plugin "FlashDisable" for Firefox to disable flash and refresh the site, I can upload multiple files at the same time. And Firefox plugin "FlashDisable" shows that the page wants to load flash (no other flash content like youtube videos on the page). so it seems it doesn't work on my forum?
 
Oh man - the same question as so many times in this thread. Please read only a pair of last pages and you will find your answer. ;)
 
What a slick add-on. Installed and it works flawlessly in XF 1.5.5 with Safari 9.0.2 and on iOS 9.2.... add-ons where you don't recognize that they are there are my favorites... ;)(y)
 
I have the flash uploader disabled in the AdminCP
Don't disable Flash uploader. This add-on works by "replacing" the codes for the Flash uploader with the HTML5 one. If you disable Flash uploader from Admin CP, then the HTML5 won't be used either. Read my reply here. Also, don't worry, even if you have "Flash" uploader enabled on Admin CP, it'll always be the HTML5 one.
 
Last edited:
Don't disable Flash uploader. This add-on worky by "replacing" the codes for the Flash uploader with the HTML5 one. If you disable Flash uploader from Admin CP, then the HTML5 won't be used either. Read my reply here. Also, don't worry, even if you have "Flash" uploader enabled on Admin CP, it'll always be the HTML5 one.

You replied before I had a chance to delete my post :D

I figured that out, but I appreciate the help none the less.
 
Oh well, lol. I was in the middle of working on something. And since I had the email notification enabled for this thread, I immediately noticed your reply and thought that I'd just reply right away.
 
Back
Top Bottom