Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 proeder's File Attachment Mod 1.0

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
proeder Posted - 05 February 2004 : 03:36:29
09.05.04 - Updated Zip File, link fixed, bugs fixed

(02.05.04: some writing errors in replace files...sorry, fixed)

This a improved version of Mike's File Attachment with a lot of included features worked out by Suhern. Thanks to him!

I built in some more nice features which make this now a real mod I believe:

  • Admin Panel to control all settings

  • File size, extensions, server timeout and uploadfolder configurable

  • Improved error listings, when files are not uploaded - no you know why!

  • Reusing previously uploaded files as easy as uploading a new one

  • In myfiles.asp users may delete files they don't want to use anymore

  • Admins can delete any file in any folder

  • Images are displayed in posts, when feature is turned on

  • Images are thumbnailed in myfiles.asp

  • dbs file and readme included

  • Two language versions: German and english


06.02.04:
  • script for checking invalid characters in filename added

For downloading the mod please follow the link or come to my demoforum
17.02.04:
  • Round function corrected
  • Readme updated
  • Images included
  • Images definded now in inc_iconfiles.asp
  • link in post.asp improved (mouseover with hand style
  • Icons for different file types in admin console added
  • dbs file now without error

For downloading the mod please follow the link or come to my demoforum
Download

[EDIT]IMAGES NOW INCLUDED!!!

Have fun!<
15   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 06 January 2013 : 11:17:03
Glad you got it sorted.
Nick Feakes Posted - 06 January 2013 : 11:04:43
OK - answered my own question.
If anyone else is interested, find the following in myfiles.asp

If Usefile <> "select" then
response.write " <td bgcolor=""" & strPopupTableColor & """>" & vbNewline & _
" <INPUT TYPE=""submit"" NAME=""enter"" value=""delete"" onclick=""JavaScript:window.location=('myfiles.asp?DeleteFile=true&FileToInsert=" & Name & "');"">" & vbNewline & _
" <br></td>"
else
response.write "<td width=200 & bgcolor=""" & strPopupTableColor & """></td>"
end if

Put
IF AdminAllowed Then

End if

Around those lines.
Nick
Carefree Posted - 06 January 2013 : 10:49:15
The versions at SnitzBitz do not have that comment. You should post a link to a copy of your "myfiles.asp" in .txt format for us to look at.
Nick Feakes Posted - 06 January 2013 : 09:52:29
I have this mod installed and it works perfectly. I want to prevent members deleting their images. I see there is a comment in myfiles.asp (line 301 in mine) that says "edit this to only allow admins to delete files". What changes do I need to make?
Nick
Nick Feakes Posted - 03 July 2011 : 08:47:49
Mark, my apologies. Only the name of the author of your signature was visible at the top of the page and my brain saw that and stopped working (again!).
Nick
AnonJr Posted - 01 July 2011 : 11:52:46
Not a problem. But who's "Rick"?
Nick Feakes Posted - 30 June 2011 : 13:35:42
Thank you Rick - great service as usual
Nick
AnonJr Posted - 30 June 2011 : 12:01:48
ASPMaxRequestEntityAllowed is on your server - but since it is a hosted account you may or may not have access to change it. You'll need to contact your host to see if you can get the limit bumped up.
Nick Feakes Posted - 30 June 2011 : 11:41:45
Huw - it is a hosted account. I tried stopping IIS but it didn't make any difference (I was hoping it was just my machine as I use IIS).

David - I looked at that article and I couldn't find ASPMaxRequestEntityAllowed on my computer (is it called that in Windows 7 I wonder?), whilst that might resolve the issue for me it would obviously require each member of my forum to make that change - I don't think I can ask that given the risks to the OS involved.

Is there any other way around this? It is not a real problem as I have set the file limit to 100k, I will just put a note in the instructions explaining what to do if you get that super useful message.
Nick
Classicmotorcycling Posted - 29 June 2011 : 14:26:47

You need to do a search for ASPMaxRequestEntityAllowed this would get you a link to a Microsoft article: You may receive a 403 error when you use an ASP request to upload a large file in Internet Information Services
HuwR Posted - 29 June 2011 : 02:36:36
Yes, that is almost certainly what is causing the message. Is this your own server or a hosted account?
Nick Feakes Posted - 28 June 2011 : 16:42:33
This mod works well, thank you. If I try and upload a file larger than 200k I get the following error message:

Request object error 'ASP 0104 : 80004005'
Operation not Allowed
/forum/outputFile.asp, line 70


Sorry about the first post, I have now edited the symptoms. Further research seems to indicate that there is a problem within iis6.0 limiting uploaded files to 200K. Is this causing this message? I am using an on line server as a test site.

Nick
AnonJr Posted - 18 March 2010 : 18:51:47
Yes - it works with Access, SQL Server, and MySQL.
lsurebel4 Posted - 18 March 2010 : 15:00:05
Can you run this 5-in-1 mod with an ACCESS DATABASE?
Panhandler Posted - 26 September 2008 : 10:26:07
Try SnitzBitz and look for the 5-in-1 mod.
It contains the proders file attachment and several other mods all prepackaged. It works.
<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000 Version 3.4.07