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
 red1's Calander mod help pls
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

sentinel
New Member

United Kingdom
76 Posts

Posted - 05 January 2003 :  00:41:50  Show Profile  Visit sentinel's Homepage
Hi all again, I got this mod running on my forum ok, BUt i noticed that when you vew the post with the date in it, there is no small calander posted with it.
its version 'NEW EVENTS CALENDAR MOD FOR SNITZ 3.4.03 beta
by red1'.

On the forum i used to run with this mod installed, when a post was mad to a topic, when viewed it had a calander picture on the left hand side of the post.

Anyone know what i am missing ? Is it a option somewere ? If so were is it as i cant find it this time.

Thanks

Sentinel

Edited by - sentinel on 05 January 2003 00:42:45

red1
Junior Member

355 Posts

Posted - 05 January 2003 :  15:56:23  Show Profile
You missed something in topic.asp. Check the changes to that page.

My Mods:
New Events Calendar
New Non-database Active Users
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 05 January 2003 :  17:20:18  Show Profile  Visit sentinel's Homepage
nice one, thanks.
Will have a look at this asap. Sadly my post.asp file is a bit buggered atm as well as i have 2 mods that need changes in the same place so it a bit of a bugger. But hey, Thats life.


Sentinel
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 06 January 2003 :  16:53:52  Show Profile  Visit sentinel's Homepage
hi there, restarted to install from scratch, Got the Active users mod and Poll mod installed with some help. Now reinstalling the calander mod on to this.

What i am having problems with is in the post.asp file. need to find this

Response.Write " <tr>" & vbNewLine & _
" <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine & _
" <br />" & vbNewLine & _

and it been moded by the poll mod and also by smiles manager plus to this


'############# 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=""middle"" height=""40""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & vbNewLine
if strRqMethod = "Topic" or strRqMethod = "EditTopic" then
if Request.QueryString("poll") = "1" then
Response.Write "Poll Question:"
else
Response.Write "Message:"
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 " <br />" & vbNewLine & _


so how do i insert this code into that please...

* Replace with these:
Response.Write " <tr>" & vbNewLine
if Request.QueryString("event")="1" or isevent="1" then
Response.Write " <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & strCalEventDetails & "</b><br />" & vbNewLine
else
Response.Write " <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Message:</b><br />" & vbNewLine
end if
Response.Write " <br />" & vbNewLine & _


Thanks for your help on this one.




Sentinel
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 06 January 2003 :  21:40:55  Show Profile
Try this:


'############# 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=""middle"" height=""40""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & vbNewLine
	if strRqMethod = "Topic" or strRqMethod = "EditTopic" then 
		if Request.QueryString("poll") = "1" then
			Response.Write "Poll Question:"
		elseif Request.QueryString("event")="1" or isevent="1" then 
			Response.Write strCalEventDetails 
		else
			Response.Write "Message:"
		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	"                <br />" & vbNewLine & _



My Mods:
New Events Calendar
New Non-database Active Users
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 06 January 2003 :  22:26:51  Show Profile  Visit sentinel's Homepage
thanks, will give it a go.
With luke it will work


Sentinel
Go to Top of Page

sentinel
New Member

United Kingdom
76 Posts

Posted - 07 January 2003 :  00:02:47  Show Profile  Visit sentinel's Homepage
Just tried that code m8, Worked like a charm.
Thanks very much for that.


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