vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - [AJAX] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=175687)

tiekie 04-11-2008 05:36 PM

just what i was looking for

heXagon 04-11-2008 05:48 PM

One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!

bobster65 04-11-2008 06:00 PM

Quote:

Originally Posted by heXagon (Post 1488431)
One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!

There is a very simple work around. Use the child style created in the initial steps (1-4) so you have a Tabbed Style and a NON Tabbed Style. The edits to the index.php file won't effect the non tabbed styles on the site. This is what I do to give my members a choice. Some don't like the Tabbed Layout, others do and for those that don't have JS enabled, they also have a choice ;)

Discussions 04-11-2008 06:03 PM

Quote:

Originally Posted by heXagon (Post 1488431)
One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!


I don't know many computer users who have Java turned off, or don't have Java installed at all. It has become a small issue though after Microsoft was forced to stop distributing Java with all operating systems.

Soonerdude 04-11-2008 06:28 PM

I have a question about putting more than one category under a tab.

Code:

$forumbits2 = construct_forum_bit(13,1,0);
The instructions say the first number is the category number, what would I put if I wanted Category 13 and Category 14 to be in that same tab?

bobster65 04-11-2008 06:34 PM

Quote:

Originally Posted by Soonerdude (Post 1488476)
I have a question about putting more than one category under a tab.

Code:

$forumbits2 = construct_forum_bit(13,1,0);
The instructions say the first number is the category number, what would I put if I wanted Category 13 and Category 14 to be in that same tab?

Multiple categories can be under the same tab. You still need to construct a forum bit for each one tho.. so you would do something like

Code:

$forumbits2a = construct_forum_bit(13,1,0);
$forumbits2b = construct_forum_bit(14,1,0);

In the instructions document, Tab 3 Sample is set up to display multiple categories, so just take a look at that part of the setup :)

Our House 04-11-2008 07:53 PM

Great job Bobster! *installed and looks nice*

Is there any way to use these tabs for individual forums also (instead of just categories)?

bobster65 04-11-2008 08:07 PM

Quote:

Originally Posted by Our House (Post 1488555)
Great job Bobster! *installed and looks nice*

Is there any way to use these tabs for individual forums also (instead of just categories)?

what did you have in mind for individual forums?

Our House 04-11-2008 10:25 PM

Quote:

Originally Posted by bobster65 (Post 1488564)
what did you have in mind for individual forums?

Well...

I noticed that when I tried to add one (using the forumid of a singular forum in construct_forum_bit function call), nothing appeared in the forumbit display for that tab. I'm guessing that a threadbit needs to be built instead, right?

I tried using the variables that point to threads in a normal forumdisplay, but they probably aren't in the index.php file or plugged in to the forumhome templates.

CHIPIT 04-11-2008 10:35 PM

Quote:

Originally Posted by bobster65 (Post 1488222)
SNIP
Bobster

Thank you very much!


All times are GMT. The time now is 09:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02368 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete