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

[Alpha]Tabbed Index

Post by vipaka » Tue Feb 10, 2015 1:08 pm

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.

User avatar
david63
Registered User
Posts: 16173
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [Alpha]Tabbed Index

Post by david63 » Tue Feb 10, 2015 3:23 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

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

Re: [Alpha]Tabbed Index

Post by FomenkoAndrey » Tue Feb 10, 2015 4:18 pm


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

Re: [Alpha]Tabbed Index

Post by vipaka » Tue Feb 10, 2015 4:33 pm

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.

User avatar
Jessica
Former Team Member
Posts: 4341
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [Alpha]Tabbed Index

Post by Jessica » Tue Feb 10, 2015 4:42 pm

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/
Please do not PM me for support unless it is absolutely necessary
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: 489
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Re: [Alpha]Tabbed Index

Post by vipaka » Tue Feb 10, 2015 5:20 pm

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.

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

Re: [Alpha]Tabbed Index

Post by vipaka » Fri Feb 13, 2015 12:53 pm

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.

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [Alpha]Tabbed Index

Post by Niknovel » Fri Feb 13, 2015 1:29 pm

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: 489
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Re: [Alpha]Tabbed Index

Post by vipaka » Fri Feb 13, 2015 1:39 pm

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.

User avatar
david63
Registered User
Posts: 16173
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [Alpha]Tabbed Index

Post by david63 » Fri Feb 13, 2015 1:42 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

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

Re: [Alpha]Tabbed Index

Post by vipaka » Fri Feb 13, 2015 1:50 pm

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.

User avatar
david63
Registered User
Posts: 16173
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: [Alpha]Tabbed Index

Post by david63 » Fri Feb 13, 2015 2:06 pm

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!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Niknovel
Registered User
Posts: 23
Joined: Mon Dec 08, 2014 8:16 am
Location: Moscow
Name: Николай
Contact:

Re: [Alpha]Tabbed Index

Post by Niknovel » Fri Feb 13, 2015 2:38 pm

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: 489
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Re: [Alpha]Tabbed Index

Post by vipaka » Fri Feb 13, 2015 2:45 pm

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?

User avatar
tamarin
Registered User
Posts: 117
Joined: Tue Feb 03, 2015 9:02 pm
Location: Germany
Name: Ed

Re: [Alpha]Tabbed Index

Post by tamarin » Wed Feb 25, 2015 5:40 am

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.

Post Reply

Return to “Extensions in Development”