[CDB][Official Extension] Collapsible Forum Categories

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!
Ideas Centre
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)
User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4898
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

[CDB][Official Extension] Collapsible Forum Categories

Post by VSE » Wed Apr 22, 2015 10:36 pm

Extension Name: Collapsible Forum Categories
Author: Extensions Development Team

Extension Description: The Extensions Development Team is working on a Collapsible Forum Categories extension.

This extension allows users to collapse and minimise forum categories with a simple click.
collapsibelcats2.jpg
collapsibelcats2.jpg (8.95 KiB) Viewed 3394 times
  • Collapsed forums are remembered using cookies and in the database. This means it can work for both registered and unregistered visitors, and a registered member's collapsed settings will be used on other devices or computers while they are logged in.
  • Styling is purely CSS so tweaking the appearance and placement of the collapse buttons to work with other styles is easy.
  • It should be possible for other extensions that have structures/layout similar to the forum category sections to use the collapsible feature by integrating a few changes for compatibility.
collapsibelcats1.jpg
This extension is currently under development and the above feature list is subject to change.

Download:
Releases: https://www.phpbb.com/customise/db/exte ... categories
Github Repository: https://github.com/phpbb-extensions/col ... categories

Build status / Build quality:
Image
Image Image

Installation:
  1. Unzip the downloaded release and copy it to the ext directory of your phpBB board.
  2. Navigate in the ACP to Customise -> Manage extensions.
  3. Look for Collapsible Forum Categories under the Disabled Extensions list, and click its Enable link.
Important: Only official release versions validated by the phpBB Extensions Team should be installed on a live forum. Pre-release (beta, RC) versions downloaded from the GitHub repository are only to be used for testing on offline/development forums and are not officially supported.

All are welcome to contribute to the extension by forking our repository and submitting a Pull Request through Github.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
Allen142
Registered User
Posts: 64
Joined: Sat Aug 02, 2014 2:13 am
Location: Sugar Land, TX, USA
Name: Allen Nguyen

Re: [ALPHA] Collapsible Forum Categories

Post by Allen142 » Thu Apr 23, 2015 2:53 am

Awesome work for this extension, Matt! So, can I try this on my live forum or wait for the BETA/RC release? It worked very well. :D
No sign of a forum I owned.

Thank you,
Allen


User avatar
Louis7777
Registered User
Posts: 247
Joined: Sat Apr 21, 2012 9:22 pm

Re: [ALPHA] Collapsible Forum Categories

Post by Louis7777 » Thu Apr 23, 2015 3:26 pm

How about using HTML5 Local Storage instead of cookies?

FomenkoAndrey
Registered User
Posts: 367
Joined: Thu Aug 19, 2010 10:44 am

Re: [ALPHA] Collapsible Forum Categories

Post by FomenkoAndrey » Thu Apr 23, 2015 3:37 pm

Louis7777 wrote:How about using HTML5 Local Storage instead of cookies?
used in guru extentions

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4898
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by VSE » Thu Apr 23, 2015 4:41 pm

Louis7777 wrote:How about using HTML5 Local Storage instead of cookies?
We did not want to have to wait for the full page to load, with all categories expanded, and then have the hidden categories suddenly disappear after the Javascript has stepped in to hide the forums, which results in an effect sometimes known as page jumping. We considered that an unacceptable user experience.

We wanted hidden categories to be hidden immediately, before the page is rendered. That means that we have to know what to hide during PHP execution, which meant we had to use cookies instead of the client-side only local storage option.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
Louis7777
Registered User
Posts: 247
Joined: Sat Apr 21, 2012 9:22 pm

Re: [ALPHA] Collapsible Forum Categories

Post by Louis7777 » Thu Apr 23, 2015 4:57 pm

I see. Good work once again! :)

User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 6185
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by Raul [ThE KuKa] » Thu Apr 23, 2015 6:26 pm

Great work Matt and Extensions Development Team, I don't know where you find the time for both work. :mrgreen:

Edit: I'm working on spanish translation... HARD WORK!!! :o :mrgreen:
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



Holger
Registered User
Posts: 1752
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [ALPHA] Collapsible Forum Categories

Post by Holger » Fri Apr 24, 2015 6:52 am

Great work! Thanks!

Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by Korkel » Fri Apr 24, 2015 6:46 pm

Profiled, awesome!
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by Volksdevil » Fri Apr 24, 2015 7:46 pm

When I click the minus sign I get:
You do not have the necessary permissions to complete this operation.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by Wolfsblvt » Fri Apr 24, 2015 8:09 pm

Volksdevil wrote:When I click the minus sign I get:
You do not have the necessary permissions to complete this operation.
Does your forum hast cookie and board url setup correctly?
When you browser your form, do you have sid=XXXX in your URL all the time?
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4898
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by VSE » Fri Apr 24, 2015 8:10 pm

Wolfsblvt wrote:
Volksdevil wrote:When I click the minus sign I get:
You do not have the necessary permissions to complete this operation.
Does your forum hast cookie and board url setup correctly?
When you browser your form, do you have sid=XXXX in your URL all the time?
Something is wrong with his board and javascript.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by Volksdevil » Fri Apr 24, 2015 8:12 pm

Does your forum hast cookie and board url setup correctly?
Yep. :) And nope, I don't get session id's in the URL.
Something is wrong with his board and javascript.
Not that I know of?
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 4898
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: [ALPHA] Collapsible Forum Categories

Post by VSE » Fri Apr 24, 2015 8:35 pm

Volksdevil wrote:Not that I know of?
Yep. It's your style. First you've modified prosilver itself instead of making a new style which is a problem in and of itself. Second, you've totally changed the overall_footer.html template file so that it no longer loads javascript files in the correct order.

These lines are critical: https://github.com/phpbb/phpbb/blob/3.1 ... ml#L40-L49

Your style has deleted all of that and replaced it with a jumble of hardcoded script tags. You need to fix your style.

note: This topic is not meant for the support of fixing your style so if you need help with that please visit the style forums.
Dictated but not read.
Official phpBB Extensions My Extensions & MODs
Please do not PM me for support.

Locked

Return to “Extensions in Development”