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
 Prob showing poll after poll mod install
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ElPazzo
Junior Member

Austria
116 Posts

Posted - 30 June 2005 :  06:10:56  Show Profile  Visit ElPazzo's Homepage
Hi,

i get this msg when trying to look at a poll:

Kompilierungsfehler in Microsoft VBScript Fehler "800a03f4'

'If' erwartet (awaiting 'if')

/forum/topic.asp, line 1315

End Sub
----^


here is the code referred to starting from the last poll mod changes:

(line 1315 is the line with the 'end sub')

'############################## Poll Mod ################################
if strPolls = "1" and ((Forum_Polls = "2" and AdminAllowed = 1) or (Forum_Polls = "1")) then
Response.Write " <a href=""post.asp?poll=1&method=Topic&FORUM_ID=" & Forum_ID & """>" & getCurrentIcon(strIconPoll,"New Poll","align=""absmiddle""") & "</a> <a href=""post.asp?poll=1&method=Topic&FORUM_ID=" & Forum_ID & """>New Poll</a><br />" & vbNewLine
end if
'########################################################################
else
if (AdminAllowed = 1) then
Response.Write " <a href=""post.asp?" & ArchiveLink & "method=Topic&FORUM_ID=" & Forum_ID & """>" & getCurrentIcon(strIconFolderLocked,"","align=""absmiddle""") & "</a> <a href=""post.asp?" & ArchiveLink & "method=Topic&FORUM_ID=" & Forum_ID & """>New Topic</a>" & vbNewLine
'########################### Poll Mod ###############################
Response.Write " <a href=""post.asp?poll=1&method=Topic&FORUM_ID=" & Forum_ID & """>" & getCurrentIcon(strIconPoll,"New Poll","align=""absmiddle""") & "</a> <a href=""post.asp?poll=1&method=Topic&FORUM_ID=" & Forum_ID & """>New Poll</a><br />" & vbNewLine
'####################################################################
Response.Write " <td valign=""top"" height=""100%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><span class=""spnMessageText"" id=""msg"">"
if Request.QueryString("SearchTerms") <> "" then
Response.Write SearchHiLite(formatStr(Topic_Message))
else
Response.Write formatStr(Topic_Message)
end if
Response.Write "</span id=""msg""></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
if CanShowSignature = 1 and Topic_Sig = 1 and Topic_MemberSig <> "" then
Response.Write " <tr>" & vbNewLine & _
" <td valign=""bottom""><hr noshade size=""" & strFooterFontSize & """><font color=""" & strForumFontColor & """ face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><span class=""spnMessageText"">" & formatStr(Topic_MemberSig) & "</span></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
if strEditedByDate = "1" and Topic_LastEditBy <> "" then
if Topic_LastEditBy <> Topic_Author then
Topic_LastEditByName = getMemberName(Topic_LastEditBy)
else
Topic_LastEditByName = chkString(Member_Name,"display")
end if
Response.Write " <tr>" & vbNewLine & _
" <td valign=""bottom""><hr noshade size=""" & strFooterFontSize & """ color=""" & strForumFirstCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & strForumFontColor & """>" & fLangN(strLangTopic00310,Topic_LastEditByName & "|" & chkDate(Topic_LastEdit, " ", true)) & "</font>" & vbNewLine & _
" </tr>" & vbNewLine
end if
Response.Write " </table>" & vbNewLine & _
" </td>" & vbNewLine & _
" </tr>" & vbNewLine
End Sub


sub PostingOptions()

cu,
pascal

PS: I just saw it happens with all kind of topics.

www.pet-needs.com
www.pet-needs.com/forum
www.pet-needs.de
www.translating-it.com

Edited by - ElPazzo on 30 June 2005 06:49:50

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 June 2005 :  07:41:41  Show Profile
Post a link to a txt version of your topic.asp file.

Support Snitz Forums
Go to Top of Page

ElPazzo
Junior Member

Austria
116 Posts

Posted - 30 June 2005 :  07:59:18  Show Profile  Visit ElPazzo's Homepage
http://www.pet-needs.com/forum/topic.txt

www.pet-needs.com
www.pet-needs.com/forum
www.pet-needs.de
www.translating-it.com
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 30 June 2005 :  12:42:51  Show Profile
Here is your topic.txt file. You had a copy and paste mistake with the subroutine PostingOptions(). Let me know if it fixes it.

topic.txt

Support Snitz Forums

Edited by - Davio on 30 June 2005 12:43:26
Go to Top of Page

ElPazzo
Junior Member

Austria
116 Posts

Posted - 30 June 2005 :  17:54:40  Show Profile  Visit ElPazzo's Homepage
now it tells me this:

ADODB.Recordset Fehler "800a0cc1'

Ein Objekt, das dem angeforderten Namen oder dem Ordinalverweis entspricht, kann nicht gefunden werden.

/forum/topic.asp, line 135

Cannot find a linked object

the object referred to is:

Member_SKYPE = rsTopic("M_SKYPE")


cu,
pascal

www.pet-needs.com
www.pet-needs.com/forum
www.pet-needs.de
www.translating-it.com

Edited by - ElPazzo on 30 June 2005 17:57:33
Go to Top of Page

ElPazzo
Junior Member

Austria
116 Posts

Posted - 01 July 2005 :  02:46:14  Show Profile  Visit ElPazzo's Homepage
got it working finally... some changes had been removed with the new install. thats why i got some more errors... thx for the help davio

www.pet-needs.com
www.pet-needs.com/forum
www.pet-needs.de
www.translating-it.com
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 02 July 2005 :  10:02:46  Show Profile
You're welcome.

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 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07