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
 how to display event calendar mod on portal page
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pokemon
Junior Member

151 Posts

Posted - 23 October 2003 :  13:29:55  Show Profile
How do i implement and place an event calendar to my portal site just like this?


or look like at this website : http://www.shnforum.com/forum/sitenews.asp

thanks for any help

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 October 2003 :  13:41:21  Show Profile  Visit dayve's Homepage
you might want to ask this question at their forum

Go to Top of Page

pokemon
Junior Member

151 Posts

Posted - 23 October 2003 :  13:47:49  Show Profile
Thanks dayve,

the problem is i'm using snitz 3.4.03 and i recently install event calendar mod from snitzbiz. The mod is woking well for me, but i want to move event calendar mod out side of the forum and the format should look like a picture above. Thanks
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 October 2003 :  13:53:33  Show Profile  Visit dayve's Homepage
I thought you were using SHN Forums. I have done something similar to this in the past. I don't think it was hard to do and I'm sure others have discussed this process here at Snitz. Check the search feature here at Snitz and see what you can come up with. During this time maybe someone will chime in and assist. I can not look at it until I get home from work this evening, but would gladly help out then.

Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 23 October 2003 :  13:53:50  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
If you have the forum include files in your front page, you should be able to insert the calendar display on that page.

Reinsnitz (Mike)
Go to Top of Page

pokemon
Junior Member

151 Posts

Posted - 24 October 2003 :  10:04:57  Show Profile
thanks dayve and reinsnitz,

i inserted an event calendar mod in default page and it's working find. All i want to do it, to re-format the look and make it look like with an image above, and put it in my portal page. i'm trying several ways, but i'm not good at ASP then i'll stuck here.. Dayve, when you have a chance would you please help me. I'll need it badly. Thanks.

here all the files i have downloaded from snitzbiz
event calendar mod:

cal.asp
cal_config.asp
cal_datepicker.asp
cal_default.asp
cal_delete.asp
cal_functions.asp
cal_post.asp
cal_post_info1.asp
cal_post_info2.asp
cal_style.asp
cal_topic.asp

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 24 October 2003 :  10:18:46  Show Profile
What portal are you using?

The UK MkIVs Forum
Go to Top of Page

pokemon
Junior Member

151 Posts

Posted - 24 October 2003 :  11:24:29  Show Profile
i'm using portal integration 3

this is my portal code:

sub Main()

	dim lContentID, lCategoryID, sMode, sSearchTerm

	lContentID		=	CInt(Request.QueryString("ContentID"))
	lCategoryID		=	CInt(Request.QueryString("CategoryID"))
	sMode			=	Request.QueryString("Mode")
	sSearchTerm		=	Trim(Request.Form("txtSearch"))
	
	if strCMSTitleDisplay = "1" then
	
		Response.Write	"      <table border=""0"" width=""100%"" align=""center"">" & vbNewLine & _
				"        <tr>" & vbNewLine & _
				"          <td width=""33%"" align=""left"" nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
				"          " & getCurrentIcon(strIconFolderOpen,"All Forums","") & " <a href=""default.asp"">All Forums</a><br />" & vbNewLine & _
				"          " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,strCMSPageTitle,"") & " "& strCMSPageTitle &"<br /></font></td>" & vbNewLine & _
				"        </tr>" & vbNewLine & _
				"      </table>" & vbNewLine
	
	end if
	
	Response.Write  "		<table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"">" &vbCrLf &_
			"		<tr>" &vbCrLf 
	'###########################################################################################
	'###########################################################################################
	'LEFT NAVIGATION
	if strCMSLeftNavDisplay = "1" then
		Response.Write	"			<td width="""& strCMSLeftNavWidth &""" valign=""top"">" &vbCrLf
		'call DisplayCategories(1, strCMSLeftNavWidth)
		%>
		<!--#INCLUDE FILE="inc_login.asp" -->
		
		<%
		
		Response.Write	"			</td>" & vbNewLine &_		
				"			<td style=""width: "& TABLE_SPACER_WIDTH &"px""><img src="""& strImageUrl &"clear.gif"" width="""& TABLE_SPACER_WIDTH &""" height=""1""></td>" & vbNewLine
	end if
	
	'###########################################################################################
	'###########################################################################################
	'###########################################################################################
	'CENTRE CONTENT
	Response.Write	"			<td width=""100%"" valign=""top"">"
	if lContentID > 0 and lCategoryID > 0 then
	
		call DisplayContentItem(lContentID, lCategoryID)
		

	elseif lCategoryID > 0 then
		call ListCategoryItems(lCategoryID)
	elseif lContentID > 0 then
		call DisplayContentItem(lContentID, "")
	elseif Request.Form("Method_Type") = "Search" then 
		call SearchResults(sSearchTerm)
	else 'must be home page so show default text
		if IsNumeric(strCMSDefaultCID) then
			call DisplayContentItem(strCMSDefaultCID, "")
			%><!--#INCLUDE FILE="includes/virus_scan.asp" -->
			
			<%
			call DisplayContent (0, 0, 2, 3, 0, 10, 200, 0, 0, 1, 1, 0, "10 B#224;i M#7899;i", 420, "topic.asp")
			
				else
			call NoContent()
		end if
	end if
	
	Response.Write  "			</td>"
	'###########################################################################################
	'###########################################################################################
	'###########################################################################################
	'RIGHT NAVIGATION
	if strCMSRightNavDisplay = "1" then
		Response.Write	"			<td style=""width: "& TABLE_SPACER_WIDTH &"px""><img src="""& strImageUrl &"clear.gif"" width="""& TABLE_SPACER_WIDTH &""" height=""1""></td>" & vbNewLine &_
				"			<td width="""& strCMSRightNavWidth &""" valign=""top"">" &vbCrLf
		if strCMSLMInstalled = "1" then call DisplayLinks(strCMSRightNavWidth)
		if strCMSEnableSearch = "1" then 
			call DisplaySearch(strCMSRightNavWidth)
			call DisplayForumSearch(strCMSRightNavWidth)
		end if
		call DisplayCategories(0, strCMSRightNavWidth)
		%>
		<!--#INCLUDE FILE="includes/member_spotlight.asp" -->
		<!--#INCLUDE FILE="includes/inc_top_posters.asp" -->
		
		
		<%
	
		
			Response.Write	"			</td>"
			
	end if
	'###########################################################################################

	Response.Write  "		</tr>" &vbCrLf &_
			"		</table>" 
			
	call WriteFooter()

end sub


The cal_default.asp is the page to display the event calendar.
when i insert the code at right navigation and i'm ended up with an error

Microsoft VBScript compilation (0x800A03EA)
Syntax error
/news/cal_functions.asp, line 12
Sub DrawMonth(dateToDraw, enableHiLite, enableArrows, enableYearDisplay)

Have you ever do have this problem occur please advise me. Thanks

Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 24 October 2003 :  11:39:59  Show Profile
That's my portal mod!
I have the code at home to add the calendar, i have it on my site (see link below) but i've removed the actual calendar, just showing event links at the moment, i'll find the code for you over the weekend

The UK MkIVs Forum
Go to Top of Page

pokemon
Junior Member

151 Posts

Posted - 24 October 2003 :  12:52:05  Show Profile
Thanks DavidRhodes,

i will looking forward to hearing from you. thanks
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 24 October 2003 :  16:41:31  Show Profile
Here you go
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=48682

The UK MkIVs Forum
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.46 seconds. Powered By: Snitz Forums 2000 Version 3.4.07