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
 calendar and poll mod conflict?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

eviljoker7075
Junior Member

United Kingdom
166 Posts

Posted - 24 August 2005 :  18:27:04  Show Profile  Visit eviljoker7075's Homepage
Hello, when I have the following post.asp code it makes an extra box with the word "message:" in on the post screen. It is basically a duplicate of the normal one down the left hand side next to the text field input field but without smilies. How do I get rid of it?

http://www.westburytown.co.uk/post.txt

Edited by - eviljoker7075 on 25 August 2005 07:20:08

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 25 August 2005 :  05:18:10  Show Profile
Joker, please edit your post to point to a *.txt copy of that file rather than posting its entire contents here.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

eviljoker7075
Junior Member

United Kingdom
166 Posts

Posted - 25 August 2005 :  07:20:24  Show Profile  Visit eviljoker7075's Homepage
Okedoke Shaggy, sorry about that. All done!
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 25 August 2005 :  07:26:06  Show Profile  Visit MarcelG's Homepage
eviljoker ; are you sure this is the 'faulty' post.asp ?
There's only one instance of "message:" in it, and that one is correct.
My code (with pollmod & events calendar added too)
'############# SmileManager Plus MOD ################
if strRqMethod = "Edit" or strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Forum" or strRqMethod = "EditForum" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
	Response.Write	"              <tr>" & vbNewLine 	'################################## Poll Mod ###################################
	'Remember to remove the &_ code from the end of the line above.
	Response.Write	"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font class=""fft3""><b>" & vbNewLine
	if strRqMethod = "Topic" or strRqMethod = "EditTopic" then 
		if Request.QueryString("poll") = "1" then
			Response.Write "Poll Question:"
		else
		if Request.QueryString("event")="1" or isevent="1" then 
			Response.Write strCalEventDetails 
		else 
			Response.Write "message:"
		end if
		end if 
	else 
		Response.Write "message:"
	end if 
	Response.Write "</b><br />" & vbNewLine
	' Remember to start the 2nd line below with Response.Write.
	'###############################################################################
	Response.Write	"                  <table border=""0"" cellpadding=0 cellspacing=0 width=""100%"">" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td align=""left"" nowrap><font class=""dft"">" & vbNewLine
	

	if strIcons = "1" and strShowSmiliesTable = "1" then
		if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _
			strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
			strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################

		end if
	end if

your code:
'############# SmileManager Plus MOD ################
if strRqMethod = "Edit" or strRqMethod = "URL" or strRqMethod = "EditURL" or _
strRqMethod = "Forum" or strRqMethod = "EditForum" or _
strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
strRqMethod = "EditTopic" or strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
	Response.Write	"              <tr>" & vbNewLine & _
			"                <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""middle"" height=""40"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine & _
			"                  <br /><table border=""0"" cellpadding=0 cellspacing=0 width=""100%"">" & vbNewLine & _
			"                    <tr>" & vbNewLine & _
			"                      <td align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
	

	if strIcons = "1" and strShowSmiliesTable = "1" then
		if strRqMethod = "Edit" or strRqMethod = "EditTopic" or _
			strRqMethod = "Reply" or strRqMethod = "ReplyQuote" or _
			strRqMethod = "Topic" or strRqMethod = "TopicQuote" then 
%>
<!--#INCLUDE FILE="inc_smilies.asp" -->
<%
'####################################################

		end if
	end if

Seems to be in order...?

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 25 August 2005 07:28:38
Go to Top of Page

eviljoker7075
Junior Member

United Kingdom
166 Posts

Posted - 25 August 2005 :  13:33:19  Show Profile  Visit eviljoker7075's Homepage
hmmm, ok, well here is the file I am using at the moment (http://www.westburytown.co.uk/post.txt). This one works fine, however it displays the normal post screen when trying to add an even on the events mod.

The following link takes you to the page that is displayed when you click on the "add new event" link: http://www.westburytownforum.com/post.asp?method=Topic&event=1&FORUM_ID=65
Go to Top of Page

eviljoker7075
Junior Member

United Kingdom
166 Posts

Posted - 26 August 2005 :  07:23:19  Show Profile  Visit eviljoker7075's Homepage
I found the problem!

There's an error in the post.asp file included in the poll mod. On the edit that ends on line 934 it tells you to remember to start the next line with "Response.Write" - however it fails to tell you that you need to delete the entire line below that. Otherwise you get two boxes saying: "message:".


I think I am correct for once I deleted tha line it all worked fine...
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.53 seconds. Powered By: Snitz Forums 2000 Version 3.4.07