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
 Alan's event calendar, date Format?
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

wedont
Junior Member

Canada
344 Posts

Posted - 05 June 2001 :  22:26:51  Show Profile
I'm on a US_based server, want to display date (ex:upcoming event)in the same format as on my Snitz forum (UKshort):
DD,MM,YYYY instead of MM,DD,YYYY, 've been through the mod's 7 pages twice! The event calendar is on a separate subweb, I copied all the necessary inc_ , config and its working fine except for the date format!

Help, I'M Waisting my life on a Date!

Wedont
snitz ver3.1 sr2
access 2k.


Edited by - wedont on 06 June 2001 15:14:55

wedont
Junior Member

Canada
344 Posts

Posted - 06 June 2001 :  15:16:28  Show Profile
No, I'm not getting on top! No siry!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  16:49:50  Show Profile  Send e3stone an AOL message
wedont, I have a fix for this, I believe. There's not really a "quick-fix" from what I see. There are three changes on events_functions.asp that you'll need to make. (I haven't fixed the other pages, but this will fix the main calendar)

Here's the events_function.asp in a zip. try it and see if it works well enough. (backup your copy of events_function.asp before installing this one, just in case )

http://www.galileandesigns.com/events.zip

I'll fix the other page associated with the calendar if you think this is what you need.

<-- Eric -->


InsideWaco.com
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 06 June 2001 :  17:20:50  Show Profile
FANTASTIC!Exactly what I need!!!!

"I'll fix the other page associated with the calendar if you think this is what you need."

Sure!


Thanks Eric!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  17:39:04  Show Profile  Send e3stone an AOL message
ok, the zip should have everything you need. I put the functions, event.asp, pop_event.asp, and events_inc.asp in there.

<-- Eric -->


InsideWaco.com
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 06 June 2001 :  17:44:12  Show Profile
YESyesyesyes...YES !

My life is back!!!

YES!Me2 stone!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  17:49:23  Show Profile  Send e3stone an AOL message
All I did was change/add a function call. It originally had this in a few places: strtodate(rs("Start_Date"))
and I changed it to this: chkdate(rs("Start_Date"))

Then, in event_functions, I changed
Response.Write (myDate)
to this:
Response.Write ChkDate(DateToStr(myDate))
in a few places.

The good thing about these changes is that it works with both the US & UK date formats

<-- Eric -->


InsideWaco.com
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 06 June 2001 :  18:44:45  Show Profile
Changed the 3 instance of strToDate in pop_event and it works perfectly!

Thanks again Eric.

ps: may I suggest that you post your "fix" in the mod(w/code) 'cause if I'm not mistaken, a bunch of people has been looking for this!!!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

e3stone
Average Member

USA
885 Posts

Posted - 06 June 2001 :  19:24:53  Show Profile  Send e3stone an AOL message
I was going to mention it to Alan (Aznknight) first. That way he can look at it and update his zip that's on his site if he wants to. I don't really want to take any more credit than necessary

<-- Eric -->


InsideWaco.com
Go to Top of Page

wedont
Junior Member

Canada
344 Posts

Posted - 06 June 2001 :  20:21:27  Show Profile
Too modest!

Wedont
snitz ver3.1 sr2
access 2k.
Go to Top of Page

Aznknight
Senior Member

USA
1373 Posts

Posted - 06 June 2001 :  22:16:57  Show Profile  Send Aznknight an AOL message  Send Aznknight an ICQ Message
ahh i see what you trying to do now... nice work e3stone . yeah you're being modest.

I haven't been too active with snitz mod development right now cause i'm busy with my own stuff. Once i get a breather, I'll see about adding e3stone's code as well for people trying to do what you're doing wedont.

cheers

- Alan
www.iamviet.com
www.calvsa.net
Snitz Resource
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 09 June 2001 :  07:22:43  Show Profile  Visit maggiau's Homepage
I translated my board into french ...
Can you describe the modification so I can apply them on my own mod ...

Thank you very much
Alex

Go to Top of Page

WMA
Starting Member

Ireland
8 Posts

Posted - 11 June 2001 :  13:37:32  Show Profile
Eric sounds great... I tried it but I'm missing a file:

Active Server Pages error 'ASP 0126'

Include file not found

/projects/testbed/forum/events.asp, line 218

The include file 'events_styles.asp' was not found. "

Have I missed out on developments I have eventsv2 of 20thMarch 2001

Well done in anticipation


John


Go to Top of Page

WMA
Starting Member

Ireland
8 Posts

Posted - 11 June 2001 :  13:51:38  Show Profile
Got you..events v2sr1! Superb work..

just a small thing... if you edit an event set for 7th June - it ends up on 6th July ??



Edited by - wma on 11 June 2001 15:01:49
Go to Top of Page

maggiau
New Member

96 Posts

Posted - 15 June 2001 :  19:36:27  Show Profile  Visit maggiau's Homepage
If I create a new event, the date is wrong and in US format


Go to Top of Page

maggiau
New Member

96 Posts

Posted - 17 June 2001 :  16:44:26  Show Profile  Visit maggiau's Homepage
works great now ...

I missed some changes ...

THANK YOU
Alex

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