Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 proeder's File Attachment Mod 1.0
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 13

squab
Starting Member

France
1 Posts

Posted - 30 July 2004 :  07:35:36  Show Profile  Reply with Quote
Hi

I can't download the MOD from the proeder's website(http://www.sharepointing.com/download/proedersFileAttachment.zip). A 4O4 error occured.
This mod can be download from others places ?

Best Regards,

SqUaB<
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 25 August 2004 :  04:18:48  Show Profile  Visit stwilson's Homepage  Reply with Quote
Does anyone know where I can get this MOD? Proeder's site has been unreachable? If not, what is the best file attachment MOD for Snitz?<

Shannon
RidingArizona.com
Go to Top of Page

tilson
Starting Member

5 Posts

Posted - 25 August 2004 :  15:17:56  Show Profile  Visit tilson's Homepage  Reply with Quote
if these mods are open source then maybe Snitz should require all mods to have a project on sourceforge.net. This will prevent the "lost mods" scenario. When a sourceforge project owner gives up they can recruit a new leader to carry the flag for the mod.<
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2004 :  15:29:32  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message  Reply with Quote
Try sending the author an email.<

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 25 August 2004 :  21:52:31  Show Profile  Visit Jezmeister's Homepage  Reply with Quote
quote:
Originally posted by tilson

if these mods are open source then maybe Snitz should require all mods to have a project on sourceforge.net. This will prevent the "lost mods" scenario. When a sourceforge project owner gives up they can recruit a new leader to carry the flag for the mod.



the majority of mods are just things people wanted to make for their own forums, made them and posted them so other people could use them as well - if mod authors were forced to create sourceforge projects ill bet 90% wouldnt post the mods! maybe encourage more people to post them on places like SnitzBitz tho.<
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 23 November 2004 :  12:39:21  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message  Reply with Quote
Hi,

Can someone email me the latest version of this MOD or a working download link?

Thank you in advanced<

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 24 November 2004 :  02:30:43  Show Profile  Reply with Quote
Try getting it from here: proeder's File Attachment Mod 1.0 at Classic Motorcycling Australia (Shameless plug)
<

Cheers,

David Greening
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 24 November 2004 :  07:02:30  Show Profile  Reply with Quote
Thank you very much, Classic, I really was looking around for it!

Now, I need to disable the function allowing any user to delete files from his own directory, leaving of course that function for admin only. I know that I'd edit myfiles.asp file, but really I don't know where...can anyone kindly help, please?

There is also another problem: also when I upload a .jpg file, it appears the code
[img]icon_paperclip.gif Download Attachment: [url="......
and not the one needed to show the picture in the post.
Shouldn't it be automatic, the recognizing of an image file???
(BTW, the "Show images in post" option is on, and I already used Mike's attachment mode without that problem).

Hope someone will help......
Thank you<

Edited by - rabufo on 24 November 2004 10:37:26
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 24 November 2004 :  14:52:47  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message  Reply with Quote
quote:
Originally posted by Classicmotorcycling

Try getting it from here: proeder's File Attachment Mod 1.0 at Classic Motorcycling Australia (Shameless plug)


Thank you for the link! <

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

smoutc
Starting Member

4 Posts

Posted - 25 November 2004 :  12:24:27  Show Profile  Reply with Quote
quote:
There is also another problem: also when I upload a .jpg file, it appears the code
[img]icon_paperclip.gif Download Attachment: [url="......
and not the one needed to show the picture in the post.
Shouldn't it be automatic, the recognizing of an image file???
(BTW, the "Show images in post" option is on, and I already used Mike's attachment mode without that problem).



I just downloaded this mod from classicmotorcycling's link, and had the same problem with images never showing as images in posts. The problem is in the outputfile.asp module. It sets ImageFileType=False, but never does the subsequent check to see if the file is actually an image or not. All I did was add a couple lines to the outputfile.asp file to check for this. I changed the section that looked like this:

'##### Check for allowed extensions

strSQL = "SELECT EXTENSION FROM " & strTablePrefix & "CONFIG_EXTENSION WHERE " & vbNewLine
strSQL = strSQL & "EXTENSION = '" & extension & "' "
set rsExt = my_Conn.Execute (strSQL)

if rsExt.EOF or rsExt.BOF then
AllowFile=false
else
AllowFile=true
end if

to this

'##### Check for allowed extensions

strSQL = "SELECT EXTENSION FROM " & strTablePrefix & "CONFIG_EXTENSION WHERE " & vbNewLine
strSQL = strSQL & "EXTENSION = '" & extension & "' "
set rsExt = my_Conn.Execute (strSQL)

if rsExt.EOF or rsExt.BOF then
AllowFile=false
else
AllowFile=true
select case extension
case ".jpg", ".jpeg", ".gif", ".png"
ImageFileType=True
end select

end if

Another problem I noted with this module is that it does not allow spaces in the filenames, but the original Mike's File attachment mod always did. At the bottom of the outputfile.asp is the "isValidString function", which is where it checks the filename for invalid characters. I just put a ' in front of the three lines related to checking for spaces to remove this restriction, and the mod seems to still work fine. I was unclear why this change was made. (Do certain browsers or OS's have trouble handling file downloads with spaces in the name??)

The final question I have is the original post made reference to images being "thumbnailed" in the My Files page. It doesn't seem to do this, so I am wondering if the download from classicmotorcycling's link is not the most recent version.

Proeder??<
Go to Top of Page

amirh
Starting Member

2 Posts

Posted - 11 December 2004 :  09:43:17  Show Profile  Reply with Quote
Yhe link is dead , can someone please send a working link ?<
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 11 December 2004 :  09:51:02  Show Profile  Reply with Quote
here it is, amirh

http://www.awforum.net/proeders_file_attac-3304-12.zip<
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 11 December 2004 :  10:28:01  Show Profile  Visit modifichicci's Homepage  Reply with Quote
Another link:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=199

If you add this in outputFile.asp
select case extension
	case ".jpg", ".jpeg", ".gif", ".png", ".bmp"'##Image File extensions
	
		ImageFileType=true
	case else'##Downloadable file extensions
		ImageFileType=false
	end select
	
	select case extension
	    case ".jpg"
	       iconimage = strImageUrl & "fileicons/jpg.gif"
	    case ".gif"
	    	iconimage = strImageUrl & "fileicons/gif.gif"
	    case ".bmp" 
	    	iconimage = strImageUrl & "fileicons/bmp.gif"  
	    case ".zip"
	    	iconimage = strImageUrl & "fileicons/winzip.gif"
	    case ".rar"
	    	iconimage = strImageUrl & "fileicons/rar.gif"
	    case ".txt"
	    	iconimage = strImageUrl & "fileicons/txt.gif"
	    case ".doc"
	    	iconimage = strImageUrl & "fileicons/word.gif"
	    case ".pdf"
	    	iconimage = strImageUrl & "fileicons/pdf.gif"
	    case".mid"
	    	iconimage = strImageUrl & "fileicons/mp3.gif"
	    case ".mp3"
	    	iconimage = strImageUrl & "fileicons/mp3.gif"
	    case else
	    	iconimage = strImageUrl & "fileicons/icon_paperclip.gif"
	    end select

just before
'###### Check for invalid chars in filename
you can have image displayed and a specific file icon in front of the file name.
It's better to change also the script moving iconimage after Download Attachement
Better layout!<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 11 December 2004 10:29:47
Go to Top of Page

amirh
Starting Member

2 Posts

Posted - 12 December 2004 :  09:00:31  Show Profile  Reply with Quote
Hi ,

Insert problem in the DB is caused by wrong table definition.
Please chenge the nvchar 1 to nvchar30 .

Amir

<
Go to Top of Page

Trefenwyd
Starting Member

Italy
31 Posts

Posted - 29 December 2004 :  22:39:13  Show Profile  Visit Trefenwyd's Homepage  Reply with Quote
hi proeder, thanks for this mod.

i got the same problem (images not displayed in the post), tried the fix suggested above, but the url in the code is not correct.
when i upload an image to post I got this code:

Insert Image:
http://ravencup.raven-distribution.com/forum/photos/uploaded/tay/2004123044952_IMG_0104.JPG" border="0">
 87.41 KB


i have the "http://ravencup.raven-distribution.com/forum/" added (its the forum folder)...and it should not be there!

any ideas?

thanks a lot!<

Edited by - Trefenwyd on 29 December 2004 23:04:29
Go to Top of Page
Page: of 13 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07