Author |
Topic |
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 16 February 2004 : 14:31:48
|
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 |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 16 February 2004 : 21:23:07
|
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 |
|
|
NorwegianViking
Junior Member
Denmark
119 Posts |
|
proeder
Junior Member
Australia
230 Posts |
|
WMA
Starting Member
Ireland
8 Posts |
Posted - 17 February 2004 : 11:12:22
|
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?< |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 17 February 2004 : 16:59:55
|
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 |
|
|
R01
Starting Member
15 Posts |
Posted - 19 February 2004 : 16:53:24
|
Thanks but I did...I will try the new one :)< |
I'm the one they warn you about! |
|
|
ROB
Junior Member
USA
347 Posts |
|
proeder
Junior Member
Australia
230 Posts |
|
raxous
Starting Member
12 Posts |
Posted - 21 April 2004 : 10:28:20
|
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
'##################################################################################< |
|
|
nettemor
Starting Member
20 Posts |
Posted - 23 April 2004 : 05:35:36
|
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? < |
|
|
srobw
Starting Member
Netherlands
2 Posts |
Posted - 29 April 2004 : 04:11:50
|
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!< |
|
|
proeder
Junior Member
Australia
230 Posts |
Posted - 01 May 2004 : 22:41:22
|
@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 |
|
|
proeder
Junior Member
Australia
230 Posts |
|
R01
Starting Member
15 Posts |
Posted - 02 May 2004 : 15:11:53
|
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 |
|
|
Topic |
|