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

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 16 February 2004 :  14:31:48  Show Profile  Reply with Quote
Did you add this to your admin_home.asp file as listed in the readme.htm?:
Response.Write	"                <LI><span class=""spnMessageText""><a href=""admin_attach.asp"">Attachments Administration</a></span></LI>" & vbNewLine
That will get your admin side of things setup..<

Cheers,

David Greening
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 16 February 2004 :  21:23:07  Show Profile  Visit proeder's Homepage  Reply with Quote
Thanks for all the input, thanks to CMC for helping out with some answers; I've been away for a couple of days.

@Norwegian: You could play around with the the path variable in the scripts, maybe you will find a way to put the upload folder elsewhere. The problem for me was that I used the pathend variable to cut the last characters off the path. Meaning If your current path would be
c:\yourweb\forum\outputfile.asp

then the path variable would cut off the last 14 chars to define the path for the uploadfolder, which then would be
c:\yourweb\forum\


So if yould customize that for your needs you would define pathz length to "-20" if your forum dir would be "forum". You would have to change these values in outputfile.asp and myfiles.asp.

Give me one more day to fix some issues in the code and I will post a new version with some improvements. (Also found some icons for filytypes)

BTW: The issue with the paperclip inline - that works in the current version only if you have the "show images in posts" feature turned on.

Have fun!

<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com

Edited by - proeder on 16 February 2004 21:25:09
Go to Top of Page

NorwegianViking
Junior Member

Denmark
119 Posts

Posted - 17 February 2004 :  04:21:45  Show Profile  Visit NorwegianViking's Homepage  Reply with Quote
Great proeder!!

I'll test it out<

kind regards
NorwegianViking

Mod installation for beginners | User registration problems?

Edited by - NorwegianViking on 17 February 2004 04:22:55
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 17 February 2004 :  05:49:38  Show Profile  Visit proeder's Homepage  Reply with Quote
New Release online, see first post.<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

WMA
Starting Member

Ireland
8 Posts

Posted - 17 February 2004 :  11:12:22  Show Profile  Reply with Quote
Well done proeder - managed to get upload feature working yesterday..before your new version of 17th Feb! Really like the thumbnail feature - works a treat. The download feature sounds worth the effort of reloading it. Is there an easy way to upgrade it.. I've a few mods and would appreciate any time saving ideas. Is there anyway for the image upload to upload the image directly into the post rather than having to use the reuse file button?<
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 17 February 2004 :  16:59:55  Show Profile  Visit proeder's Homepage  Reply with Quote
quote:
Originally posted by WMA

The download feature sounds worth the effort of reloading it. Is there an easy way to upgrade it.. I've a few mods and would appreciate any time saving ideas.


Yes. There will be a upgrade included.
quote:
Is there anyway for the image upload to upload the image directly into the post rather than having to use the reuse file button?


I do not understand your question - using the reuse button allows you to reuse a file which is already on the server. That image then will be deisplayed directly in the post. What exactly do want more?<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

R01
Starting Member

15 Posts

Posted - 19 February 2004 :  16:53:24  Show Profile  Visit R01's Homepage  Reply with Quote
Thanks but I did...I will try the new one :)<


I'm the one they warn you about!
Go to Top of Page

ROB
Junior Member

USA
347 Posts

Posted - 23 February 2004 :  22:55:07  Show Profile  Visit ROB's Homepage  Send ROB an AOL message  Send ROB an ICQ Message  Send ROB a Yahoo! Message  Reply with Quote
I'm getting a 404 error trying to download this. If it's just me, could someone send me the file?<

Jeff (ROB) Hester
BigBlueNetwork | BigBlueBall | Christian Church Today
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 24 February 2004 :  00:59:31  Show Profile  Visit proeder's Homepage  Reply with Quote
Link's working now.<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

raxous
Starting Member

12 Posts

Posted - 21 April 2004 :  10:28:20  Show Profile  Reply with Quote
Great tool!!!

I had quite a few probs untill I changed the code pasted into 'post.asp' to the code below (the equivalent code in the post.asp from the zip was missing a couple of '&' and a few '"'!

'################### File Attachment: Link to add #######################

if strAllowAttachment = 1 then

Response.Write "<tr>" & vbNewLine & _
"<td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _
"<td bgColor=""" & strPopUpTableColor & """ valign=""center"">" & vbNewLine & _
" <a href=""#"" onMouseover=""this.style.cursor='pointer'"" onClick=""window.open('pop_upload_new.asp','Uploading','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=800,height=330');""><acronym title=""Attach a file..."">" & getCurrentIcon(strIconPaperClip,"","") & "</acronym></a><acronym title=""Attach a file...""> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """>Click here to attach a file to your post</font></acronym>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine
end if

'##################################################################################<
Go to Top of Page

nettemor
Starting Member

20 Posts

Posted - 23 April 2004 :  05:35:36  Show Profile  Visit nettemor's Homepage  Reply with Quote
Hello,

I've installed this mod (it's great, thanks for doing this!), but i have a question. When i post a new topic with an image, this works fine. But when i try to read the topic, i would like for the image to display automaticly. I do not want to click on a link (ex: Download attatchement here.... "link to click")

I've seen that this is possible, so i guess i'm just missing a setting or so. Pls help me if you can?
<
Go to Top of Page

srobw
Starting Member

Netherlands
2 Posts

Posted - 29 April 2004 :  04:11:50  Show Profile  Reply with Quote
Hello

When i (admin) delete an uploaded file then all the topics in wich the attachment is mentioned will give a error whenever you click on the attachment-link since the file is no longer there.
Is there a fix like a nice message "file does not exist" or removing attachment-link in the/all(reuse) topics whenever the file is deleted.

BTW Great forum!<
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 01 May 2004 :  22:41:22  Show Profile  Visit proeder's Homepage  Reply with Quote
@srobw This is a problem, you are right. Actually I do not know exactly how to get around this. Removing all the links in post in which the link appears would take a lot of time I believe, espaciall when you have a large forum. (Search through all the posts, open the ones the link appears in, changing them) A customized error would be little bit easier I think, we would need to create a download.asp page which would look if the link is working and send the download as stream, otherwise would give an error. I developed sth like this already, but I am not sure if it s possible in pure ASP without using a upload component.

I am going to give it a try next week and keep you posted!

@nettemor: You need to activate the "show images in posts" option in the admin panel!

@all need to fix the zip file for the errors in the code, sorry. I haven't been around for while...

Philipp<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

proeder
Junior Member

Australia
230 Posts

Posted - 01 May 2004 :  22:57:36  Show Profile  Visit proeder's Homepage  Reply with Quote
zip updated, link fixed<

Looking for german Snitz forum? Suchst Du ein deutsches Snitz Forum?
Hier findest Du eins...

Hosting with ASP Support available: http://www.sharepointing.com
Go to Top of Page

R01
Starting Member

15 Posts

Posted - 02 May 2004 :  15:11:53  Show Profile  Visit R01's Homepage  Reply with Quote
Thanks Proeder and to the rest for the help. Works Great now! <


I'm the one they warn you about!

Edited by - R01 on 02 May 2004 15:21:42
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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07