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
  #1012  
Old 03-24-2020, 05:33 PM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try replacing "mysql_escape_string" on lines 51,58,64 of includes/class_eg_tfh_yui.php with "$db->escape_string" or "$db->real_escape_string" and add line 43

Code:
	function javascript_code($container, $verify_usergroup = true)
	{
		global $db;
                $this->code .= "var " . $this->name . " = new YAHOO.widget.TabView();";
But remember the code and the linked yui library are from 2008-2011.
Reply With Quote
  #1013  
Old 03-24-2020, 07:17 PM
PPhysX PPhysX is offline
 
Join Date: Nov 2011
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shka View Post
Try replacing "mysql_escape_string" on lines 51,58,64 of includes/class_eg_tfh_yui.php with "$db->escape_string" or "$db->real_escape_string" and add line 43

Code:
	function javascript_code($container, $verify_usergroup = true)
	{
		global $db;
                $this->code .= "var " . $this->name . " = new YAHOO.widget.TabView();";
But remember the code and the linked yui library are from 2008-2011.


replacing "mysql_escape_string" on lines 51,58,64 of includes/class_eg_tfh_yui.php with "$db->escape_string"

This in combination with adding "global $db;" on line 43 as you suggested fully fixed the problem. You sir, are a god.
Reply With Quote
  #1014  
Old 03-24-2020, 08:48 PM
PPhysX PPhysX is offline
 
Join Date: Nov 2011
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Last question, is there any way I can make a few forums always visible on the forumhome, and have these tabbed forums below them?

I have attached an image and edited in photoshop what I actually want the result to be like.

https://i.imgur.com/vrlhs0X.jpg


Using {vb:raw forumbits} puts all the forums visible, so I don't think that works
Attached Images
File Type: jpg goal.jpg (58.9 KB, 0 views)
Reply With Quote
  #1015  
Old 10-08-2021, 07:46 PM
Ricsca's Avatar
Ricsca Ricsca is offline
 
Join Date: Apr 2006
Posts: 236
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the same problem as shka now that i have changed hosting.
how can i deactivate this plugin?
in settings> options nothing is found.
Reply With Quote
  #1016  
Old 10-13-2021, 04:57 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try reinstalling...
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 02:41 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.05203 seconds
  • Memory Usage 2,313KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (6)post_thanks_box
  • (13)post_thanks_box_bit
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (8)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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