Author |
Topic |
unifox
Starting Member
46 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
|
unifox
Starting Member
46 Posts |
|
Nikkol
Forum Moderator
USA
6907 Posts |
Posted - 24 July 2002 : 16:29:55
|
Can you post links to text versions of both pages?
Nikkol |
|
|
unifox
Starting Member
46 Posts |
Posted - 24 July 2002 : 19:03:50
|
what file do you want?
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 24 July 2002 : 23:11:48
|
quote:
what file do you want?
inc_events.asp, but don't post it here, post a link to a text version of it.
http://www.nineinchnailz.com |
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 24 July 2002 : 23:35:26
|
I'd say it's an easy guess. The Danish server uses US date formats, the micromaniacs site server uses UK date formats. Is it possible?
I've seen the calendar display like the one in http://422o.dk/forum/default.asp in a forum whose code was not prepared to handle the dates in the format the server was using.
------------------------------------------------- Installation Guide | Do's and Dont's | MODs
Edited by - ruirib on 25 July 2002 20:11:21 |
|
|
unifox
Starting Member
46 Posts |
Posted - 25 July 2002 : 19:55:23
|
hmmm.....that might be...but do you have any idea hov to fix the problem? BTW. hov do I get the date in the event to be the exact same as the forum?
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 25 July 2002 : 20:13:01
|
quote:
hmmm.....that might be...but do you have any idea hov to fix the problem? BTW. hov do I get the date in the event to be the exact same as the forum?
I think you'd need to use different versions of the calendar mod. The international version for the server with the UK dates and the US version for the one with US dates.
I don't understand your last question. Can you be more specific?
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
unifox
Starting Member
46 Posts |
Posted - 26 July 2002 : 13:57:07
|
nevermind.....and thanks
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
twin
New Member
78 Posts |
Posted - 28 July 2002 : 10:33:29
|
@unifox
Had the same Problem when i was translating the latest EventMod into German (the translated Mod from Kirgy was too old and didn't work). I had to hard-change the Session.LCID from 1033 to 1031 and the Result was the right Date-Format but also this wrong Display of Calendar.
I'm at home now so i can't post you the exact Lines to change. I'll do it tomorrow at first.
twin
|
|
|
unifox
Starting Member
46 Posts |
Posted - 28 July 2002 : 15:30:57
|
that would be a big help...thx
|
|
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 28 July 2002 : 15:40:42
|
quote:
@unifox
Had the same Problem when i was translating the latest EventMod into German (the translated Mod from Kirgy was too old and didn't work). I had to hard-change the Session.LCID from 1033 to 1031 and the Result was the right Date-Format but also this wrong Display of Calendar.
I'm at home now so i can't post you the exact Lines to change. I'll do it tomorrow at first.
I probably should have remembered this. Yes this should help. You only need to change a single line, to set the value for the LCID. All you need is to change line 39 in config.asp:
Session.LCID = whateverYourLocaleIDIs
------------------------------------------------- Installation Guide | Do's and Dont's | MODs |
|
|
twin
New Member
78 Posts |
Posted - 29 July 2002 : 02:54:27
|
Ok, here is what i changed in events_inc.asp :
Find the following function:
Function GetLastDay(intMonthNum, intYearNum) Dim dNextStart If CInt(intMonthNum) = 12 Then dNextStart = CDate( "01/01/" & intYearNum) Else dNextStart = CDate(intMonthNum + 1 & "/01/" & intYearNum) End If GetLastDay = Day(dNextStart - 1) End Function
and replace it with this:
Function GetLastDay(intMonthNum, intYearNum) Dim dNextStart If CInt(intMonthNum) = 12 Then dNextStart = CDate( "01/01/" & intYearNum) Else dNextStart = CDate(MonthName(intMonthNum + 1) & " 1," & intYearNum) End If GetLastDay = Day(dNextStart - 1) End Function
After this line changed, my calendar was correct displayed in default page. Remember: For me this error only occured after i changed the Session.LCID. Without touching the LCID the Calendar was displayed correct !! So, i don't know if this is working for you, too ! But it is worth a Try.
twin
|
|
|
unifox
Starting Member
46 Posts |
Posted - 30 July 2002 : 16:41:35
|
well it helped at little, but it is still ****ed
|
|
|
Topic |
|