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
 Event Calendar Problem !
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 July 2002 :  06:29:03  Show Profile  Send ruirib a Yahoo! Message
quote:

Nobody who knows about the Date-Format ?


Last time I looked (and it has been a while since I did) the date format was hardcoded in the source, so the Snitz date time settings were not used.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

twin
New Member

78 Posts

Posted - 25 July 2002 :  07:03:20  Show Profile
The question is: Where ??

Because there is no translation of the latest Event-Mod and the older translated Version from Kirgy is not working for me, i made the Translation hardcoded myself. Up to now i have finished the Work but the only thing that's missing is the Date-Format.
The Events still appear in MM/DD/YYYY whereas the Forum itself has UK-middle-Format (i.e. "25 Jul 2002").

Also the Days appear in Mon, Tue, Wed and so on. And the Month appear in January, February.....


So, where can i change this ?????


twin

P.S. Should i post the Mod-Translation-part of this Topic in another Forum here ? Maybe others are interested in the german translation of latest Event Mod, too ?





Go to Top of Page

twin
New Member

78 Posts

Posted - 25 July 2002 :  07:49:58  Show Profile
Ok,
in config.asp i changed

"Session.LCID = 1033"

in

"Session.LCID = 1031"

And now my events Calendar works with correct Date Format (DD.MM.YYYY) and also the Month are in German now !!!!!!!!
Only the Days are still Mon, Tue.....

The MultiLanguage-Support still seems to work.


Now, can someone explain that to me , please ??


twin

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 25 July 2002 :  07:56:34  Show Profile  Send ruirib a Yahoo! Message
quote:

And now my events Calendar works with correct Date Format (DD.MM.YYYY) and also the Month are in German now !!!!!!!!
Only the Days are still Mon, Tue.....


You can change that in events_functions.asp, around line 606. The values are hardcoded.

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

twin
New Member

78 Posts

Posted - 25 July 2002 :  08:28:44  Show Profile
Thank you, i found it and changed.

But i have a problem with Week-View, now:


Laufzeitfehler in Microsoft VBScript- Fehler '800a0009'

Index außerhalb des gültigen Bereichs: 'intBack'

/forum/events_functions.asp, line 1001


And here is the Code:


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






Oh, i begin to hate my Users for not understanding english, and to have me translate this Mod........



Edited by - twin on 25 July 2002 08:32:47

Edited by - twin on 25 July 2002 08:33:15
Go to Top of Page

twin
New Member

78 Posts

Posted - 25 July 2002 :  09:36:17  Show Profile
I fixed it, YEAH !!!! :-)

The Query is looking for "strCurrentDay <> "Sun", but with the change of "Session.LCID" to 1031, there comes not Sunday but Sonntag. So the left 3 Characters of this day is not "Sun" but "Son".

I changed this array, too. So i think it will work now. Tried out everything that is possible with events Calendar (hope so..) and up to now i didn't found any Error. But if i find a new, i will post here again *grin*



So, if someone is interested in this translated Mod and want to try it, post it



@ Moderator

Can you please move this part to the right Forum ?




twin

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