show/hide subforums

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
natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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

show/hide subforums

Postby natalia » 10 Feb 2011, 09:34

in posts in this forum is to hide the details of the user, how to make such a hide subforums on the main board?

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: show/hide subforums

Postby RMcGirr83 » 10 Feb 2011, 10:05


natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 11 Feb 2011, 10:03

It works! I just can not hide subforum :) You can add [-]? :)

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: show/hide subforums

Postby RMcGirr83 » 11 Feb 2011, 11:39

Last edited by RMcGirr83 on 13 Jan 2015, 00:02, edited 3 times in total.
Reason: Added jQuery way link

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 12 Feb 2011, 11:13

It does not display, when clicked, takes the top of the forum but do not display subforums

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: show/hide subforums

Postby RMcGirr83 » 12 Feb 2011, 11:43

I have updated the code...try it again please.

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 12 Feb 2011, 11:57

Still does not work..

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: show/hide subforums

Postby RMcGirr83 » 12 Feb 2011, 11:58

You need to provide a bit more information than "does not work" and please provide a link to the forum with these edits in place.

I have it installed on here and it works fine.

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 12 Feb 2011, 12:02

when clicked, takes the top of the forum but do not display subforums
Last edited by natalia on 12 Feb 2011, 12:15, edited 1 time in total.

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: show/hide subforums

Postby RMcGirr83 » 12 Feb 2011, 12:02

I got your pm and can I ask where did you get that style from because it is missing some core phpBB files...namely forum_fn.js which should be located within your styles template directory and called within overall_header.html.

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 12 Feb 2011, 12:09

Style did my friend. How do I fix this now?

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: show/hide subforums

Postby RMcGirr83 » 12 Feb 2011, 12:14

Ask your friend to fix the style

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 12 Feb 2011, 12:15

I managed to fix itself, thank you Rich, *

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: show/hide subforums

Postby RMcGirr83 » 12 Feb 2011, 12:31

You're welcome. :)

natalia
New member
New member
Posts: 20
Joined: 07 Feb 2011, 14:17
[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: show/hide subforums

Postby natalia » 06 Mar 2011, 20:30

This modyfication does not work on Google Chrome :P


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