Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: New Events Calendar for 3.4.03 beta
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 32

pethson
Starting Member

Sweden
19 Posts

Posted - 10 October 2002 :  19:41:18  Show Profile  Visit pethson's Homepage  Send pethson an ICQ Message  Reply with Quote
Hi!

For me everythings work great so far with CAL. But when I want to include it on an other page I read in the readme.wri to include the line <!--#INCLUDE FILE="cal_functions.asp"-->. I did found out that it should be <!--#INCLUDE FILE="cal_include.asp"-->.
But then I get an Error under Upcoming Events saying:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'chkForumAccess'

/forumtest/forum/cal_functions.asp, line 325


I guess I need to include some more files, do you have any sugestion which one?

///Peter!<
Go to Top of Page

n/a
deleted

593 Posts

Posted - 10 October 2002 :  21:24:13  Show Profile  Reply with Quote
quote:
Originally posted by laser

Phew glad it's working for you now.



Yeap. Thanks, Laser. I downloaded yours so I may try yours as well when time permits... Many thanks.<

Taku
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 10 October 2002 :  21:39:31  Show Profile  Reply with Quote
quote:
Originally posted by pethson

Hi!

For me everythings work great so far with CAL. But when I want to include it on an other page I read in the readme.wri to include the line <!--#INCLUDE FILE="cal_functions.asp"-->. I did found out that it should be <!--#INCLUDE FILE="cal_include.asp"-->.
But then I get an Error under Upcoming Events saying:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'chkForumAccess'

/forumtest/forum/cal_functions.asp, line 325


I guess I need to include some more files, do you have any sugestion which one?

///Peter!


Thanks for catching that. I guess I have to update the zip file again. To use cal_include you need to put these lines on top of your page:
<!--#INCLUDE FILE="config.asp"-->
<!--#include file="inc_sha256.asp"-->
<!--#include file="inc_func_secure.asp"-->
<!--#include file="inc_func_common.asp"-->
<!--#include file="inc_header.asp"-->

and at the bottom put this:

<!--#include file="inc_footer.asp"-->



If you don't want to use the forum header and footer you can just put this in before cal_include:
<%
set my_Conn = Server.CreateObject("ADODB.Connection")
my_Conn.Open strConnString
%>

and after it insert this:
<%
my_Conn.Close
set my_Conn = nothing
%>


<

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

mark
Starting Member

46 Posts

Posted - 10 October 2002 :  22:25:14  Show Profile  Send mark an ICQ Message  Reply with Quote
Where can i donwload the file, coz the link the you posted is not working...
<

im the king of the world
Go to Top of Page

alex042
Average Member

USA
631 Posts

Posted - 11 October 2002 :  01:17:23  Show Profile  Send alex042 an AOL message  Send alex042 a Yahoo! Message  Reply with Quote
Any possibility of adding event registrations?

<
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 11 October 2002 :  06:52:42  Show Profile  Reply with Quote
It's here:
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=66

As for new features, I'm sorry but I can't do it anymore. I'd like to get a stable release of this mod first, and even after that, I don't think I can find the time to add code, do tests, find bugs, etc.

But really, there is a lot of room for improvement for this mod and as I've said, anyone who wants to take this mod and improve on it is free to do so.<

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

ahimanikya
Starting Member

22 Posts

Posted - 13 October 2002 :  05:40:22  Show Profile  Reply with Quote
Who ever update this Mod if they can consider to add a feature so that user can add/update him/her in attendant/HeadCount List ( I need this part very badly).
Headcount is very helpful, when organizing community events thru this forum.<
Go to Top of Page

Guru
Starting Member

32 Posts

Posted - 14 October 2002 :  11:52:24  Show Profile  Reply with Quote
Hi,

Maybe a little bug? When i select monthly view, i got an error.

Debugging the code I changed line 590 from asp.cal from

rs.open StrSql, My_conn

into

rs.open StrSql, My_conn, adOpenStatic

This seems to work fine now.....<
Go to Top of Page

Gandiel
Starting Member

21 Posts

Posted - 14 October 2002 :  11:58:08  Show Profile  Reply with Quote
quote:
Originally posted by Fresdar

Red1,

Thanks that seemed to halfway fix the problem on my site. Now is there a way not to show the calendar on the default.asp if they dont have access to the forum where the message is.

For instance. All of my events are posted in an annoucement section. This section uses a allowed members. If I post something on the calendar and one of the members aren't in the allowed members list then it gets stuck in a loop again. Other than that everything seems to be working great.

Thanks.




Has this issue been addressed yet? I'd love to use this MOD (as I've used it before) and look forward to the new features... but I won't install it unless this issue has been addressed.

Yes? No?

Gandiel<
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 14 October 2002 :  12:13:22  Show Profile  Reply with Quote
Guru: Can you please tell me what error you were getting? I don't believe I have anything in monthly view that requires a static cursor.

Gandiel: Fresdar was the only one who was getting that error, and he hasn't replied yet so I don't know if he fixed it or not.<

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

juuso2
Starting Member

19 Posts

Posted - 14 October 2002 :  12:20:36  Show Profile  Reply with Quote
Getting this in Weekly Display....

Microsoft VBScript runtime (0x800A01A8)
Object required: 'rs'
/forum/cal.asp, line 354

Any idea why ?

This problem seems to happen only if I logged in as Admin and trying to view a weekly...

I had no problem viewing weekly along with others if I logged in as a regular member. There was no problem either as a guest or visitor to the site..

Im using SQL2000 if this makes a diff.<
Go to Top of Page

mcain004
Starting Member

USA
15 Posts

Posted - 14 October 2002 :  12:38:59  Show Profile  Reply with Quote
Microsoft VBScript runtime error '800a01ca'

Variable uses an Automation type not supported in VBScript: 'cLng'

/forum/post_info.asp, line 536

I am receiving this error when attempting to update/change a calendar entry. Once I click on Post Changes I receive the error.
The line 536 contains:

530 strSql = "UPDATE " & strActivePrefix & "TOPICS "
531 strSql = strSql & " SET T_MESSAGE = '" & txtMessage & "'"
532 strSql = strSql & ", T_SUBJECT = '" & txtSubject & "'"
533 strSql = strSql & ", T_EVENT_DATE = '" & dateHolder & "'"
534 strSql = strSql & ", T_MSGICON = " & "'"
535 'Line above added "'"
536 cLng(Request.Form("strMessageIcon"))
537 if blnTopicMoved then

I have gone over the code 3 times making sure everything was in the correct order and placed where it should be.

If it helps I also receive the error when attempting to move a posting to another category.<
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 14 October 2002 :  13:42:23  Show Profile  Reply with Quote
quote:
Originally posted by mcain004

Microsoft VBScript runtime error '800a01ca'

Variable uses an Automation type not supported in VBScript: 'cLng'

/forum/post_info.asp, line 536

I am receiving this error when attempting to update/change a calendar entry. Once I click on Post Changes I receive the error.
The line 536 contains:

530 strSql = "UPDATE " & strActivePrefix & "TOPICS "
531 strSql = strSql & " SET T_MESSAGE = '" & txtMessage & "'"
532 strSql = strSql & ", T_SUBJECT = '" & txtSubject & "'"
533 strSql = strSql & ", T_EVENT_DATE = '" & dateHolder & "'"
534 strSql = strSql & ", T_MSGICON = " & "'"
535 'Line above added "'"
536 cLng(Request.Form("strMessageIcon"))
537 if blnTopicMoved then

I have gone over the code 3 times making sure everything was in the correct order and placed where it should be.

If it helps I also receive the error when attempting to move a posting to another category.



This is a message icons mod error. You can't put in line 535 like that. Just combine lines 534-536 into 1 line:
strSql = strSql & ", T_MSGICON = " & cLng(Request.Form("strMessageIcon"))
<

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

mcain004
Starting Member

USA
15 Posts

Posted - 14 October 2002 :  13:57:21  Show Profile  Reply with Quote
red1 thanks for helping out on that one. Could not believe it was so easy. The only reason I posted here was I did not receive that error until I installed the events Calendar mod.

There is one other issue I am having that I hope is just as easily fixed. When clicking on the active topics link I receive the following error:
Microsoft JET Database Engine error '80040e14'

Syntax error (missing operator) in query expression 'F.F_PASSWORD_NEW T.T_ISEVENT'.

/forum/active.asp, line 310

That line is as follows:

rs.open strSql, my_Conn, adOpenForwardOnly, adLockReadOnly, adCmdText

I am guessing that line is refering back to line 268:

266 "F.F_PRIVATEFORUMS, " & _
267 "F.F_PASSWORD_NEW " & _
268 "T.T_ISEVENT " & _
269 "FROM " & strMemberTablePrefix & "MEMBERS M, " & _

I say this because If I remove line 268 the error goes away. If you need more info please let me know. Thank you again.<
Go to Top of Page

red1
Junior Member

355 Posts

Posted - 14 October 2002 :  14:00:52  Show Profile  Reply with Quote
Forgot the comma on line 267:
"F.F_PASSWORD_NEW, " & _

I'll update the readme<

My Mods:
New Events Calendar
New Non-database Active Users

Edited by - red1 on 14 October 2002 14:01:48
Go to Top of Page
Page: of 32 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07