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
 Poll Mod Version: 2.0.4 'end if' error
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sminh
Starting Member

11 Posts

Posted - 13 January 2003 :  15:24:49  Show Profile  Visit sminh's Homepage
I just installed the Poll Mod Version: 2.0.4

And everything works fine but when I click on a forum, I get this error:

Microsoft VBScript compilation error '800a03f8' 

Expected 'Sub' 

/Forum_backup/forum.asp, line 875 

end if
----^


But if I go into forum.asp and remove the line in red:
	end if 

		Response.Write	"                <a href=""post.asp?" & ArchiveLink & pollLink & 
"method=EditTopic&TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & """>" & 
getCurrentIcon(strIconPencil,"Edit Topic","hspace=""0""") & "</a>" & vbNewLine


	end if


	Response.Write	"                <a href=""JavaScript:openWindow('pop_delete.asp?" & ArchiveLink & 
pollLink & "mode=Topic&TOPIC_ID=" & Topic_ID & "&FORUM_ID=" & Forum_ID & "&CAT_ID=" & Cat_ID & "')"">" & 
getCurrentIcon(strIconTrashcan,"Delete Topic","hspace=""0""") & "</a>" & vbNewLine

	if Topic_Status <= 1 and ArchiveView = "" then


Then it will all work. Is it ok if I do remove this 'end if'? or have I got rid of something important?

Edited by - sminh on 13 January 2003 15:31:28

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 13 January 2003 :  22:57:02  Show Profile
I can't do anything to help you without looking at your forum.asp file.
Post a link to a txt version of your forum.asp file.

Support Snitz Forums
Go to Top of Page

sminh
Starting Member

11 Posts

Posted - 14 January 2003 :  07:04:37  Show Profile  Visit sminh's Homepage
http://home.1asphost.com/sminh/forum.txt

I left the 'end if' there.

if you see a blank screen then i think if you go to 'View source' then you'll get the asp stuff.

if not, i'll email it to you

Edited by - sminh on 14 January 2003 07:39:51
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 14 January 2003 :  13:14:53  Show Profile
I don't know if it's your server or internet traffic but the whole page isn't loading. I only can get up to 846 lines of your file.

You probably will have to email it to me. Zip it up first. Send me an email from the forums and I will give you my email address.

Support Snitz Forums
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 16 January 2003 :  04:29:24  Show Profile
After line 871 you left out the code in red:
end if 
if (AdminAllowed = 1) or (Cat_Status <> 0 and Forum_Status <> 0 and Topic_Status <> 0) then
'######################## Poll Mod - Added 'pollLink' in next line ##########################
	Response.Write	"        <a href=""post.asp?" & ArchiveLink & pollLink & "method= ...
'############################################################################################
end if

Support Snitz Forums
Go to Top of Page

sminh
Starting Member

11 Posts

Posted - 16 January 2003 :  17:59:08  Show Profile  Visit sminh's Homepage
Ahhhh, Great! Thanks! Works fine now!

Thank you for looking at this!!!!!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 17 January 2003 :  00:17:23  Show Profile
No prob.

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