![]() |
| |||||||
| IPB General Support Post your questions here, no bug reports. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Member | 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. |
| | |
| | #2 (permalink) |
| Junior Forumer ![]() | ...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/ | |
| | |
| | #3 (permalink) |
| Active Forumer ![]() | 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... | |
| | |
| | #4 (permalink) |
| Member | 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. |
| | |
| | #5 (permalink) |
| Junior Forumer ![]() | 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. ![]() |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
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 |