Previous Thread
Next Thread
Print Thread
Hop To
#183870 05/05/2007 10:43 AM
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
7.1.1 File Manager

Errors show after the upload, i think checking should be prior smile
if its possible?

Ive been playing around today and come across the following issues.

Files are uploaded before error checks.

What happened was i clicked on a 60mb file (Obviously above my file size allowance)
and had to wait until the upload was complete before being informed it was the wrong extension?
It was and it was over size.
So i tested this again with a valid file type but over size 2mb for speed,
and i get an error. But after the upload (wait time).

Couldn't these checks be performed before the upload happens?

For now I've updated my language file to provide more info
to my members.

Language File : FileManager.php
NO_FILES

Originally Posted by me
<div class="small">Visit Our Forum "Feedback & Help" for more help on this feature.<br />Permitted File Extensions {$config['ATTACHMENT_TYPES']}<br />Max Size = 1mb or {$config['ATTACHMENT_SIZE']}kb<br /></div>

Should look like this when previewed :

Visit Our Forum "Feedback & Help" for more help on this feature.
Permitted File Extensions .gif,.jpg,.jpeg,.png
Max Size = 1mb or 1048576kb

someone may be able to tweak it to show the file size
in user friendly format as i just typed in 1mb as text.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Dec 2003
Posts: 1,798
Likes: 2
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,798
Likes: 2
I like the language change, I get emails from clients saying their users can't upload - then it turns out they're trying to upload 60mb .exe files or something wink


- Allen
- ThreadsDev | PraiseCafe
Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
FYI, the size check can't be done till the file is uploaded; the extension check however you'd think could be


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 206 guests, and 158 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)