Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
[YUI] Tabbed Forum Home Details »»
[YUI] Tabbed Forum Home
Version: 4.0.8, by ZeroHour ZeroHour is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.11 Rating:
Released: 01-13-2010 Last Update: 08-01-2012 Installs: 446
Supported DB Changes Uses Plugins Template Edits
Additional Files Translations Is in Beta Stage  

[YUI] Tabbed Forum Home (TFH) version 4.0.8
vBulletin version: 4.1.11 - 4.2.0
Older versions need original mod for now

Description:
This MOD is for creating a "Tabbed" Forum Home Page to have Categories and other Data types (via Modules) displayed within Tab containers. Please do not confuse this with the Tab Menu System here at vbulletin.org. They are totally different systems. These Tabs actually switch the content via AJAX without leaving the main forums page.

This is an entirely new version of TFH and only works with vB4. Management is all done via the Admin CP.

Installation is done in 3 simple steps. Upload files, Import product, 3 easy Template Edits.

Setup is now a breeze via the Tabs option in the Admin CP.

The attached Zip File contains the Files and Instructions necessary to install.

Incompatible mods
Two columns of categories - https://vborg.vbsupport.ru/showthread.php?t=275114

Upgrading to 4.0.7+ from previous versions
We have had to change the mod's id which means when you install this time you will have 2 mods, the new version with its new id and the old version.
Both can run side by side but shouldnt to save processing time.

To migrate:
Install the latest version and upload all the files (no conflicts to worry about)
Install the latest product xml
Follow the template changes in the upgrade txt
Create your tabs in the new admincp menu option "EG: Tabbed Forum Home" to mirror the existing "Tabbed Forum Home" menu.
Once done uninstall the product "Tabbed Forum Home" with productid bobster_tfh (old mod id)


Change Log:

VERSION 4.0.8 2nd August 2012
Changes:
> Fixed several database bugs
> Fixed several legacy redirect bugs
> Fixed static path problem for scripts (this should resolve some 4.0.7 blank forum issues)
> Thanks to Bluefin221 & LgsOfChampions

VERSION 4.0.7 1st August 2012
Changes:
> New Mod ID - YOU MUST MIGRATE SETTINGS MANUALLY
> vBulletin 4.1.11+ required
> JS loaded after drawing
> Remote YUI JS (partial) support
> Fixed instructions typo
> All previous fixes in 4.0.5 that caused no bugs

VERSION 4.0.5 27th April 2012
Changes:
> This version should be used with vbulletin 4.1.11+
> Compatibility with JS changes in vbulletin 4.1.11+
> Upgraded to run with YUI 2.9.0
> Local versions of files to minimise loading issues
> Upgraded to Dispatcher 2.2
> Reduced size of forumindextab generator and reduced size to boost performance
> Added a template cache call to reduce load
> Added loader animation and box when tab is clicked and loading.

Original Change Logs for bobster65 & King Kavor releases
VERSION Beta 2b 23 March 2010
Changes:
> CSS Conflict resolved

VERSION Beta 2 19 March 2010
> CSS Conflict resolved
> Upgrade to YUI 2.7.0 & Dispatcher 2.1
> Minor Bug fixes

Originally created by bobster65 & King Kovifor

Download Now

File Type: zip v4.0.0-beta2b.zip (29.1 KB, 3478 views)
File Type: zip tfh4.0.8.zip (57.0 KB, 1192 views)

Screenshots

File Type: gif frontend.gif (188.6 KB, 0 views)
File Type: jpg acp1.jpg (68.3 KB, 0 views)
File Type: jpg acp2.jpg (52.6 KB, 0 views)
File Type: jpg acp3.jpg (48.6 KB, 0 views)
File Type: jpg acp4.jpg (60.4 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #922  
Old 03-03-2013, 02:08 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amaury25 View Post
What controls the styling?

We want to adjust it to fit each style accordingly.
if you are talking about the tabs, then check out the class
Code:
yui-nav
or
Code:
yui-navset yui-navset-top
That what I could see from firebug. if the class is not written in additional.css file, it should be then in the css files that come with this mod.

Update:

it turns out that the style as I said located in the included css files with the mod. Check out both skin-tfh.css and tabview.css

now I'm 100% sure it is from there.

Good luck
Reply With Quote
Благодарность от:
Amaury
  #923  
Old 03-03-2013, 02:16 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

which version of vb are you running the mod on?

also, notice if your forums in your forum home view disappeared means it is working...

can you show us the code where you changed this below before modifications?

sounds like there is something incorrect...


Quote:
Originally Posted by Baghira View Post
Hi. I can?t get it to work. Maybe, it?s my Forumhometab

This is what I have:

PHP Code:
<!-- main -->

<
ol id="forums" class="floatcontainer">
  {
vb:raw forumbits}
</
ol>

{
vb:raw forumhome_markread_script}

<
script type="text/javascript">
vBCollapseFactory();
</
script>
<!-- /
main --> 
And this is what I did with it...

PHP Code:
<!-- main -->

{
vb:raw template_hook.forumhome_above_forums}
<!-- 
Tabbed Forum Home -->
<
div id="forumhome_container" style="margin-top:5px"> </div>
<
script type="text/javascript"> {vb:raw eg_tfh} </script>
<!-- /
Tabbed Forum Home  -->

{
vb:raw forumhome_markread_script}

<
script type="text/javascript">
vBCollapseFactory();
</
script>
<!-- /
main --> 
Reply With Quote
  #924  
Old 03-03-2013, 02:32 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mhgoz.com View Post
thanks for this great work ,

i need for help right now , i want to make this tabs avilable in all pages of the fourm , also , i want to make a custom code for the main [ul] element of tabs and embed it in the header template manually , like this >>

PHP Code:
<ul >
<
li><a href="#">Name Of Tabs</a></li>
</
ul
but when i open the file , i did`t see any template tags or any html code to use or to update on it ,, ! so what could i do ?
[S]
I think you mean that you want to view different tabs inside the forums not only the forum home.... I really didn't try that, but there is the code for tabs view, you can place it in the right forum page

Code:
<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<!-- Tabbed Forum Home -->
<div id="forumhome_container" style="margin-top:5px"> </div>
<script type="text/javascript"> {vb:raw eg_tfh} </script>
<!-- /Tabbed Forum Home  -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->


in the following pages:

forumhome_forumbit_level1_post, forumhome_forumbit_level2_post,

if it didn't work, then I believe there must be some tab code interruption... [/S]


I tried that all, but didn't work. there must be some sort of deep modification. sorry about that
Reply With Quote
  #925  
Old 03-03-2013, 08:56 AM
Baghira Baghira is offline
 
Join Date: Mar 2011
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi there...

I dont understand what I have to do...

maybe you can have a look at yesdukan.de

or tell me what I have to show. I changed nothing in that template manually until installing YUI Tabbed Forum Home

Oh i forgot:

Its (vBulletin 4.2.0 Patch Level 3)
Reply With Quote
  #926  
Old 03-08-2013, 01:23 PM
Xcynic's Avatar
Xcynic Xcynic is offline
 
Join Date: Jul 2007
Location: Sweden
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, however I have a question.

If you set Cache Data to YES so the tabs load quicker will this make it so if new posts etc are updated it wont refresh it or what? Like what are the pro's and cons of having it on YES/NO?
Reply With Quote
  #927  
Old 03-09-2013, 02:07 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Baghira View Post
Hi there...

I dont understand what I have to do...

maybe you can have a look at yesdukan.de

or tell me what I have to show. I changed nothing in that template manually until installing YUI Tabbed Forum Home

Oh i forgot:

Its (vBulletin 4.2.0 Patch Level 3)
how come??? it is straight forward mod...

ok, here you are again, make sure you follow the instructions step by step:


Code:
> STEP 1: Upload Files located in the UPLOAD FOLDER to your FORUM ROOT i.e. vb.
Code:
 > STEP 2: Import Product XML File (product-edugeek_tfh)
Code:
STEP 3: change the coding in your templates as the following:

find through search template in you admin cp: FORUMHOME

find the code: </head> and directly above it, insert the following code: 

<!-- Tabbed Forum Home Header Code 4.0.8 -->
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/tabview.css" /> 
<link rel="stylesheet" type="text/css" href="{vb:raw vboptions.bburl}/tfh/skin-tfh.css" /> 
<!-- TFH JS -->
<script type="text/javascript">
<!--
if (remoteyui)
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/tabview/tabview-min.js"></script>');
}
else
{
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/tfh/dispatcher-min.2.2.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/element/element-min.js"></script>');
document.write('<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/yui/tabview/tabview-min.js"></script>');
}
//-->
</script>
<!-- /Tabbed Forum Home Header Code -->
Code:
> step4: find the code <!-- main --> in template FORUMHOMETAB replace whatsoever between <!-- main --> and <!-- /main --> with the following code:

<!-- main -->
{vb:raw template_hook.forumhome_above_forums}
<!-- Tabbed Forum Home -->
<div id="forumhome_container" style="margin-top:5px"> </div>
<script type="text/javascript"> {vb:raw eg_tfh} </script>
<!-- /Tabbed Forum Home  -->
{vb:raw template_hook.forumhome_below_forums}
<!-- /main -->
Code:
> Step5: find the template forumhome_forumbit_level1_nopost and insert the following code on the top of it

######################### INSERT AT THE START >>> ---------------

<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">

######################### INSERT AT THE END >>> ------------

</vb:if>
Code:
> Step5: find the template forumhome_forumbit_level1_post and insert the following code on top of it as well:

######################### INSERT AT THE START >>> ---------------

<vb:if condition="(THIS_SCRIPT=='indexTFH' AND (in_array($forum['forumid'], $_REQUEST['tabcat']) OR in_array('all', $_REQUEST['tabcat']))) OR (THIS_SCRIPT=='forumdisplay') OR (THIS_SCRIPT=='index')">

######################### INSERT AT THE END >>> ------------

</vb:if>
now if your forums disappeared, then you did it right... and then all you have to do is to create tabs for your forums... READ the file How to Configure.txt

Cheers
Reply With Quote
  #928  
Old 03-09-2013, 02:15 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xcynic View Post
Great mod, however I have a question.

If you set Cache Data to YES so the tabs load quicker will this make it so if new posts etc are updated it wont refresh it or what? Like what are the pro's and cons of having it on YES/NO?
This is only what I understand though; I believe this feature used if you are not going to change your forums or sub forums in each tab. meaning if you won't add or delete forums or sub forums, this feature is going to be useful and speed up the page loading...

how does it work?? it catches a copy of your forums and subforums in each tab this property used and re-use it again whenever a user reload the page; it works like a snapshot of your forum look, but never change anything even if you added new forums or subforums...

so it is always preferred to deactivate this feature if you have forums or subforums changed from time to time...

I hope this helps.
Reply With Quote
  #929  
Old 03-10-2013, 10:44 AM
vimarc vimarc is offline
 
Join Date: Feb 2013
Location: SnappyFizz.com
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is possible to show only selected forum rest hide
Reply With Quote
  #930  
Old 03-15-2013, 07:09 PM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vimarc View Post
It is possible to show only selected forum rest hide
of course you. This mod if worked correctly, it will hid all forums till you create tab for each forum to show up... so you can hide all forums if you like and show only one forum...
Reply With Quote
  #931  
Old 03-16-2013, 04:22 AM
MagicPID's Avatar
MagicPID MagicPID is offline
 
Join Date: Jul 2011
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know how to make this work with social groups? I'm using this mod https://vborg.vbsupport.ru/showthread.php?t=221581
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:14 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11652 seconds
  • Memory Usage 2,390KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (3)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (14)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete