The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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.”
<
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
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.<
Posted
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<
Posted
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<
Posted
her ?<
Posted
:)<
Posted
I think the mod was added to v.4.0 beta, no? It was integrated with it, right?<
Posted
Originally posted by ruiribyes it was<
I think the mod was added to v.4.0 beta, no? It was integrated with it, right?
Posted
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.”
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 thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Posted
» 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<
Email Member
Message Member
Post Moderation
FileUpload
If you're having problems uploading, try choosing a smaller image.
Preview post
Send Topic
Loading...