Author |
Topic  |
lschafroth
Starting Member
USA
33 Posts |
Posted - 12 October 2005 : 17:03:14
|
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
|
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 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 12 October 2005 : 17:38:02
|
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 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 16 October 2005 : 10:26:28
|
Anyone? Does anyone use this mod or should I look at something else?
LS |
Lannie Schafroth Computer Troubleshooters 515 263-9200 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 16 October 2005 : 21:58:14
|
Can anyone using this mod send me your post.asp so I can compare the code?
Lannie |
Lannie Schafroth Computer Troubleshooters 515 263-9200 |
 |
|
modifichicci
Average Member
  
Italy
787 Posts |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 15:25:21
|
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 |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 17 October 2005 : 15:27:34
|
Missing the part in red:
"<td bgColor=""" & strPopUpTableColor & """ valign=""center"">" & vbNewLine & _ |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 15:29:27
|
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 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 15:31:09
|
Added the & symbol and get this:
" <font face=""" & strDefaultFontFace """ size="" strDefaultFontSize vbNewLine _ ---------------------------------------------------------------------------------------^
|
Lannie Schafroth Computer Troubleshooters 515 263-9200 |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 17 October 2005 : 15:48:03
|
Missing a few more &'s
" <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & vbNewLine & _
|
Edited by - AnonJr on 17 October 2005 15:50:32 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 16:03:06
|
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 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 16:06:26
|
I noticed I'm not using the english version. :) oops. will have to translate it.
LS |
Lannie Schafroth Computer Troubleshooters 515 263-9200 |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 16:13:19
|
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 |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 17 October 2005 : 16:16:26
|
Its because there is a missing _ after the & on the previous line. |
 |
|
lschafroth
Starting Member
USA
33 Posts |
Posted - 17 October 2005 : 16:30:39
|
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 |
 |
|
Topic  |
|