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

Reply
 
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
  #422  
Old 09-27-2010, 02:36 PM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u tell me how to make a diferent style var for a light theme?
I have a light theme and a dark one.
Reply With Quote
  #423  
Old 09-27-2010, 02:41 PM
PJSkiboy PJSkiboy is offline
 
Join Date: Nov 2002
Location: Bowling Green, KY
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormzone View Post
can u tell me how to make a diferent style var for a light theme?
I have a light theme and a dark one.
Storm,

I'm in the same boat.

Right now I've got the tab mod installed on my light theme and not on my dark theme because when you change the hex code in the css file for the mod, it changes that background color in between the categories for ALL styles you have that mod installed on.

Pretty sure we'd have to edit the mod to where it called a different .css file for each style.

If I could manage some free time in the next week, I'll tinker with it some, but no promises. I'm not much of a coder.
Reply With Quote
  #424  
Old 09-27-2010, 02:45 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormzone View Post
can u tell me how to make a diferent style var for a light theme?
I have a light theme and a dark one.
edit the tabview.css or skin-tfh.css to remove those declarations:

.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover
.yui-navset .yui-content

and then in FORUMHOME template put this in your head

Quote:
<style type="text/css">
.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover {
background:{vb:stylevar forumhead_background};
color:{vb:stylevar forumhead_color};
font-weight:bold;
}
.yui-navset .yui-content {
background:#ffffff;
border-top:5px solid #384b6b;
}
</style>
go there and switch style to see result
Reply With Quote
  #425  
Old 09-27-2010, 03:02 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Crrrazzzy View Post
what did you do to fix this as i am having hte same issue
fixing this is very simple. Edit the template Create Tabs at forumhome_complete and replace the second line with

$yui = new vB_YUI($vbulletin, $vbulletin->userinfo, 'tfh');

and in class_yui.php

replace the line below (I don't remember what the original code was)

$tab['limitTo'] = explode(",", $tab['limitTo']);

with:

if (is_member_of($this->usergroup, $tab['limitTo']))

so the block becomes

PHP Code:
              if($verify_usergroup)
            {
              if(
$tab['limitTo'] == 'all')
                {
                    
$this->code .= "YAHOO.plugin.Dispatcher.delegate(new YAHOO.widget.Tab({label: '" mysql_escape_string($tab['title']) . "', " $tab['contentT'] . ": '" $tab['content'] . "', active: " $tab['active'] .", cacheData: " $tab['cacheData'] ."}), " $this->name ");";
                }
                else
                {
                    
$tab['limitTo'] = explode(","$tab['limitTo']);
                    if (
is_member_of($this->usergroup$tab['limitTo']))
                    {
                        
$this->code .= "YAHOO.plugin.Dispatcher.delegate(new YAHOO.widget.Tab({label: '" mysql_escape_string($tab['title']) . "', " $tab['contentT'] . ": '" $tab['content'] . "', active: " $tab['active'] .", cacheData: " $tab['cacheData'] ."}), " $this->name ");";
                    }
                }
            } 
Reply With Quote
  #426  
Old 09-29-2010, 02:31 PM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lionel View Post
edit the tabview.css or skin-tfh.css to remove those declarations:

.yui-navset .yui-nav .selected a,
.yui-navset .yui-nav a:focus,
.yui-navset .yui-nav a:hover
.yui-navset .yui-content

and then in FORUMHOME template put this in your head

go there and switch style to see result
It works but can you make the same thing like in the tabs to this area to?
Attachment 122416

PS this fix should be integrated in the mod.
Reply With Quote
  #427  
Old 09-29-2010, 04:19 PM
Pvtiste Pvtiste is offline
 
Join Date: Nov 2005
Location: Toronto
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent ! Thank you for sharing
Installed and perfectly works!
Reply With Quote
  #428  
Old 09-30-2010, 01:38 AM
Santori Santori is offline
 
Join Date: Apr 2010
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but what happens with de collapse button, nobody wants to give a solution?
Reply With Quote
  #429  
Old 09-30-2010, 08:34 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if the autor of the plugin would give a little bit interest in the mod....
Reply With Quote
  #430  
Old 10-03-2010, 01:50 PM
Crrrazzzy Crrrazzzy is offline
 
Join Date: Sep 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormzone View Post
It works but can you make the same thing like in the tabs to this area to?
Attachment 122416

PS this fix should be integrated in the mod.
this should be added to the plugin
Reply With Quote
  #431  
Old 10-03-2010, 04:11 PM
masterweb's Avatar
masterweb masterweb is offline
 
Join Date: Aug 2007
Location: Italy
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on a 4.0.7 version and never worked as supposed. Unisntalled
Reply With Quote
Reply


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 04:31 PM.


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.05659 seconds
  • Memory Usage 2,384KB
  • 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
  • (1)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (13)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)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