Newest mchat and phpBB Countdown

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
User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Newest mchat and phpBB Countdown

Postby Stoker » 30 Mar 2014, 11:00

Hello,

Newest mchat version breaks my phpBB Countdown.
Any quick ideas how to fix 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: Newest mchat and phpBB Countdown

Postby RMcGirr83 » 30 Mar 2014, 11:08

It is probably that jQuery 1.10.x is being used.

User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Newest mchat and phpBB Countdown

Postby Stoker » 30 Mar 2014, 11:11

Nope, im using the jquery included with the countdown mod.

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: Newest mchat and phpBB Countdown

Postby RMcGirr83 » 30 Mar 2014, 11:16

Show me as it is quite impossible to guess.

User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Newest mchat and phpBB Countdown

Postby Stoker » 30 Mar 2014, 11:20

Url in PM
BTW, its only were mchat is enabled the countdown fails

User avatar
Neculai Anișor
Supporter
Supporter
Posts: 150
Joined: 11 Jan 2013, 17:01
Location: Liverpool, UK
[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: Newest mchat and phpBB Countdown

Postby Neculai Anișor » 31 Mar 2014, 08:45

Got the same problem. Check mchat_ajax_mini.js.

steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Newest mchat and phpBB Countdown

Postby steve » 31 Mar 2014, 21:23

You can put JavaScript src out of the overall_header ,try moving your src file...,as Long as the type is defined your ok ;)
Steve ©

neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07
[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: Newest mchat and phpBB Countdown

Postby neuropass » 01 Apr 2014, 13:41


User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Newest mchat and phpBB Countdown

Postby Stoker » 01 Apr 2014, 14:40


neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07
[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: Newest mchat and phpBB Countdown

Postby neuropass » 01 Apr 2014, 16:34

Also this should not be used anymore : its useless and redundant.

<script type="text/javascript" charset="utf-8">
// <![CDATA[

User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Newest mchat and phpBB Countdown

Postby Stoker » 01 Apr 2014, 16:43


steve
Master of posting
Master of posting
Posts: 1213
Joined: 12 Jul 2009, 19:14
Location: uk
Contact:

Re: Newest mchat and phpBB Countdown

Postby steve » 01 Apr 2014, 17:11

charset="utf-8" i pressume, but out side of phpbb charset would be needed for other languages..
Steve ©

neuropass
Member
Member
Posts: 66
Joined: 12 Apr 2010, 17:07
[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: Newest mchat and phpBB Countdown

Postby neuropass » 01 Apr 2014, 17:53


User avatar
Stoker
Member
Member
Posts: 198
Joined: 14 May 2011, 20:54
Contact:

Re: Newest mchat and phpBB Countdown

Postby Stoker » 01 Apr 2014, 18:03

Get the utf8 part, its left over from prettyphoto
About the cdata, its done the phpBB way as in 3.0.12

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: Newest mchat and phpBB Countdown

Postby RMcGirr83 » 01 Apr 2014, 22:04

..and also passes W3c. Without text/javascript it will fail.


[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 65 guests