Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 31 May 2013 : 19:49:43
|
After doing the "Who Has Posted Mod" I am receiving the following error message in my active.asp.
Microsoft VBScript compilation error '800a03ea'
Syntax error
/fp/active.asp, line 566
if CLng(Topic_Replies) > 0 then
Here are lines 564 - 577
Response.Write " </td>" & vbNewLine & _ " <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"">" & profileLink(chkString(Member_Name,"display"),Topic_Author) & "</span></font></td>" & vbNewLine & _ if CLng(Topic_Replies) > 0 then response.write " <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText""><acronym title=""Click here to see who has posted in this topic. (" & ChkString(Topic_Subject,"title") & ")""><a href=""JavaScript:openWindow3('pop_posted.asp?" & ArchiveLink & "Topic_ID=" & Topic_ID & "')""" & dWStatus("Who has posted?") & ">" & Topic_Replies & "</a></acronym></span></font></td>" & vbNewLine else response.write " <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & Topic_Replies & "</font></td>" & vbNewLine end if " <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & Topic_View_Count & "</font></td>" & vbNewLine If IsNull(Topic_Last_Post_Author) Then strLastAuthor = "" Else strLastAuthor = "<br />by: <span class=""spnMessageText"">" & profileLink(Topic_Last_Post_Author_Name,Topic_Last_Post_Author) & "</span>" If strJumpLastPost = "1" Then strLastAuthor = strLastAuthor & " " & DoLastPostLink End If
Otherwise, the mod works PERFECT and I LOVE it! 
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 June 2013 : 01:31:22
|
Delete the "& _" from line 565. |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 01 June 2013 : 03:30:03
|
That caused this error message.
Microsoft VBScript compilation error '800a0400'
Expected statement
/fp/active.asp, line 571
" <td bgcolor=""" & strForumCellColor & """ valign=""middle"" align=""center""> <font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """>" & Topic_View_Count & "</font></td>" & vbNewLine ^
So, I added a "Response.Write" at the beginning of line 571 and that seems to have corrected it. I did good? 
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 June 2013 : 05:34:23
|
Yep, that's what was needed. |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 01 June 2013 : 08:17:24
|
Thank you so much, Carefree! I am learning a little. . .very slowly. Thanks to you that I am learning though!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 01 June 2013 08:18:55 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 01 June 2013 : 10:57:30
|
We all had to start somewhere. |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 02 June 2013 : 00:56:24
|
Another question regarding the "Who Has Posted Mod" . . .
When you click on the link in a topic to get the pop-up window that displays the usernames of the members who have posted on the topic. . .instead of the members' usernames displaying, would it be difficult to display their avatars instead, or in addition to, their username?
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
Edited by - MaGraham on 02 June 2013 00:58:28 |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 02 June 2013 : 05:08:49
|
This works.
"pop_posted.asp"
|
Edited by - Carefree on 02 June 2013 15:59:58 |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 02 June 2013 : 15:27:38
|
It works PERFECT, Carefree! 
And, oh my goodness! It's looks Sooo neat, too!
This is so exciting to have!
Thank you SO MUCH!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 02 June 2013 : 21:25:49
|
I really like that this displays the members' avatars plus their usernames and that both are a link to their profile. 
Thank you again, Carefree!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
|
Topic  |
|
|
|