Author |
Topic  |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
Posted - 27 January 2010 : 10:12:35
|
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
|
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. |
 |
|
thermal_seeker
Junior Member
 
United Kingdom
430 Posts |
Posted - 27 January 2010 : 13:44:20
|
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 !! |
 |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
Posted - 28 January 2010 : 11:54:44
|
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?
|
 |
|
thermal_seeker
Junior Member
 
United Kingdom
430 Posts |
Posted - 29 January 2010 : 16:08:04
|
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 !! |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
Posted - 05 February 2010 : 12:02:21
|
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? |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 05 February 2010 : 12:10:40
|
there should be an & after strPopUptableColor like so "<td bgColor=""" & strPopUpTableColor & """ valign=""center"">" |
 |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
Posted - 05 February 2010 : 12:25:12
|
Thanks
next line - Microsoft VBScript compilation error '800a0409'
Unterminated string constant
/forum/post.asp, line 1060
" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine _ ---------------------------------------------------------------------------------------^ |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 05 February 2010 : 12:53:19
|
did you follow the instructions and make all the changes correctly ? I suggest you double check all your edits |
 |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
Posted - 05 February 2010 : 18:05:30
|
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 '################################################################################## |
 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 05 February 2010 : 18:08:33
|
well, that code is total rubbish, it has lots of & symbols missing all over the place, are you sure you have the latest version ? |
 |
|
Toodlewho
Starting Member
United Kingdom
43 Posts |
|
Panhandler
Average Member
  
USA
783 Posts |
|
|
Topic  |
|