Board start date MOD

Support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Forum rules
Please only request support for mods released by phpbbmodders.net found at either https://github.com/phpbbmodders/ or the MODDB at http://www.phpbb.com
Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22

Board start date MOD

Post by Potku »

Which board start date MOD has been used here? It seems a little different from the ones I have come across. I like this one here better :)
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Board start date MOD

Post by RMcGirr83 »

That is custom code and has not been released.
Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22

Re: Board start date MOD

Post by Potku »

Well, that explains it :D Because I didn't see it in the list (MODs installed here). If you should ever want to release it, I am sure many would like to install it right away :)
Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22

Re: Board start date MOD

Post by Potku »

Our index looks like this now :D

Potku.net näki päivänvalon joulu 22, 2004, 18.26 ja on potkinut 7 vuotta ja 5 kuukautta päivää •


OK, the starting date is correct. But then it says 7 years and 5 months days. Okay then... :D

We are using this MOD: http://phpbbmodders.net/board/viewtopic.php?f=37&t=7035

Maybe there's just a mistake from our part (although I checked the code, but everything's possible). The funny thing is that the output seems to change somewhat illogically. The other day it listed weeks between months and days, but even that wasn't correct since it displayed 4 weeks. That's a month as far as I know :D
User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Board start date MOD

Post by Ooopsie »

4 weeks is not a month. The correct calculation is 4.33333 weeks for a month (Average Month) but it gets more scientific if you break it down into seconds as many MODS do.
steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Board start date MOD

Post by steve »

What aboot leap years? ,Mods a duffer does not install via automod.
Steve ©
User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Board start date MOD

Post by Ooopsie »

The average is 4.33333 weeks. It takes leap year into consideration. It's not 100% accurate as using math and divisors. It's just of a quick calculation.
Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22

Re: Board start date MOD

Post by Potku »

Today is the 21st of May. Potku was founded on 22nd of December (2004). Well, here's what this not-so-accurate formula gives us today :lol:

Code: Select all

Potku.net näki päivänvalon joulu 22, 2004, 18.26 ja on potkinut 7 vuotta, 5 kuukautta ja 1 päivän •

7 years, 5 months and 1 day. Really? [img]http://www.potku.net/forum/images/smilies/003.gif[/img]

Well, it's no biggie. I just thought I'd mention it. And who knows, maybe someone already has a solution to a more accurate method of counting the actual length of time :)
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Board start date MOD

Post by RMcGirr83 »

I have a different one if you want to try it.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Board start date MOD

Post by RMcGirr83 »

You can try the attached.

board_start_date.zip
(36.17 KiB) Downloaded 495 times
Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22

Re: Board start date MOD

Post by Potku »

Works perfectly :cool: Kudos! :beer:
Die Mathematik

Re: Board start date MOD

Post by Die Mathematik »

Hello Rich,

I'm right, that your attachment only showing years, months and days? Is it possible to show the hours, minutes and seconds, like your board? :)
mikef35
New member
New member
Posts: 38
Joined: 21 Feb 2012, 21:05

Re: Board start date MOD

Post by mikef35 »

Die Mathematik wrote:Hello Rich,

I'm right, that your attachment only showing years, months and days? Is it possible to show the hours, minutes and seconds, like your board? :)



Rich,

I would also like to know what you did to show minutes and seconds. Will you give us a peek?
Thanks
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: Board start date MOD

Post by RMcGirr83 »

On here it is using jQuery with a countdown (up?) script.
mikef35
New member
New member
Posts: 38
Joined: 21 Feb 2012, 21:05

Re: Board start date MOD

Post by mikef35 »

Removed
Last edited by mikef35 on 09 Aug 2012, 13:56, edited 3 times in total.
Post Reply