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
 proeders_file_attac-3304-12.zip no link
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

lschafroth
Starting Member

USA
33 Posts

Posted - 12 October 2005 :  17:03:14  Show Profile  Visit lschafroth's Homepage
I have installed the mod.
I see the option to upload a file into the message (post.asp) but there is no link to click on.

I pasted the code from themod post.asp like they say. There appears to be a href statement checking the paperclip icon but it never shows up, just the text.

Any ideas?

LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200

lschafroth
Starting Member

USA
33 Posts

Posted - 12 October 2005 :  17:21:31  Show Profile  Visit lschafroth's Homepage
Here is the code that I have now:
'################### 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 & _
" <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

'##################################################################################


If I put in what came with the ZIP it errors on the font colors and etc from the line above. I'm not sure where this code came from since I've done it so many times now with now luck.

LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 12 October 2005 :  17:38:02  Show Profile  Visit lschafroth's Homepage
There is the post.asp, post_english.asp and both have different code in them.

Looks like the instructions or the code itself is buggy. anyone have an up to date version?

Thanks!
LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 16 October 2005 :  10:26:28  Show Profile  Visit lschafroth's Homepage
Anyone? Does anyone use this mod or should I look at something else?

LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 16 October 2005 :  21:58:14  Show Profile  Visit lschafroth's Homepage
Can anyone using this mod send me your post.asp so I can compare the code?

Lannie


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 17 October 2005 :  14:35:53  Show Profile  Visit modifichicci's Homepage
Don't you see any link?
Try checking (') the
if strAllowAttachment = 1 then
end if
so we see if the strAllowAttachement is set to 1

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  15:25:21  Show Profile  Visit lschafroth's Homepage
I started with a new clean site and get this:

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/forums/post.asp, line 1059

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


I will go to my other site and remark the if then statement and let you know.


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 October 2005 :  15:27:34  Show Profile  Visit AnonJr's Homepage
Missing the part in red:
"<td bgColor=""" & strPopUpTableColor & """ valign=""center"">" & vbNewLine & _
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  15:29:27  Show Profile  Visit lschafroth's Homepage
I remarked both parts of the IF statement and it does the same thing.
It's just the text, no link.

http://www.iowarctracks.com Is the name of the site if you want to peek at it. It's my customer's site.

Thanks!

LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  15:31:09  Show Profile  Visit lschafroth's Homepage
Added the & symbol and get this:

" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine _
---------------------------------------------------------------------------------------^


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 October 2005 :  15:48:03  Show Profile  Visit AnonJr's Homepage
Missing a few more &'s
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & vbNewLine & _

Edited by - AnonJr on 17 October 2005 15:50:32
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  16:03:06  Show Profile  Visit lschafroth's Homepage
Next line errors:

" ><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 & _
^


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  16:06:26  Show Profile  Visit lschafroth's Homepage
I noticed I'm not using the english version. :) oops. will have to translate it.

LS


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  16:13:19  Show Profile  Visit lschafroth's Homepage
It's hard to tell with my post but the errow at the bottom is pointing to the very first " symbol on the line as the error.



Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 17 October 2005 :  16:16:26  Show Profile  Visit AnonJr's Homepage
Its because there is a missing _ after the & on the previous line.
Go to Top of Page

lschafroth
Starting Member

USA
33 Posts

Posted - 17 October 2005 :  16:30:39  Show Profile  Visit lschafroth's Homepage
Based on the corrections you gave me I added all the missing " and & symbols to the line and converted it to english and it works!!

Thanks!!!!

LS

PS The link is there and pops up a window. Now I will try the actual uploading of a file.


Lannie Schafroth
Computer Troubleshooters
515 263-9200
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07