Very easy, actually. One person has already done it.
Basically, here are the config settings you need to use:
# Valid Image extensions. Only files ending in these extensions will be considered a photo. Anything not in this list will not be displayed as a photo. Only files with this extension will be allowed to be uploaded (assming you allow uploads). @imgexts=
# Valid Image extensions. Only files ending in these extensions will be considered a movie. Anything not in this list will not be displayed as a movie. Only files with this extension will be allowed to be uploaded (assming you allow movie uploads). @movieexts=zip,txt,exe
# Allow uploads? If this is 1, people can upload to your photo album by using the function=$upload flag. They must be authenticted first, see below for authentication information. Setting this option to 0 disallows uploads. allow_uploads=1
# Allow movies to be uploaded too? movie_upload=1
Anything not listed above can be pretty much adjusted to your liking.
So what I've done here is turn on downloads and enable movie downloads. Then I blanked out all the image extensions, so no images will be used (since they're handled differently). Now all of the file types you want to deal with should be added under movieexts (I added zip, txt, and exe as an example). Once this is done, your users will be able to upload zip, txt or exe files, and they will be downloadable through the same album interface.
Hope that helps!
[ July 16, 2001 09:11 AM: Message edited by: Mike Bobbitt ]
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.