Forum Hosting  

Go Back   Forum Hosting > IPB Support > IPB General Support

IPB General Support Post your questions here, no bug reports.


Reply
 
LinkBack Thread Tools Display Modes
Old 09-17-2005, 06:09 PM   #1 (permalink)
Member
 
ccassie's Avatar
 
Join Date: Sep 2005

Posts: 4
Rep Power: 0 ccassie is on a distinguished road
fTrader: (0)
fBuck$: 182.0
Bank: 0.0
Total fBuck$: 182.0

My Forumer
My Country:
Default Please Add XLS to allowable upload types

Please allow XLS (Excel Spreadsheets) to be uploaded to the Forum.

My forum poc.4.forumer.com does not allow for XLS files to be uploaded.

I have tested txt, pdf & doc files and they all work fine on my hidden test forum. But cannot upload xls files.

Please make the necessary changes to allow us to upload XLS files as well.

The message that I recieve is :-

THE FOLLOWING ERROR(S) WERE FOUND
You cannot upload this type of file

The file I am trying to upload is only 19k so there is no problem with teh Size.

The forum definatly has file uploads enabled as I successfully uploaded the txt, pdf and doc file with no problems.

I can upload an Excel Template file which has extension xlt but the image shown appears to indicate this is a Quicktime file rather than a Microsoft Excel file.

The mime types for Microsoft Excel are :-

application/vnd.ms-excel xla
application/vnd.ms-excel xlc
application/vnd.ms-excel xlm
application/vnd.ms-excel xls
application/vnd.ms-excel xlt
application/vnd.ms-excel xlw

From a quick google search I found the following information taht relates to the IPB:-

Open conf_mime_types.php from the same directory index.php and admin.php are in. After this (Should be on line 29):
CODE
"application/msword" => array( 1, 'word.gif' , 'MS Word doc' ) ,

Add:
CODE
"application/msexcel"=> array( 1, 'word.gif' , 'Excel Spreadsheet' ) ,

Note that this will use the same icon that word files do. To make it use another icon simply upload your icon to /html/mime_types/ and change word.gif to the name of your uploaded icon

I have attached an excel.gif if you do not have one available.
Attached Images
File Type: gif Excel.gif (1.0 KB, 31 views)
ccassie is offline   Reply With Quote
Old 09-18-2005, 04:12 AM   #2 (permalink)
Junior Forumer
 
SFSSnake's Avatar
 
Join Date: Nov 2004

Posts: 88
Rep Power: 4 SFSSnake is on a distinguished road
fTrader: (0)
fBuck$: 777.7
Bank: 0.0
Total fBuck$: 777.7

My Forumer
My Country:
Default Re: Please Add XLS to allowable upload types

...and why not just upload it as a .zip file?

If its to be downloaded then:
a) itll be smaller
b) you can upload it

Or if you want the excel sheet to open in an IE window, then upload it somewhere else and link it into the post.

Link to my forum: http://sfsclan.5.forumer.com/
SFSSnake is offline   Reply With Quote
Old 09-18-2005, 06:35 AM   #3 (permalink)
Active Forumer
 
Iyeru's Avatar
 
Join Date: Jul 2005

Posts: 326
Rep Power: 4 Iyeru is on a distinguished road
fTrader: (0)
fBuck$: 2,332.7
Bank: 0.0
Total fBuck$: 2,332.7

My Forumer
My Country:
Default Re: Please Add XLS to allowable upload types

Even if they were added, IPB 1.3.1 has some bugs still in it that may still not allow the uploading of your files. Like when I added some odd extension to Avatar Uploads one day (on another host) it gave users an error when they tried to upload their avy in that format.

Anyway, yes... I want to know why you don't just use a zip file.

Banned FMODS.com Member
Do not give me support I do not already know...
Iyeru is offline   Reply With Quote
Old 09-18-2005, 05:34 PM   #4 (permalink)
Member
 
ccassie's Avatar
 
Join Date: Sep 2005

Posts: 4
Rep Power: 0 ccassie is on a distinguished road
fTrader: (0)
fBuck$: 182.0
Bank: 0.0
Total fBuck$: 182.0

My Forumer
My Country:
Default Re: Please Add XLS to allowable upload types

Zip file is definatly an option...

I was asking for the xls extension to be added as it is most likely a common one that people would want to upload.

The XLS files that we have are only small like 20k so Zip'ing them doesnt contain much of an advantage. Especially as they are Office XP files and already compressed.

Some user education is probably required to produce the ZIP file.

I have not tested a ZIP file yet... But I assume from what you are all saying they they definatly work.

I have teh last file uploaded as an HTML file but unfortunatly Firefox cannot open it correctly as it uses MS ActiveX control's I believe. Have to see what firefox permissions are stopping it or extensions are available.
ccassie is offline   Reply With Quote
Old 12-21-2005, 06:36 AM   #5 (permalink)
Junior Forumer
 
blackshadow's Avatar
 
Join Date: May 2004

Posts: 95
Rep Power: 5 blackshadow is on a distinguished road
fTrader: (0)
fBuck$: 678.3
Bank: 0.0
Total fBuck$: 678.3

My Forumer
My Country:
Default Re: Please Add XLS to allowable upload types

ZIP works fine, but that's all. I don't understand why not allow at least the most common compressed extensions, like rar, ace, ..., it doesn't make sence.
blackshadow is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Upload File imported_godevil IPB General Support 6 05-20-2007 11:37 PM
What Kind Of Files Can I Upload? kylepluto IPB General Support 4 11-13-2004 01:10 AM
I Cant Upload Anything! imported_The King Of Pimps IPB General Support 8 02-19-2004 01:01 PM