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 crashed my topic.asp page...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

ticalien
Starting Member

30 Posts

Posted - 15 April 2002 :  23:26:15  Show Profile
I'm fairly sure I've set it up right as this is about the 5th time I've tried and looked over it today. I can create Polls, forums etc., but when I click on a topic it bombs out.

Relevant Info.:

Forum URL: http://www.fantasyfreaks.net/forum/

Username : test
Password : test

MY topic.asp Page - http://www.fantasyfreaks.net/topic.txt
Poll MOD's topic.asp Page -
http://www.fantasyfreaks.net/mod_topic.txt

I appreciate any help you can offer.

If you've got an extra sec, perhaps you can tell me why the private messages background header does't stretch all the way across when you login as a normal user but works fine when I login as admin??

Thanks in advance,
Tom

Rasyr
Junior Member

USA
199 Posts

Posted - 16 April 2002 :  00:29:14  Show Profile
Change the following code

' ################ Poll Mod ###################
if (strUserPolls = "1") or (AdminAllowed = 1) then %>
 <a href="JavaScript:openWindow('pop_send_to_friend.asp?url=<% = strForumURL & "link.asp?TOPIC_ID=" & Topic_ID %>')"><img border="0" src="icon_send_topic.gif" height=15 width=15 border=0></a> <a href="JavaScript:openWindow('pop_send_to_friend.asp?url=<% = strForumURL & "link.asp?TOPIC_ID=" & Topic_ID %>')">Send Topic to a Friend</a>
<% else
' ############################################ %>


to this (line 1032 - Add a "<%" to the beginning of the line, since the previous line end with the closing tag for ASP code):
 
<% ' ################ Poll Mod ###################
if (strUserPolls = "1") or (AdminAllowed = 1) then %>
 <a href="JavaScript:openWindow('pop_send_to_friend.asp?url=<% = strForumURL & "link.asp?TOPIC_ID=" & Topic_ID %>')"><img border="0" src="icon_send_topic.gif" height=15 width=15 border=0></a> <a href="JavaScript:openWindow('pop_send_to_friend.asp?url=<% = strForumURL & "link.asp?TOPIC_ID=" & Topic_ID %>')">Send Topic to a Friend</a>
<% else
' ############################################ %>


**TANSTAAFL**
Go to Top of Page

ticalien
Starting Member

30 Posts

Posted - 16 April 2002 :  01:27:27  Show Profile
Thanks Rasyr,
That solved the problem. Seems as though I need to fine tune my ASP eye.

Regards,
Tom

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