[Alpha]Tabbed Index

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)
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

[Alpha]Tabbed Index

Post by vipaka »

Extension Name: Index Tabbed
Author:Vipaka

Extension Description: Organize forum index into tabs for each category.
Extension Version:1.0.3

Requirements: At least 1 modern Jquery Library installed in header.

Features:
  • Sort the categories on the index into tabs
  • Sort stats/birthdays and who is online into tabs.

Screenshots: Image

Github Repo:https://github.com/vipaka/phpbb3.1_index_tabbed

Extension Download: www.esmaerin.com/indextabbbed.zip
Installation Instructions:
  • Unzip folder into root/ext/vipaka/index_tabbed.
  • Go to ACP->Customize and enable Index tabbed.
Additional Info: If you'd like to customize the way the tabs are displayed, alter the CSS in the ext/vipaka/indextabbed/styles/all/theme/index_tabbed.css file.

To use tabs on only forum categories, delete the following files: index_body_stat_blocks_after.html, index_body_stat_blocks_before.html, the includejs whois.js line in overall_header_head_append.html after the statement indicating where the stat blocks codes begin.

To use tabs on only the who is online/birthdays/statistics, delete the following files: forumlist_body_category_header_before.html, index_body_forumlist_body_after.html, the index_body_markforums_after.html and the includejs forumtabs.js line in overall_header_head_append.html after the statement indicating where the forum category tabs begin.
Last edited by vipaka on Fri Feb 13, 2015 1:01 pm, edited 6 times in total.
Curious about my work? See it for yourself.
Image
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Alpha]Tabbed Index

Post by david63 »

Can I just point out that underscores are not allowed in any part of the extension name - see here

Also you are using an incorrect method to include css in the templates - see here
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
FomenkoAndrey
Registered User
Posts: 369
Joined: Thu Aug 19, 2010 10:44 am

Re: [Alpha]Tabbed Index

Post by FomenkoAndrey »

vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

david63 wrote:Can I just point out that underscores are not allowed in any part of the extension name - see here

Also you are using an incorrect method to include css in the templates - see here
This is just alpha, I'll fix all the standard conventions before taking it into Beta. :) Thanks for the reminder.
FomenkoAndrey wrote:this? viewtopic.php?f=456&t=2259561
I will compare how that one was setup with this one to see what the differences are that might better this ext.
Curious about my work? See it for yourself.
Image
User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica

Re: [Alpha]Tabbed Index

Post by Jessica »

The index tabbed mod didn't organize the categories into tab (there's already an ext for that)...it organized the who is online/statistics/birthdays/etc into tabs

https://www.phpbb.com/customise/db/mod/index_tables/
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

Jessica wrote:The index tabbed mod didn't organize the categories into tab (there's already an ext for that)...it organized the who is online/statistics/birthdays/etc into tabs

https://www.phpbb.com/customise/db/mod/index_tables/
I'll recycle codes from this ext to make one for that as well once I have it functioning how I'd prefer it to.

I should have another version of this ext up later today.
Curious about my work? See it for yourself.
Image
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

Version 1.0.3
Updates include corrected ext name, and updated css/js inclusion paths. Includes tabs for who is online, birthdays and statistics. Includes activetab css, along with improved template conditionals for including the necessary jquery and css only on the index.
Curious about my work? See it for yourself.
Image
User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай

Re: [Alpha]Tabbed Index

Post by Niknovel »

I styled design made of blocks.
Image

--------------------
Sorry for asking bad English.
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

Niknovel wrote:I styled design made of blocks.
Image

--------------------
Sorry for asking bad English.
You'd want to look in the root/ext/vipaka/styles/all/theme/index_tabbed.css file and edit the CSS there to fit your style.
Curious about my work? See it for yourself.
Image
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Alpha]Tabbed Index

Post by david63 »

This is an extension that I have been looking for but, unfortunately, it does not work on my test board - although that may be due to a conflict with other unstable extensions that I have installed.

I appreciate that this is still very much a "work in progress" but I would just like to make a few observations:
  • The packaging of the extension is wrong - when you unzip it should be vipaka/indextabbed
  • The style data should be in prosilver not all as it does not render correctly with non subsilver based styles
  • You need to have a language file as hard coded language is not allowed (it is in index_body_stat_blocks_before.html)
  • In phpBB 3.1 js is loaded in the footer not the header
I would like to see an option to have either categories tabbed and/or statistics - or split them into two extensions
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

david63 wrote:This is an extension that I have been looking for but, unfortunately, it does not work on my test board - although that may be due to a conflict with other unstable extensions that I have installed.

I appreciate that this is still very much a "work in progress" but I would just like to make a few observations:
  • The packaging of the extension is wrong - when you unzip it should be vipaka/indextabbed
  • The style data should be in prosilver not all as it does not render correctly with non subsilver based styles
  • You need to have a language file as hard coded language is not allowed (it is in index_body_stat_blocks_before.html)
  • In phpBB 3.1 js is loaded in the footer not the header
I would like to see an option to have either categories tabbed and/or statistics - or split them into two extensions
I'm not sure what the packaging unzips as at the moment but I'll take a look and see if I can correct it soon.
Since there is already an existing category in tabs ext, I plan on leaving this one as an entire "Index" in tabs alternative. I did add up additional information to the first post for how to isolate tabs for just categories or just the whois/birthday/statistics. Adding an acp to this ext just for the sake of disabling/enabling one or the other seems a bit excessive for such a lightweight ext.
I will definitely replace the common lang vars for that HTML file, good eye.
I am not certain since I haven't tested it, but I believe the jquery for this ext will only work if called in the header before the tabs are appended to the page. I will double check this.
The final version will likely be /all styles with an alternate prosilver css file (the current one). Its an issue I'm very aware of and still trying to find a good workaround for.
Curious about my work? See it for yourself.
Image
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [Alpha]Tabbed Index

Post by david63 »

vipaka wrote:I am not certain since I haven't tested it, but I believe the jquery for this ext will only work if called in the header before the tabs are appended to the page.
jQuery is only loaded in the footer and from my limited experience with jQuery scripts will not run until it is loaded.
vipaka wrote:Adding an acp to this ext just for the sake of disabling/enabling one or the other seems a bit excessive for such a lightweight ext.
Maybe but editing and/or deleting files from an extension is not the way to go. There is the issue of upgrading the version where users will overwrite any changes that they may have made and also it would probably never get past validation.
vipaka wrote:I'm not sure what the packaging unzips as at the moment but I'll take a look and see if I can correct it soon.
It just unzips the files to the master directory
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай

Re: [Alpha]Tabbed Index

Post by Niknovel »

vipaka wrote: You'd want to look in the root/ext/vipaka/styles/all/theme/index_tabbed.css file and edit the CSS there to fit your style.
You did not understand me. I made a tab before entering your extension.
And he showed his version.

Demo: http://www.electro-sila.ru/forum/
Installed Expansion PhpBB3 version: 3.1.3
Installed Mods PhpBB3 version: 3.0.13-PL1
vipaka
Registered User
Posts: 493
Joined: Sun Aug 28, 2011 7:25 pm

Re: [Alpha]Tabbed Index

Post by vipaka »

Niknovel wrote:
vipaka wrote: You'd want to look in the root/ext/vipaka/styles/all/theme/index_tabbed.css file and edit the CSS there to fit your style.
You did not understand me. I made a tab before entering your extension.
And he showed his version.

Demo: http://www.electro-sila.ru/forum/
I'm still not sure I understand. You made your own css/tabs for your own forum, not an ext for creating tabs from that area. What does this have to do with this ext?
Curious about my work? See it for yourself.
Image
User avatar
tamarin
Registered User
Posts: 120
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [Alpha]Tabbed Index

Post by tamarin »

I have this error:

Code: Select all

Fatal error: Cannot redeclare class vipaka\index_tabbed\ext in /home4/xyxy/public_html/xyxy/ext/vipaka/indextabbed/ext.php on line 18
Can you help me please?
Thank you in advance.

Return to “Extensions in Development”