Author |
Topic |
simonettaj
Starting Member
Australia
5 Posts |
Posted - 29 August 2002 : 20:45:43
|
Cool thanks for that just a typo
quote: Originally posted by GTEUK
looks like a simple error, try inserting
Response.Write("<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>")
instead
|
|
|
xhc0106
Starting Member
2 Posts |
Posted - 30 August 2002 : 02:45:29
|
Works in FAT32 OS but can not upload binary file in NTFS OS. Can some one help?
Thanks. |
Edited by - xhc0106 on 30 August 2002 02:46:32 |
|
|
hackemaier
Starting Member
4 Posts |
Posted - 02 September 2002 : 18:38:52
|
quote: Originally posted by xhc0106
Works in FAT32 OS but can not upload binary file in NTFS OS. Can some one help?
Thanks.
sorry my english is not so good.
for win2k sever/pro so you have to set the rights on the folder ..\data\.. to every user on the ntfs system. after this change it will work. good luck.
for winxp pro after installation of iis you get a new option under folder properties. its called webdeallocation (i dont know which word is used on an english os). here you can give the folder an aliase and rigths for the folder you will see what is to change.
philip |
Edited by - hackemaier on 03 September 2002 12:19:31 |
|
|
hackemaier
Starting Member
4 Posts |
Posted - 03 September 2002 : 13:12:18
|
while translating the mod to german. i remark that the same file in four different uploads has three different sizes.
why? |
|
|
xhc0106
Starting Member
2 Posts |
Posted - 03 September 2002 : 13:43:39
|
quote: Originally posted by hackemaier
while translating the mod to german. i remark that the same file in four different uploads has three different sizes.
why?
Thanks for replying my post. I believe I have right to access to the upload folder. So i can upload the text Files correctly. But for the binary files, after upload the content was changed. It can not be reopened. This problem only occur in Win2K with NTFS. It works find in Win2K with FAT32. Can you help? |
|
|
hackemaier
Starting Member
4 Posts |
Posted - 04 September 2002 : 04:54:16
|
when i try it over localhost it works. i will check it from another machine, beeing at home this evening. but on my system here it works fine. ive tested *doc files *.jpg and *.bmp |
|
|
JohnSherwood
Starting Member
United Kingdom
8 Posts |
Posted - 12 September 2002 : 08:01:05
|
quote: Originally posted by Michael Schmidt
here is the code that needs to be inserted into post.asp converted to Response.Write's:
Response.Write("<tr>")
Response.Write("<td bgColor=""" & strPopUpTableColor & """> </td>")
Response.Write("<td bgColor=""" & strPopUpTableColor & """ valign=""center"">")
Response.Write("<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize """>")
Response.Write("<a href=""#"" onClick=""window.open('upload.html','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=400,height=300');""><img src=""icon_paperclip.gif"" border=0>Insert File Attachment</a><br>")
Response.Write("</font>")
Response.Write("</td>")
Response.Write("</tr>")
search for the text 'Check here to include your profile signature.' and insert that code immediately before the <tr> tag that encompasses the signature checkbox tag.
that should do it for 3.4.x
Hi.
Apologies for any stupid questions I'm about to ask - I'm a total newbie to this and am in the process of implementing Snitz on our company Intranet.
I'm trying to set the attachment mod up on a 3.4.02 server but cannot for the life of me see the <tr> tag Mike mentions.
Could anyone shed any light on this?
Cheers
John |
|
|
Gooey
New Member
55 Posts |
Posted - 12 September 2002 : 10:03:13
|
yeah.. it's all changed in the latest version... open post.asp and go to line number 810 which should be
" </tr>" & vbNewLine & _
after that past the following in...
" <tr>" & vbNewLine & _ " <td bgColor=""" & strPopUpTableColor & """ valign=""center"">" & vbNewLine & _ " <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _ " <a href=""#"" onClick=""window.open('upload.html','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=400,height=300');""><img src=""icon_paperclip.gif"" border=0>Insert File Attachment</a><br>" & vbNewLine & _ " </font>" & vbNewLine & _ " </td>" & vbNewLine & _ " </tr>" & vbNewLine & _
and that should do the trick... hopefully... |
|
|
JohnSherwood
Starting Member
United Kingdom
8 Posts |
Posted - 12 September 2002 : 10:27:23
|
Nice one Gooey - works a treat |
|
|
Gooey
New Member
55 Posts |
Posted - 12 September 2002 : 11:54:54
|
No probs |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 12 September 2002 : 17:45:58
|
I have managed to get this running under 3.4.01/02 with a few modifications, but using the original upload file, so no need for COM objects/external software. and to get it running in post.asp, all did was this:
Post.asp:
Line 1051 Response.Write " <a href=""#"" onClick=""window.open('pop_upload.asp','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=440,height=310');""><acronym title=""Upload an Image File..."">" & getCurrentIcon(strIconPaperClip,"","") & "</a> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Insert an Image File</acronym><br /></font>" & vbNewLine
In inc_iconfiles.asp at the end of the other icons listed:
Const strIconPaperClip = "icon_paperclip.gif|15|15"
I also renamed upload.html to pop_upload.asp (which I still need to change to Response.Write) and changed outputfile.asp to Response.Write. But in any case it works currently on 3.4.01/02. I have only allowed admins to use this function, but can change it to members easy enough.
Mike, if you want a copy of the files let me know and you can send then out.
|
Cheers, David Greening |
|
|
DJ5A
Junior Member
163 Posts |
Posted - 13 September 2002 : 11:40:18
|
Hello Everybody:
If Most of the changes Mentioned on These Replies are Added to Mike's File Attachment Mod for Snitz, I would Really like A Copy.
It Would Also be Very Nice if You had the Feature if you Could Choose Just a Link or Have Picture in the Post.
If it Has Plenty of Admin Features? The Reason I'm Sying this is I have a Bunch of Lunatices at My Forum & With Out Limits on File Types, File Size, Seperate Picture Places for Each Member & a few Other Options. LOL, It Would be To Dangerous for My Forum.
It Sounds like a Really Nice Mod & Coming Along Great!
Thank You for Your time!!!!! DJ5A |
Thank You for Your Time!!!!! DJ5A |
|
|
samyot
Junior Member
Canada
242 Posts |
Posted - 13 September 2002 : 12:56:19
|
quote: Originally posted by Classicmotorcycling
I have managed to get this running under 3.4.01/02 with a few modifications, but using the original upload file, so no need for COM objects/external software. and to get it running in post.asp, all did was this:
Post.asp:
Line 1051 Response.Write " <a href=""#"" onClick=""window.open('pop_upload.asp','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=440,height=310');""><acronym title=""Upload an Image File..."">" & getCurrentIcon(strIconPaperClip,"","") & "</a> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>Insert an Image File</acronym><br /></font>" & vbNewLine
In inc_iconfiles.asp at the end of the other icons listed:
Const strIconPaperClip = "icon_paperclip.gif|15|15"
I also renamed upload.html to pop_upload.asp (which I still need to change to Response.Write) and changed outputfile.asp to Response.Write. But in any case it works currently on 3.4.01/02. I have only allowed admins to use this function, but can change it to members easy enough.
Mike, if you want a copy of the files let me know and you can send then out.
If I understand correctly, you converted the "File Attachments v2" mod to 3.4.01/02. If possible, I would like to get a copy.
I liked the fact that you could limit file size and type and that the files where uploaded in different folders created from the username, this way you knew who's files belong to who.
Thank you in advance, |
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
|
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 13 September 2002 : 22:23:33
|
Samyot,
I have converted the mod to work on 3.4.01/02 and it has the limit file size/type and goes in each users own directory, but as it was Mike who created the MOD originally, I would like to either pass it on to him to distribute of for Mike to send me an e-mail saying I can put it up on one of the MOD boards.
quote: Originally posted by samyot
If I understand correctly, you converted the "File Attachments v2" mod to 3.4.01/02. If possible, I would like to get a copy.
I liked the fact that you could limit file size and type and that the files where uploaded in different folders created from the username, this way you knew who's files belong to who.
Thank you in advance,
I am a great believer in not distributing other peoples MOD's with out their permission, so I always ask first, other wise I would give it to you. I don't like to put people's noses out of place.
Mike, I have fully converted the mod to 3.4.xx compatable, do you want a copy and do you want to distribute, or can you send me an e-mail giving you permission to distribute?
Sorry folks, but credit goes to the original author.
|
Cheers, David Greening |
|
|
ustcatgccaa
Starting Member
22 Posts |
Posted - 13 September 2002 : 22:59:06
|
Please send the full 3.4.02-compatible to my email addy as well. I tried making the initial program to work on my forum but i've had little success. My post.asp has already been modified by the POLLS mod. Should the following lines still work with v3.4.02? Where should i place it (Polls mod changed where "..."TopicQuote" then %>" is located). ===================================================== <tr> <td bgColor="<% =strPopUpTableColor %>"> </td> <td bgColor="<% =strPopUpTableColor %>" valign="center"> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"> <a href="#" onClick="window.open('upload.html','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=yes,width=400,height=300');"><img src="icon_paperclip.gif" border=0>Insert File Attachment</a><br> </font> </td> </tr> ================================================ |
Edited by - ustcatgccaa on 13 September 2002 23:02:29 |
|
|
Topic |
|