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
 proeder's file attachment mod 1.2 upload destinati
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 27 January 2010 :  10:12:35  Show Profile
Hi

I have a problem (don't we all?)

My host wants the 'uploadfolder' to be in my domain space's external folder - d:\websites\username\data\forum_images

I changed what looked like the location in -
'inc_create_forum_configvalues.asp'
but it don't work.

Any help you can give is much appreciated.

BTW is 'proeder's file attachment mod 1.2' the right version for Snitz Forums 3.4.07?

Ta

AnonJr
Moderator

United States
5768 Posts

Posted - 27 January 2010 :  11:53:27  Show Profile  Visit AnonJr's Homepage
inc_create_forum_configvalues.asp is used in the initial setup of the base forum, and never again. I'm not familiar with Proeder's MOD so I couldn't really say where the change needs to be made.
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 27 January 2010 :  13:44:20  Show Profile
If I recall correctly there is an admin panel with Proeder's MOD and you can change the upload folder location in there.

No good at coding, but I can plough a field !!
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 28 January 2010 :  11:54:44  Show Profile
Is there anybody who knows how this Mod works, please?

I seem to have screwed the whole thing.

The Admin Panel won't take - d:\websites\username\data\forum_images - and now it is stuck with part of that line always there no matter what I enter into the box and it won't reset.

Need help - please?
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 29 January 2010 :  16:08:04  Show Profile
Sue, from what I remember you create a folder in the forum directory where the pics are uploaded to, and grant it write access for anonymous access.
In the admin panel you put the name of this folder you created in the required box.

I think the critical thing is the folder must be in the forum directory.

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 30 January 2010 :  15:04:53  Show Profile  Visit modifichicci's Homepage
The problem is to change the upload dir reference in the files.
try the files hwere changing

phispath = ""D:\Inetpub\webs\yourdomaincom\youruploaddir\" '### Phisical address of your upload dir

to your phisical path every time it is, and changing "public" that is the dir with permission in my host with the name of the dir with opermission in your server

http://modifichicci.bravehost.com/Mods/proder_changing_dir.zip

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum

Edited by - modifichicci on 30 January 2010 15:05:24
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 05 February 2010 :  12:02:21  Show Profile
I keep getting an error -
Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forum/post.asp, line 1059

"<td bgColor=""" & strPopUpTableColor """ valign=""center"">" & vbNewLine & _
--------------------------------------^

I copied the code from the .zip - proeders_file_attac-3304-12.zip

is this the correct version?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 05 February 2010 :  12:10:40  Show Profile  Visit HuwR's Homepage
there should be an & after strPopUptableColor like so "<td bgColor=""" & strPopUpTableColor & """ valign=""center"">"
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 05 February 2010 :  12:25:12  Show Profile
Thanks

next line -
Microsoft VBScript compilation error '800a0409'

Unterminated string constant

/forum/post.asp, line 1060

" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine _
---------------------------------------------------------------------------------------^
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 05 February 2010 :  12:53:19  Show Profile  Visit HuwR's Homepage
did you follow the instructions and make all the changes correctly ? I suggest you double check all your edits
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 05 February 2010 :  18:05:30  Show Profile
Hi

This is the code inside post.asp of 'proeders_file_attac-3304-12.zip' that I got from SnitzBits.

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

if strAllowAttachment = 1 then

Response.Write "<tr>" & vbNewLine & _
"<td bgColor=""" & strPopUpTableColor & """> </td>" & vbNewLine & _
"<td bgColor=""" & strPopUpTableColor """ valign=""center"">" & vbNewLine & _
" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine _
" ><a href=""#"" 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=""Datei anhängen..."">" & getCurrentIcon(strIconPaperClip,"","") & "</acronym></a><acronym title=""Datei anhängen...""> <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize """ color="" strDefaultFontColor """>Um eine Datei anzuhängen, bitte auf den Button klicken</font></acronym><font face=""" & strDefaultFontFace """ size="" strDefaultFontSize """ color="" strDefaultFontColor """><br /></font>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine
end if

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

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 05 February 2010 :  18:08:33  Show Profile  Visit HuwR's Homepage
well, that code is total rubbish, it has lots of & symbols missing all over the place, are you sure you have the latest version ?
Go to Top of Page

Toodlewho
Starting Member

United Kingdom
43 Posts

Posted - 05 February 2010 :  18:26:07  Show Profile
I just found -
'5-in-1_snitz_common_-3406-101~1.zip'
at
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=241

Should I use that?
Go to Top of Page

Panhandler
Average Member

USA
783 Posts

Posted - 06 February 2010 :  10:33:01  Show Profile  Visit Panhandler's Homepage
The 5-in-1 mods will probably work but are only updated to .06
The .07 version of 5-in-1 is ready but only tested once.
Here is the zip file for Proeders in the soon to be released .07 5-in-1 pack:
#3 Proeders File Attachment .07


"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
  Previous Topic Topic Next Topic  
 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 1.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07