Sub-Forums

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
[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
randk
New member
New member
Posts: 23
Joined: 28 May 2014, 04:29
[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

Sub-Forums

Postby randk » 02 Sep 2014, 08:20

Hi I want the Subforms Look like this (Horizontal and Vertical)



Can anyone tell me how to do this..
And I am using Subsilver

And my subforum code is :

<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
<!-- ENDIF -->

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: Sub-Forums

Postby RMcGirr83 » 02 Sep 2014, 10:09


randk
New member
New member
Posts: 23
Joined: 28 May 2014, 04:29
[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: Sub-Forums

Postby randk » 02 Sep 2014, 11:08


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: Sub-Forums

Postby RMcGirr83 » 02 Sep 2014, 11:14

Did you refresh the style after making that change? There is also this method https://www.phpbb.com/community/viewtop ... #p13161529

randk
New member
New member
Posts: 23
Joined: 28 May 2014, 04:29
[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: Sub-Forums

Postby randk » 02 Sep 2014, 11:21

I refreshed it and Looks like this..

[img]http://s30.postimg.org/wa2nao69t/Untitled.jpg[/img]

English and other Languages are the two Subforms..

And I am unable to find this
"
$s_subforums_list = array();
foreach ($subforums_list as $subforum)
{
$s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '" title="' . (($subforum['unread']) ? $user->lang['NEW_POSTS'] : $user->lang['NO_NEW_POSTS']) . '">' . $subforum['name'] . '</a>';
}
$s_subforums_list = (string) implode(', ', $s_subforums_list);


#
"

My Subform code is :
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS -->
<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
<!-- ENDIF -->

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: Sub-Forums

Postby RMcGirr83 » 02 Sep 2014, 11:25

The code given in the second link I gave you is from a php file....not an html file. Read the topic I linked to again.

randk
New member
New member
Posts: 23
Joined: 28 May 2014, 04:29
[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: Sub-Forums

Postby randk » 02 Sep 2014, 11:43

Thanks it is working..

[img]http://s23.postimg.org/4ed3dg9rv/Untitled.jpg[/img]

And how to display the Subform Icons and can you tell me How to increase the font size of Subform

randk
New member
New member
Posts: 23
Joined: 28 May 2014, 04:29
[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: Sub-Forums

Postby randk » 03 Sep 2014, 02:58

Last edited by randk on 13 Jan 2015, 00:06, edited 2 times in total.
Reason: added bbode tags

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: Sub-Forums

Postby RMcGirr83 » 03 Sep 2014, 10: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
[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: DotNetDotCom.org [Bot] and 6 guests