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/O Code)
 Timezone Mod?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 07 September 2006 :  13:22:21  Show Profile  Reply with Quote
Huw, think you were the last person to work on the timezone mod so this topic is probably best directed at you - I'm just wondering how far you had progressed with it and what problems you had encountered when you stopped working on it? If "real" work ever lets up, I'd love to give this a whirl; got a couple of ideas on how to implement it that, hopefully, shouldn't be too resource intensive.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  13:45:26  Show Profile  Visit HuwR's Homepage  Reply with Quote
well, it was fully functional, but that was a long time ago, version 3.3 I think, it was never updated to work with the current code at all.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  13:47:16  Show Profile  Visit HuwR's Homepage  Reply with Quote
I can probably dig out the original mod and instructions if that would help. it's not quite as simple as you would imagine though because forum dates are stored in relation to forum time rather than server time and it requires a fairly big lookup table to decide whether or not to use daylight saving<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  13:48:21  Show Profile  Visit HuwR's Homepage  Reply with Quote
and it required a lot of code edits and db changes which is why it never really took off as a mod, was pretty difficult to implement for a novice<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  16:43:54  Show Profile  Visit HuwR's Homepage  Reply with Quote
her ?<
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 07 September 2006 :  19:13:10  Show Profile  Visit golfmann's Homepage  Reply with Quote
:)<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 September 2006 :  20:37:35  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
I think the mod was added to v.4.0 beta, no? It was integrated with it, right?<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  20:42:18  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
Originally posted by ruirib

I think the mod was added to v.4.0 beta, no? It was integrated with it, right?


yes it was<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 07 September 2006 :  21:00:23  Show Profile  Visit HuwR's Homepage  Reply with Quote
this is the original zip file

warning the code was designed to work with Snitz version 3.2, so may need extensive modification<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 08 September 2006 :  04:49:25  Show Profile  Reply with Quote
Ah, nuts, hadn't thought far enough ahead to consider DST Ta for the original, though

Here's what I had been thinking:

» On the regisatratio/profile pages, display the current forum time with a combo to allow the member to select the difference between that and their current time (-24 to +24).

» Use the chkUser function to assign the member's selected difference to a varaible, a lá MemberId.

» Scrap the strToDate function altogther, replacing it with a modified version of the chkDate function instead. The member's selected difference would be added to the date generated by this function. Obviously, this is going to be the biggest job involved in the mod and does present problems for other mods already using the strToDate function.

» At a later stage add additional profile options to allow the member to slect how the date and time are displayed.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 08 September 2006 :  05:12:19  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
» Scrap the strToDate function altogther, replacing it with a modified version of the chkDate function instead. The member's selected difference would be added to the date generated by this function. Obviously, this is going to be the biggest job involved in the mod and does present problems for other mods already using the strToDate function.

That shouldn't be too much of a problem the strTodate function is only used in few places,pop_profile and the archiving code admin_forums mainly<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 08 September 2006 :  06:56:22  Show Profile  Visit HuwR's Homepage  Reply with Quote
quote:
Originally posted by serritzlev

shaggy try this http://www.assy.dk/files/20030603154314_timezone.zip
Sorry Huwr but this have ben test at sh or crash forums and ripet from images and that is the same as your lates codes.


well it ought to be the same since I wrote it <
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07