T O P I C R E V I E W |
Shaggy |
Posted - 07 September 2006 : 13:22:21 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.
< |
11 L A T E S T R E P L I E S (Newest First) |
HuwR |
Posted - 08 September 2006 : 06:56:22 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 < |
HuwR |
Posted - 08 September 2006 : 05:12:19 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< |
Shaggy |
Posted - 08 September 2006 : 04:49:25 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.
< |
HuwR |
Posted - 07 September 2006 : 21:00:23 this is the original zip file
warning the code was designed to work with Snitz version 3.2, so may need extensive modification< |
HuwR |
Posted - 07 September 2006 : 20:42:18 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< |
ruirib |
Posted - 07 September 2006 : 20:37:35 I think the mod was added to v.4.0 beta, no? It was integrated with it, right?< |
golfmann |
Posted - 07 September 2006 : 19:13:10 :)< |
HuwR |
Posted - 07 September 2006 : 16:43:54 her ?< |
HuwR |
Posted - 07 September 2006 : 13:48:21 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< |
HuwR |
Posted - 07 September 2006 : 13:47:16 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< |
HuwR |
Posted - 07 September 2006 : 13:45:26 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.< |