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
  #512  
Old 02-20-2011, 12:01 AM
blustry blustry is offline
 
Join Date: Feb 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Going off someone else's post much earlier on in the thread about making the thread show for guests (so google would see it) I came up with the below for the second template edit.

If they're a guest (usergroup id 1) they'll see the full listing with the forums from all tabs else it'll show the tabbed forums.

I also added a second condition which checks whether the product is active or not. Might have been a less hacky way of doing it but I didn't like that if I disabled the product the forums would disappear until the template was re-edited.
PHP Code:
    <!-- main -->
    {
vb:raw template_hook.forumhome_above_forums}
    <
vb:if condition="empty($GLOBALS['vbulletin']->products['bobster_tfh']) OR is_member_of($bbuserinfo, 1)">
    <
ol id="forums" class="floatcontainer">
        {
vb:raw forumbits}
    </
ol>
    <
vb:else />
    <!-- 
Tabbed Forum Home -->
    <
div id="forumhome_container" style="margin-top:5px"> </div>
    <
script type="text/javascript"> {vb:raw tfh} </script>
    <!-- /
Tabbed Forum Home  -->
    </
vb:if>
    {
vb:raw template_hook.forumhome_below_forums}
    <!-- /
main --> 
EDIT:

Concerning the collapse issue I did some digging round for it but couldn't find a decent solution so ended up removing the buttons myself. I managed to fix the linking issue but it seems there was actually two issues involved.

I fixed the linkage issue by removing the {vb:raw relpath} from the href in the forumhome_forumbit_level1_post template. The value of that is being changed because of the yui call to that tab script. So removing the relpath variable fixed that part of the problem. However in Firefox the javascript still wasn't working (i.e. doing nothing). In IE it was actually working perfectly lol.

I don't have an experience with YUI but I suspect this is similar to an issue I've had with JQuery where the event listener (for the collapse button) needs to be re-binded for the dynamically generated content. That's more of a job for someone who has knowledge of YUI and javascipt though.
Reply With Quote
  #513  
Old 02-20-2011, 09:32 PM
Trystan^ Trystan^ is offline
 
Join Date: Jan 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey

I have a small problem, Ive gotten the mod to work out of the box with the default style, doing the same changes in my custom style and it hasn't taken affect,

any ideas as to what could be the cause? its probably something very simple and its to late at night for me to think clearly so i hope when i wake up someone can tell me what im doing wrong

Cheers.
Reply With Quote
  #514  
Old 02-20-2011, 09:49 PM
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged, seems very useful.
Reply With Quote
  #515  
Old 02-21-2011, 06:37 AM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello !

its a great great hack thank you 10000 times !
i want just to make BOLD the title of the tabs and change their color, its possible please ?
Reply With Quote
  #516  
Old 02-22-2011, 03:48 PM
MrsTryst MrsTryst is offline
 
Join Date: Jan 2009
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Great add-on! Very useful.

But why does the background of the tabs doesn't change to the forum theme background?

Thank you for this very useful add-on!
Reply With Quote
  #517  
Old 02-23-2011, 06:15 AM
mohammad6006's Avatar
mohammad6006 mohammad6006 is offline
 
Join Date: May 2008
Location: IRAN (Tabriz)
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please update for 4.1.x version

thanx
Reply With Quote
  #518  
Old 02-23-2011, 07:02 AM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello !!

i finded the solution, you can change alll colors off text and background in the file skin-tfh.css in the tfh folder.

i hope that help Mrs Tryst
Reply With Quote
  #519  
Old 02-23-2011, 11:28 AM
MrsTryst MrsTryst is offline
 
Join Date: Jan 2009
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lmgc View Post
hello !!

i finded the solution, you can change alll colors off text and background in the file skin-tfh.css in the tfh folder.

i hope that help Mrs Tryst
Thank you so much! Helped me big time :up:
Reply With Quote
  #520  
Old 02-23-2011, 03:01 PM
lmgc lmgc is offline
 
Join Date: Apr 2010
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you welcome mrs,
i hope we will have an update for this great hack soon
Reply With Quote
  #521  
Old 02-28-2011, 02:35 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RK KINGKONG View Post
heres a bug I found on 4.1.1 while youre in the forum home main page if you hit the collapse button on the the right side my forums gets scrambled and turns it into a big white screen there are 2 attached files to describe the issue . though not many ppl use the collapse button its still a bug right ? but yes other than that it does work on 4.1.1
I am also having this problem.
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 08:11 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.05686 seconds
  • Memory Usage 2,365KB
  • 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
  • (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