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: Snitz Events Calendar version 2
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 10

chiyan
Starting Member

Hong Kong
1 Posts

Posted - 02 February 2001 :  11:27:07  Show Profile
When I edit the event and update it, I get :

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cdate'

/snitz_forum/events.asp, line 862

What is the problem?
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 02 February 2001 :  12:37:30  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

When I edit the event and update it, I get :

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'cdate'

/snitz_forum/events.asp, line 862

What is the problem?



Thanks for finding this error. I introduced this bug when I changed the code.
It's fixed now in zip.

- Alan
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 02 February 2001 :  12:40:25  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

ARGH!!

Alan why are your files Read-Only? I want to replace the events.gif file with another file I have. Firstly it wouldn't let me save the new image over the current events.gif. So I deleted the image and saved the new one. Ok good. Next I wanted to change the image width and height in the events.asp file but that's read-only too!!!

Also, I'm getting a javascript error when changing the screensize, when adding a new event. But I won't even try to debug what's wrong with the script cause the file is Read-Only.

By the way, how do you save a file as read-only?

*----*----*----*----*----*----*----*----*
"Even when you feel you have nothing left,
You still have prayer--And that's enough."

*----*----*----*----*----*----*----*----*




Davio,

The files are set "read-only" by my editor, visual interdev. You can just do what Richard said to make them not read-only.

- Alan
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 02 February 2001 :  12:47:23  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

Any changes needed for snitz3.1 SR3?

Edited by - pinozz on 01 February 2001 20:12:57



I built this for sr4 base code so I haven't tested this on sr3. Though, I don't see why this mod wouldn't work in sr3 also.

- Alan
"True knowledge is knowing how little you really know"
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 02 February 2001 :  12:49:59  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

"Need" a eventstable_setup.asp working on access 97. My ISP don't allow uploads >300 Kb (don't ask me why), and my mdb is *BIGGER* than 300. After lot of tries, can't create table manually on access 2000, convert to access 97, deleting posts, users & compact to get an mdb lower than 300
If anybody here knows how can I solve this or have an eventstable_setup.asp working on access 97, feel free to post or email me...



You can still use your access97 database. Just try it using the connection string for access2000 pointing to your access97 database.

- Alan
"True knowledge is knowing how little you really know"
Go to Top of Page

eac
Starting Member

USA
12 Posts

Posted - 02 February 2001 :  13:00:39  Show Profile  Visit eac's Homepage  Send eac a Yahoo! Message
quote:

"Need" a eventstable_setup.asp working on access 97. My ISP don't allow uploads >300 Kb (don't ask me why), and my mdb is *BIGGER* than 300. After lot of tries, can't create table manually on access 2000, convert to access 97, deleting posts, users & compact to get an mdb lower than 300
If anybody here knows how can I solve this or have an eventstable_setup.asp working on access 97, feel free to post or email me...





Hey what's Up..
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 04 February 2001 :  05:29:05  Show Profile
Hey Aznknight

Is the file in your zip the same on running on your site? I tried it and it won't let ne past January 2001 abd when I go to add an event I get the time included with the date (i.e. mode=add&date=1/31/01%207:03:29%20PM)

I see this doesn't happen on your site. I am running NT/SQL7. Any ideas?

Scott LeMieux
NDesigns.net
Go to Top of Page

Shade
Starting Member

Indonesia
15 Posts

Posted - 04 February 2001 :  10:22:45  Show Profile  Visit Shade's Homepage
I use mySQL and get error table unknown in line 1346

strSql = "SELECT start_date, event_title, PRIVATE, " & strDBNTSQLName & " FROM " & strTablePrefix & "EVENTS Inner JOIN " & strMemberTablePrefix & "Members ON " & strTablePrefix & "EVENTS.added_by = Forum_Members.Member_ID WHERE start_date < '" & DateToStr(date()) & "' and start_date > '" & DateToStr(DateAdd("d",-30,date())) & "' Order by start_date desc"


It works fine after i change the line to:

strSql = "SELECT start_date, event_title, PRIVATE, " & strDBNTSQLName & " FROM " & strTablePrefix & "EVENTS Inner JOIN " & strMemberTablePrefix & "Members ON " & strTablePrefix & "EVENTS.added_by = " & strTablePrefix & "Members.Member_ID WHERE start_date < '" & DateToStr(date()) & "' and start_date > '" & DateToStr(DateAdd("d",-30,date())) & "' Order by start_date desc"

is there anyone else use mySQL ?

One more thing.. could anyone please create new events.gif for dark background ? Current one is not look good at dark background.



Edited by - shade on 04 February 2001 10:27:18
Go to Top of Page

Shade
Starting Member

Indonesia
15 Posts

Posted - 04 February 2001 :  11:22:57  Show Profile  Visit Shade's Homepage
I use this mod but "add new event" and "edit event' is not using the same date format. Add new event date format is mm/dd/yyyy and edit event is dd/mm/yyyy. It sureley confusing. How can i fix this ?? Help.



Edited by - shade on 04 February 2001 11:24:53
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 04 February 2001 :  13:03:44  Show Profile  Visit HuwR's Homepage
quote:

I use this mod but "add new event" and "edit event' is not using the same date format. Add new event date format is mm/dd/yyyy and edit event is dd/mm/yyyy. It sureley confusing. How can i fix this ?? Help.



Edited by - shade on 04 February 2001 11:24:53



See my post in MOD Implementation for the answer to this

'Resistance is futile'
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 04 February 2001 :  14:26:49  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
quote:

I use mySQL and get error table unknown in line 1346

strSql = "SELECT start_date, event_title, PRIVATE, " & strDBNTSQLName & " FROM " & strTablePrefix & "EVENTS Inner JOIN " & strMemberTablePrefix & "Members ON " & strTablePrefix & "EVENTS.added_by = Forum_Members.Member_ID WHERE start_date < '" & DateToStr(date()) & "' and start_date > '" & DateToStr(DateAdd("d",-30,date())) & "' Order by start_date desc"


It works fine after i change the line to:

strSql = "SELECT start_date, event_title, PRIVATE, " & strDBNTSQLName & " FROM " & strTablePrefix & "EVENTS Inner JOIN " & strMemberTablePrefix & "Members ON " & strTablePrefix & "EVENTS.added_by = " & strTablePrefix & "Members.Member_ID WHERE start_date < '" & DateToStr(date()) & "' and start_date > '" & DateToStr(DateAdd("d",-30,date())) & "' Order by start_date desc"

is there anyone else use mySQL ?

One more thing.. could anyone please create new events.gif for dark background ? Current one is not look good at dark background.



Edited by - shade on 04 February 2001 10:27:18



Ack! I thought I replaced all the "FORUM_" stuff to correctly say strTablePrefix or strMemberTablePrefix. I guess I missed one. Okay. this is an easy fix...thanks for pointing it out shade.

- Alan
"True knowledge is knowing how little you really know"
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 04 February 2001 :  14:37:07  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
Hmm no comments on the "Week View" functionality.
This was the most requested feature from version 1.

People like how I implemented it? yes or no?
Comments or suggestions?

- Alan
"True knowledge is knowing how little you really know"
Go to Top of Page

Shade
Starting Member

Indonesia
15 Posts

Posted - 05 February 2001 :  02:20:32  Show Profile  Visit Shade's Homepage
I receive error when using "Week View":
Microsoft VBScript runtime (0x800A0009)
Subscript out of range: 'intBack'
/forum/events.asp, line 1380


intBack = 0
if strCurrentDay <> "Sun" then
FullWeekArray = Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat","N/A")
Do while (intBack <= 8 AND strCurrentDay <> FullWeekArray(intBack) )
intBack = intBack + 1
loop
end if


Works fine after change intBack = 1

Thanks HUWR for the date answer.

Go to Top of Page

CrAzY
New Member

USA
50 Posts

Posted - 05 February 2001 :  13:32:57  Show Profile  Send CrAzY an AOL message  Send CrAzY an ICQ Message
Good looking Mod! Works a lot better than the last for me in SQL.

Here's two problems that I've come across so far.

1) When I add an event and attempt to delete it - it does not delete. It acts like it's refreshing the page, but really doesn't do anything and the record is still there.

2) After adding an event and clicking on the 'Event' - the "Event Details" are not being listed under the title of the event.

Just some more food for thought. Is there any way to allow only Admin's to add events to the calendar and not allow users to? Or only allow Admins to post public events. That'd be very helpful to my needs if possible.

But if anyone could help me out with those first two problems I'd appreciate the help ... thanks!

I'm Beyond Help
Go to Top of Page

Bassman
Junior Member

Netherlands
256 Posts

Posted - 05 February 2001 :  16:04:13  Show Profile  Visit Bassman's Homepage
quote:

Hmm no comments on the "Week View" functionality.
This was the most requested feature from version 1.

People like how I implemented it? yes or no?
Comments or suggestions?

- Alan
"True knowledge is knowing how little you really know"



comments: Nice mod, great job

Go to Top of Page
Page: of 10 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07