Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Adding my add-on

edited July 2006 in Vanilla 1.0 Help
I'd like to upload my language file, but I encountered some errors.

Some problems were encountered
You are not allowed to upload (Polish-2006-07-03.tar.gz) the requested file type: application/gzip
How to add my language file? I must have a special privileges?

Comments

  • MarkMark Vanilla Staff
    Try it now - I've got a fairly limited list of file types that are allowed to upload, and all applications seem to have a different way of naming their archive types. I've added that one to the list.
  • Mark you should set a requirement on uploads. To keep from having 3,432 files in 54 different formats.
  • Zip would suffice :)
  • kalikianakalikiana New
    edited July 2006
    You should make people upload zip only. That format should be available on any computer. Most Win32 computers have the "compressed folders" feature but probably no way of handling tar.gz files. And most non-windows users would probably have some good archive solution installed anyway. ;)
  • To be honest, I'm more okay with gzip than I am with rar archives. As much as I like .rar (because it's usually better at compressing than .zip), it is a bit of a barrier for people who only have WinZip (which is quite a lot of people, in my experience, although perhaps people who want to set up their own Vanilla might be a bit more tech-savvy).
  • blizeHblizeH ✭✭
    I think most compression programs support .tar.gz extensions now anyway, but it'd still be nice just to have everything as a zip file so we know where we stand :)
  • Zip file support is built into Windows now as well, so it's probably the most commonly supported.
  • Ben said: Zip file support is built into Windows now as well, so it's probably the most commonly supported.

    That's what I wanted to say. Rather tell a linux guy to install unzip but to tell an average win user to install a new archiver.
  • All the downloads seem to be .zip anyway. Maybe Mark has it set so that they're changed to zips automatically?
  • I don't really thing compression is an issue here, the files are merely a folder and a couple of .php files. Not a whole lot that needs compressing. It is more of creating and sticking to a standard. I prefer .rar myself, and I don't mind .tar.gz's at all, but most people out there are most likely unable to extract those files. Having to go download (and find) a program just to get a simple extension would be a real turn off. I'd say .zip is the most common solution.
  • Yeah .rar is good yet for these small files zip is the best and most wide spread.
  • I strongly suggest zip files, it's a VERY common file format everyone and their grandmothers are familiar with. And for what you're basically packaging you don't need to pack to save that whole 0.1kb extra as you would under another format. Given that it would be nice, but it's the end user who will be recieving this, not knowing what to do with it, and either discarding the extension or screaming about it later on. For the meanwhile, I suggest keeping it simple. Just do .zip.
  • Mark said, 7 days ago;
    Try it now - I've got a fairly limited list of file types that are allowed to upload, and all applications seem to have a different way of naming their archive types. I've added that one to the list.
    I've also run into this problem using the Attachments extension. If this is a Vanilla restriction, please would you let us know where we can add formats in our installations, as I'd like to use Vanilla on an intranet and people will be wanting to upload all sorts of nasty things like .doc, .xls, .mht...
  • MarkMark Vanilla Staff
    It's not a vanilla restriction. I mean, Vanilla doesn't allow you to upload anything by default - there's not even a single form in vanilla for uploading things. There is a class in the framework that I use for uploading items, and it allows you to specify file extensions / types that are allowed for upload. Basically I'm just trying to keep people from uploading executables.
This discussion has been closed.