[6.1] AttachFileTypeImage1.0 - 08/23/2002 7:07 AM
Mod Name / Version - AttachFileTypeImage1.0.txt
Created - August 23, 2002
Description - Adds a File Attachment Icon to the Postlist, Show Flat and Threaded View indicating the TYPE of File that is attached. With the new download script.. you don't know what you are clicking on... a small photo... a large video file... a text file... a pdf, a File Attachment Icon will indicate what type of file is attached. In the Postlist view, the icon appears in front of the subject (in place of the standard disk). In Flat and Threaded views, it will appear next to the "Attachment" link, which also helps users find the small "attachment" link. You can edit the file types if you need to add an extension. If the file type isn't in the code, it will default to the disk icon.
Working Under - UBB.threads 6.1
Any pre-requisites - none
Author(s) - Joshua Pettit (JoshPet)
Credits - many have suggested it at ThreadsDev - I think Gardener recently suggested this more specifically
Files Altered - postlist.php, showflat.php, showthreaded.php
Database Altered - no
New Files - fileiconmovie.gif, fileiconpdf.gif, fileiconphoto.gif, fileiconsound.gif, fileicontext.gif, fileiconzip.gif
Any other info - This mod is all set, but my graphics are still lacking.
[:"red"]PLEASE POST SOME BETTER FILE ICONS IF YOU FIND THEM!!![/]
Current included icons are:
[]http://www.pettitfamily.net/josh/fileiconphoto.gif [/] for .GIF, .JPG, .PNG graphic files.
[]http://www.pettitfamily.net/josh/fileiconsound.gif [/] for .WAV, .RA, .AU, .MP3, .AVI sound files.
[]http://www.pettitfamily.net/josh/fileiconmovie.gif [/] for .MPG, .MPEG, .RM, .WMV, .MOV, .ASX, .RAM video files.
[]http://www.pettitfamily.net/josh/fileicontext.gif [/] for .TXT text files.
[]http://www.pettitfamily.net/josh/fileiconzip.gif [/] for .ZIP, .SIT, .SEA compressed files.
[]http://www.pettitfamily.net/josh/fileiconpdf.gif [/] for .PDF Adope Acrobat files.
If the file type isn't specified in the code... it will default to the standard disk icon []https://www.ubbdev.com/threads/php/images/icons/disk.gif [/].
Like I said.... I don't really like the icons.... it's all I could find. Suggestions please. Also let me know if I've left out or mis categorized any file type extension.
Thanks!
Created - August 23, 2002
Description - Adds a File Attachment Icon to the Postlist, Show Flat and Threaded View indicating the TYPE of File that is attached. With the new download script.. you don't know what you are clicking on... a small photo... a large video file... a text file... a pdf, a File Attachment Icon will indicate what type of file is attached. In the Postlist view, the icon appears in front of the subject (in place of the standard disk). In Flat and Threaded views, it will appear next to the "Attachment" link, which also helps users find the small "attachment" link. You can edit the file types if you need to add an extension. If the file type isn't in the code, it will default to the disk icon.
Working Under - UBB.threads 6.1
Any pre-requisites - none
Author(s) - Joshua Pettit (JoshPet)
Credits - many have suggested it at ThreadsDev - I think Gardener recently suggested this more specifically
Files Altered - postlist.php, showflat.php, showthreaded.php
Database Altered - no
New Files - fileiconmovie.gif, fileiconpdf.gif, fileiconphoto.gif, fileiconsound.gif, fileicontext.gif, fileiconzip.gif
Any other info - This mod is all set, but my graphics are still lacking.
[:"red"]PLEASE POST SOME BETTER FILE ICONS IF YOU FIND THEM!!![/]
Current included icons are:
[]http:/
[]http:/
[]http:/
[]http:/
[]http:/
[]http:/
If the file type isn't specified in the code... it will default to the standard disk icon []https:/
Like I said.... I don't really like the icons.... it's all I could find. Suggestions please. Also let me know if I've left out or mis categorized any file type extension.
Thanks!