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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Problem with image upload using using MODs
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 27 April 2007 :  16:18:05  Show Profile  Visit muddywellies's Homepage
Deleted via ftp.
Also, you'll be pleased to hear that I downloaded the forum db via ftp ditto the private folder. So have back up no matter what.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

PPSSWeb
Junior Member

312 Posts

Posted - 27 April 2007 :  16:56:58  Show Profile
Excellent, good luck with the install.
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 27 April 2007 :  16:58:53  Show Profile  Visit muddywellies's Homepage
Completed all 6 sections of the editing. How do I create write access for anonymous access to my chosen image upload folder?

Under Proeder it says to "Go to Attachment Configuration and put the name of the image folder you created in the 'uploadfolder' text box".
I can't see Attachment Configuration in the Admin Options of my forum.

Likewise, he says set the settings for file extensions, file size and script time out.
I know what these are but I don't know where/how I can set them.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 27 April 2007 :  20:21:26  Show Profile  Visit Panhandler's Homepage
It will be listed as "Attachments Administration" in the admin section.
If it's not there then you need to recheck the admin home file to see that the mod is installed.

A single line, looks like the following:

Response.Write " <LI><span class=""spnMessageText""><a href=""admin_attach.asp"">Attachments Administration</a></span></LI>" & vbNewLine


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 28 April 2007 :  04:21:35  Show Profile  Visit muddywellies's Homepage
Didn't get to work on your suggestion Panhandler since I began uploading edited proeder files thus:
Uploaded & ran dbs files
Uploaded edited post.asp
Uploaded edited admin_home.asp
Uploaded jpeg icon
Uploaded edited inc_iconfiles.asp
Uploaded edited inc_header.asp
Uploaded edited config.asp
Uploaded the following 4 files without edit
admin_attach.asp
pop_upload_new.asp
outputfile.asp
myfiles.asp

These are the ONLY files uploaded thus far.

Then discovered forum was replaced by
Microsoft VBScript compilation error '800a0400'
Expected statement
/snitz/inc_header.asp, line 276
"<a name=""top""></a>" & vbNewLine & _
^

I've got green fingers, but I'm all thumbs using a keyboard!

Edited by - muddywellies on 28 April 2007 05:19:35
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 28 April 2007 :  09:07:07  Show Profile  Visit Panhandler's Homepage
Okay. . .then there are at least two errors.
The admin_home.asp file is responsible for making the "Attachments Administration" show up in the admin section.

And the inc_header.asp file has an error -
it is looking for: response.write
in front of that line.


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 28 April 2007 :  11:22:55  Show Profile  Visit muddywellies's Homepage
Good afternoon Panhandler.
Did as suggested and received the same error statement. Have enclosed a couple of lines immediately before and after (275-279).

"<body" & strTmpPageBGImageURL & " bgColor=""" & strPageBGColor & """ text=""" & strDefaultFontColor & """ link=""" & strLinkColor & """ aLink=""" & strActiveLinkColor & """ vLink=""" & strVisitedLinkColor & """>" & vbNewLine
Response.Write
"<a name=""top""></a>" & vbNewLine & _
Response.Write vbNewLine & _
"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 28 April 2007 :  11:32:02  Show Profile  Visit muddywellies's Homepage
Sorted error. Write.Response should be on same line. Forum returned. Attachments admin now shows. Configured Attachments Administration.

I can move around and read topics OK. But upon clicking 'New Topic' I receive the error

Microsoft VBScript compilation error '800a0401'
Expected end of statement
/snitz/post.asp, line 1067
"<td bgColor=""" & strPopUpTableColor """ valign=""center"">" & vbNewLine & _

The error comes in the middle of Proeders File Attachment: Link to add

I've got green fingers, but I'm all thumbs using a keyboard!

Edited by - muddywellies on 28 April 2007 12:34:18
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 28 April 2007 :  14:18:14  Show Profile  Visit Panhandler's Homepage

Be sure that the line immediately peceeding and the line immediately following the code mod looks the same. Be sure to notate your code as well.
Here is what the mod should like like in post.asp :

strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then
'################### Proeders File Attachment ####################
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 photo to your post</font></acronym>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine
end if
'######################## end mod ################################

Response.Write " <tr>" & vbNewLine & _

.
.
.


"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 28 April 2007 :  18:54:22  Show Profile  Visit muddywellies's Homepage
Very grateful you enclosed the whole thing because mine did not look like that!
Straight after the two lines on the strPopUpTableColor code my next line was
" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine & _

No more error messages. The New Topic box now appears. Beneath the script window is the line "Click here to attach a file to your post"
There is no icon image to click on, only the space, but the link works.
(The paperclip icon is loaded on the forum)

Ignoring this minor detail, I tried loading an image. Clicked on my chosen image file and very nearly got there
But not quite
No picture - almost, not easily explained, but if you go to my forum I have completed a 'test topic' at
http://www.winsfordwalledgarden.com/snitz/topic.asp?TOPIC_ID=118


I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 28 April 2007 :  19:46:08  Show Profile  Visit Panhandler's Homepage
It looks like you've got it working!
The paper_clip.gif icon needs to go in the snitz directory and all will be well.



"5-in-1 Snitz Common Expansion Pack" - five popular mods packaged for easy install
". . .on a mote of dust, suspended in a sunbeam. . ."
HarborClassifieds
Support Snitz Forums


Go to Top of Page

muddywellies
Junior Member

United Kingdom
156 Posts

Posted - 29 April 2007 :  02:30:57  Show Profile  Visit muddywellies's Homepage
Major thanks to everyone for their support, especially PPSSWeb and Panhandler your help made it possible. It was the community support that really made all the difference (but it will be a quite a while before I add another MOD!!) Relief all round I think.

I've got green fingers, but I'm all thumbs using a keyboard!
Go to Top of Page

mdelcour2000
Junior Member

United States
133 Posts

Posted - 25 October 2007 :  14:28:02  Show Profile  Visit mdelcour2000's Homepage
I am also having problems with Proeders File Attachment via 5 in 1. I am using a MSSQL database on Godaddy. I have read/write enabled on the images folder, but when I try to go into the Admin panel of the Attachments. I get the error

There is no write access for this directory.
Please grant write access for anonymous users on the directory.

But there is. I even verified it with Godaddy. I talked to a tech who told me that the problem was in the ASP file.

Can anyone help me?


http://lacledeforum.com/

"Never get so busy doing the work of the kingdom that you forget who the King is"
Go to Top of Page

cadfhs
New Member

United Kingdom
77 Posts

Posted - 26 October 2007 :  04:36:26  Show Profile  Visit cadfhs's Homepage
Not a expert, but initially had the same problem, check the following -
Is the folder name spelt exactly the same?
I think I finished up deleting it and creating a new folder with a different name. Also, make sure that it is located in your forum's folder.

You could try running this again
In admin section of your forum go on "Check Upgrade" to load the variables
Go to Top of Page

mdelcour2000
Junior Member

United States
133 Posts

Posted - 26 October 2007 :  11:34:19  Show Profile  Visit mdelcour2000's Homepage
THANK YOU, that fixed that problem, hoever, now a new one has come up. My forum is on www.lacledeforum.com/default when I upload a picture it is there, however when I click the "Download Picture" Link it goes to www.lacledeforum.com/upload/forumstaff/22334455image.jpg
When it should go to www.lacledeforum.com/default/upload//forumstaff/22334455image.jpg

Does anyone know a fix for this problem?

http://lacledeforum.com/

"Never get so busy doing the work of the kingdom that you forget who the King is"
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07