Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
[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
  #892  
Old 08-26-2012, 01:42 PM
ArchAngelz ArchAngelz is offline
 
Join Date: May 2010
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I am trying to insert some banners between certain forum categories and am looking at this:

https://vborg.vbsupport.ru/showthread.php?t=275643

However, this doesn't seem to quite work with this mod (which I am also using). Anyone knows how to marry the two together?

Thanks!
Reply With Quote
  #893  
Old 09-02-2012, 03:33 PM
onfranco onfranco is offline
 
Join Date: Sep 2010
Location: Italy
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, i have a problem . i have done all but dont work . I installed EG: Tabbed Forum Home ver 4.0.8. i have vbulletin 4.2 version on.

i have replaced three template :

1) FORUMHOME TEMPLATE : i have add your code before head so the result :

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<!-- 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 -->
<head>

2) i have add second template

3) i have insert other two template with code at start of template and at the end of that.

4) then i have configured in admicp the plugin

but dont work

my site is www.gildaserenity.com

have you some suggest to me :up:
Reply With Quote
  #894  
Old 09-02-2012, 05:26 PM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Explain what you did on

2) I have add second template

to which template ?
Reply With Quote
  #895  
Old 09-03-2012, 09:58 AM
onfranco onfranco is offline
 
Join Date: Sep 2010
Location: Italy
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i will try to explain me better:

I modified the 3 template as :

1) FORUMHOME code (changes in red) :

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<!-- 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 -->

<head>

2) FORUMHOMETAB

<!-- 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 -->


3) forumhome_forumbit_level1_nopost

<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')">
<li class="forumbit_nopost {vb:raw forum.statusicon} L1" id="cat{vb:raw forum.forumid}">
<div class="forumhead foruminfo L1 collapse">
<h2>
<span class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></span>
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
<vb:if condition="!$show['collapsable_forums']">
<a class="collapse" id="collapse_c_cat{vb:raw forum.forumid}" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse_40b.png" alt="" /></a>
</vb:if>
</h2>

<vb:if condition="$show['forumdescription'] OR $show['subforums']">
<div class="forumrowdata">
<vb:if condition="$show['forumdescription']"><p class="subforumdescription">{vb:raw forum.description}</p></vb:if>
<vb:if condition="$show['subforums']">
{vb:raw forum.subforums}
</vb:if>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ol id="c_cat{vb:raw forum.forumid}" class="childforum">
{vb:raw childforumbits}
</ol>
</vb:if>
</li>
</vb:if>

4) forumhome_forumbit_level1_post

<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')">
<li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L1">
<vb:if condition="THIS_SCRIPT != 'forumdisplay'">
<div class="forumhead L1">
<h2>
<span class="forumtitle">&nbsp;</span>
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span>
<span class="forumlastpost">{vb:rawphrase last_post}</span>
</h2>
</div>
</vb:if>
<div class="forumbit_post L2">
<div class="forumrow">
<div class="foruminfo">
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
<div class="moderators">
<h4>{vb:rawphrase moderators}:</h4>
<ol class="commalist">
<vb:each from="forum.moderators" value="row">
<li><a class="username" href="{vb:link member, {vb:raw row}}">{vb:raw row.musername}</a>{vb:raw row.comma}</li>
</vb:each>
</ol>
</div>
</vb:if>
<vb:if condition="$show['subforums']">
{vb:raw forum.subforums}
</vb:if>
</div>
</div>
</div>
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$forum['allowposting']">
<vb:if condition="$show['externalrss']">
<li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li>
</vb:if>
<vb:if condition="$show['member']">
<vb:if condition="$show['forumsubscription']">
<li class="forumactionlink unsubslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li>
<vb:else />
<li class="forumactionlink subslink"> <a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:ra w forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li>
</vb:if>
</vb:if>
</vb:if>
</ul>
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats_2 td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ol id="childforum_for_{vb:raw forum.forumid}" class="childsubforum">
{vb:raw childforumbits}
</ol>
</vb:if>
</div>
</li>
</vb:if>

-) Upload Files located in the UPLOAD FOLDER to your FORUM ROOT : done

- ) Then i imported file product-edugeek_tfh done

-) then i managed Admin CP EG: Tabbed Forum Home

Reply With Quote
  #896  
Old 09-03-2012, 10:57 AM
LouiseWilson LouiseWilson is offline
 
Join Date: Oct 2007
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This part

Quote:
2) FORUMHOMETAB

<!-- 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 -->
Edit your FORUMHOME template

Find
PHP Code:
<!-- main -->
        {
vb:raw template_hook.forumhome_above_forums}
    <
ol id="forums" class="floatcontainer">
        {
vb:raw forumbits}
    </
ol>
        {
vb:raw template_hook.forumhome_below_forums}
    <!-- /
main --> 
and replace with

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 -->
the above sorted the issue out for me, the how to install is not obviously written very well, nor by the looks is this mod supported.
or simply wait for DragonByte Tech to release there mod that will be coming.
Reply With Quote
  #897  
Old 09-22-2012, 09:25 PM
segamarius segamarius is offline
 
Join Date: Jun 2010
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How make the browser's back button bring you back to your last active tab?
Reply With Quote
  #898  
Old 10-04-2012, 02:17 AM
garyopa's Avatar
garyopa garyopa is offline
 
Join Date: Dec 2009
Location: The World Wide Web
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can you uninstalled this plugin.

I have stopped using it.

I removed all changes to the templates.

And deleted the plugin.

But I can't remove the PHP files from the server, if I do I get tons of database errors that it is looking for the plugin tables.
Reply With Quote
  #899  
Old 11-07-2012, 12:19 AM
lurch_cr lurch_cr is offline
 
Join Date: May 2010
Location: Canberra
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ZeroHour,

First up - sensational Mod. WHen you have lots of forums, you end up with a really long front page, and this is a great way around it.

Several pages back, a question was asked regarding VaultWiki. I too use this and wanted to dedicate a tab to it; however the only thing that appears in the tab is the "normal" discussion forum. None of the 'Wiki' forums appear.

Happy to give you access yadda yadda to help.

Regards,
Lurch
Reply With Quote
  #900  
Old 11-07-2012, 01:57 AM
killerford's Avatar
killerford killerford is offline
 
Join Date: Jan 2012
Location: United Kingdom
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work for 4.2?
Reply With Quote
  #901  
Old 11-07-2012, 04:12 AM
lurch_cr lurch_cr is offline
 
Join Date: May 2010
Location: Canberra
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by killerford View Post
Does this work for 4.2?
Yes
Reply With Quote
Reply

Thread Tools

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 07:26 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.07443 seconds
  • Memory Usage 2,386KB
  • 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_code
  • (1)bbcode_php
  • (2)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