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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Board start date MOD

Postby Potku » 18 May 2012, 05:58

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
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby RMcGirr83 » 18 May 2012, 09:54

That is custom code and has not been released.

Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby Potku » 18 May 2012, 18:51

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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby Potku » 20 May 2012, 10:39


User avatar
Ooopsie
Supporter
Supporter
Posts: 1213
Joined: 19 Aug 2010, 16:34
Location: Index, WA
Contact:

Re: Board start date MOD

Postby Ooopsie » 20 May 2012, 13:27

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

Postby steve » 20 May 2012, 14:04

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

Postby Ooopsie » 20 May 2012, 15:03

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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby Potku » 21 May 2012, 06:51


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby RMcGirr83 » 21 May 2012, 08:25

I have a different one if you want to try it.

User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby RMcGirr83 » 21 May 2012, 09:44

You can try the attached.

board_start_date.zip
(36.17 KiB) Downloaded 424 times

Potku
New member
New member
Posts: 42
Joined: 21 Dec 2008, 11:22
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby Potku » 22 May 2012, 05:09

Works perfectly :cool: Kudos! :beer:

Die Mathematik
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby Die Mathematik » 30 Jul 2012, 18:29

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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby mikef35 » 09 Aug 2012, 10:48


User avatar
RMcGirr83
Past Contributor
Past Contributor
Posts: 6243
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby RMcGirr83 » 09 Aug 2012, 12:28

On here it is using jQuery with a countdown (up?) script.

mikef35
New member
New member
Posts: 38
Joined: 21 Feb 2012, 21:05
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Board start date MOD

Postby mikef35 » 09 Aug 2012, 13:23

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


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Modders MOD support”

Who is online

Users browsing this forum: No registered users and 8 guests