[DEV] List subforums in columns

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Get Involved
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 7:01 am

this query

Code: Select all

UPDATE phpbb_forums SET forum_subforumslist_type =  '2'

rxu
Extensions Development Team
Posts: 2949
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] List subforums in columns

Post by rxu » Sun May 03, 2015 7:17 am

swstarone wrote:line 59: explode() expects parameter 2 to be string, array given
Line 59^

Code: Select all

$s_subforums_list_m = explode($this->user->lang['COMMA_SEPARATOR'], $forum_row['SUBFORUMS']);
$forum_row['SUBFORUMS'] is assigned to $s_subforums_list = (string) implode($user->lang['COMMA_SEPARATOR'], $s_subforums_list);

So the query seems to be unrelated to the issue. Are you sure you haven't modified (probably via another extension) things related to the $s_subforums_list value in includes/functions_display.php?

swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 7:22 am

No sir I have not replaced anything,
but one issue is this when I try to change column details from ACP >> Forums
then changes does not got changed, it still shows 0 only.
only when I made query then it changed as i set in query.

swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 8:39 am

My forum url is

Code: Select all

http://forum.swstarone-sat.com
please check the issue

rxu
Extensions Development Team
Posts: 2949
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] List subforums in columns

Post by rxu » Sun May 03, 2015 8:56 am

Are you using the latest code from the repo?

swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 8:59 am

I have downloaded latest extension which link is given in the first post of this topic.

rxu
Extensions Development Team
Posts: 2949
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] List subforums in columns

Post by rxu » Sun May 03, 2015 9:22 am

Tried to reproduce it locally with the SQL query but couldn't. Do you have any other specific details? What extensions do you have installed other than Recent Topics?

swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 11:14 am

Enabled Extensions

Activity Stats 1.2.3-DEV
Auto Groups 1.0.0-RC1
Google Analytics 1.0.1
List subforums in columns 2.0.0
Loading indicator 1.0.0
Lottery for Caramel 0.0.1
phpBB3 SEO Sitemap 1.0.3
Precise Similar Topics 1.3.0
Pretty Topic 1.0.0
Recent Topics 2.0.5
Scroll To Top 1.0.0
Seo Meta Description 0.0.2
tas2580 SEO URLs 0.2.1
Welcome Robot 1.0.0

rxu
Extensions Development Team
Posts: 2949
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: [DEV] List subforums in columns

Post by rxu » Sun May 03, 2015 4:39 pm

swstarone
Could you please try the following:

Code: Select all

OPEN
[ROOT]/ext/gfksx/ListSubforumsInColumns/event/listener.php

FIND
if (isset ($forum_row['SUBFORUMS']) && $row['forum_subforumslist_type'])

REPLACE WITH
if (!empty($forum_row['SUBFORUMS']) && $row['forum_subforumslist_type'])

swstarone
Registered User
Posts: 87
Joined: Sun Jun 02, 2013 12:48 pm

Re: [DEV] List subforums in columns

Post by swstarone » Sun May 03, 2015 4:52 pm

Yes sir, I have done.
and now problem has resolved.

WISHEXEC
Registered User
Posts: 87
Joined: Fri Dec 04, 2015 12:39 pm

Re: [DEV] List subforums in columns

Post by WISHEXEC » Fri Dec 04, 2015 12:42 pm

any chance to get this aproved ?

loxawadi
Registered User
Posts: 63
Joined: Tue Jan 05, 2016 3:14 am

Re: [DEV] List subforums in columns

Post by loxawadi » Tue Jan 26, 2016 2:18 am

Dear all

I set 2 column but it does not. How can I fix it.

Thanks

WISHEXEC
Registered User
Posts: 87
Joined: Fri Dec 04, 2015 12:39 pm

Re: [DEV] List subforums in columns

Post by WISHEXEC » Fri Feb 05, 2016 11:18 am

This break my responsive design ...

In normal it shows like

Code: Select all

Main Forum 
Subforums: subforum1, subforum2, subforum3, subforum4
Topics: 12
but with this extensions break that responsive form , and create a buggy one like this

Code: Select all

Main Forum 
Subforums: 

subforum1     subforum2,topi...
subforum3     subforum4   12 
the topic number that usually come under the subforums, come now in right side

WISHEXEC
Registered User
Posts: 87
Joined: Fri Dec 04, 2015 12:39 pm

Re: [DEV] List subforums in columns

Post by WISHEXEC » Tue May 10, 2016 5:56 am

Wrong "," bug ...

Still need this working :)

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [DEV] List subforums in columns

Post by Mess » Wed May 11, 2016 6:16 pm

Looking forward to seeing this working on responsive. :)

Post Reply

Return to “Extensions in Development”