Code: Select all
if (isset ($forum_row['SUBFORUMS']) && $row['forum_subforumslist_type'])
{
$s_subforums_list_m = array();
$s_subforums_list_str ='';
$s_subforums_list_m = explode($this->user->lang['COMMA_SEPARATOR'], $forum_row['SUBFORUMS']);
$sf_list = count($s_subforums_list_m);
if ($sf_list)
{
$rows = ceil ($sf_list / $row['forum_subforumslist_type']);
$s_subforums_list_m = array_chunk($s_subforums_list_m, $rows);
$s_subforums_list_str = '<br /> <span style="float: left;">';
$s_subforums_list_str .= (string) implode(',<br />', $s_subforums_list_m[0]);
$s_subforums_list_str .= '</span> ';
for ($i=1; $i*$rows < $sf_list; $i++)
{
$s_subforums_list_str .= '<span style="float: left;"> ';
$s_subforums_list_str .= (string) implode(',<br /> ', $s_subforums_list_m[$i]);
$s_subforums_list_str .= '</span>';
}
$forum_row['FORUM_SUBFORUMSLIST_TYPE'] = (int) $row['forum_subforumslist_type'];
$forum_row['SUBFORUMS'] = $s_subforums_list_str;
$event['forum_row'] = $forum_row;
}
}
}
and how i can add a icon read and unread messages behind the subforum ?rxu wrote: Sat Jan 21, 2017 4:00 am Set number of columns to split subforums list in, for each forum, via editing forums in ACP.
when i install the extension, it removes my subforum icon
Could it be corrected?WISHEXEC wrote: Fri Feb 05, 2016 11:18 am This break my responsive design ...
In normal it shows like
but with this extensions break that responsive form , and create a buggy one like thisCode: Select all
Main Forum Subforums: subforum1, subforum2, subforum3, subforum4 Topics: 12
the topic number that usually come under the subforums, come now in right sideCode: Select all
Main Forum Subforums: subforum1 subforum2,topi... subforum3 subforum4 12
tr
Code: Select all
<?php
/**
*
* List Subforums In Columns extension for the phpBB Forum Software package.
*
* @copyright (c) 2013 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
$lang = array_merge($lang, array(
'SUBFORUMSLIST_TYPE' => 'Altforum listesindeki sütun sayısı',
'SUBFORUMSLIST_TYPE_EXPLAIN' => 'Forum gösteriminde altforum listesini bölmek istediğiniz sütun sayısını girin. Bu özelliği kapatmak için 0 girin.',
));
I never saw it worked for categories as they have no subforums as such, did it? And how would it look like?Prosk8er wrote: Sat Jul 08, 2017 8:42 pm anyway to get it to work for the category option like it use to be?
And this should be fixed with the current development code.