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

Reply
 
Thread Tools
[AJAX] Tabbed Forum Home Details »»
[AJAX] Tabbed Forum Home
Version: 1.5.0, by bobster65 bobster65 is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 04-09-2008 Last Update: 09-02-2008 Installs: 592
Template Edits
Code Changes Additional Files Translations  
No support by the author.

Tabbed Forum Home version 1.01

[AJAX] Tabbed Forum Home version 1.5.0 (BETA)

NOTE: Works with both 3.7x and 3.6x

Description: This MOD is for creating a "Tabbed" Forum Home Page to have Categories displayed within Tab containers (similar to what the new Profile System looks like on vb3.7). 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 without leaving the main forums page.

I wrote the initial Non AJAX version based on reading many requests from members asking about how namepros created their custom tabbed forum home page. The first implementation I did was a request by bbwforums.net (which you can visit to see a working example). I have shared this version with many members already and decided to release it since it seems to be something that a lot of members are interested in.

UPDATE: I have released a BETA [AJAX] version for those that what something a little more robust and easier to install/configure. This Beta version will never go into production tho as version 2.0 will utilize the YUI AJAX Tabview Toolset. It IS stable tho and is currently running on a few live sites.

NOTE: Keep in mind, I wrote this with the assumption that you are fairly well versed and comfortable with editing files/templates and following the flow of things. If there is something you don't understand, PLEASE let me know so that I can help you understand it. This IS NOT a product that a novice can just plug and play and it takes a little bit of time to setup, but its well worth it in the end (if you want a custom unique look to your forum home page)... the next version (Don't ask when, cause its just on the drawing board) will be a product with ACP controls for easy setup

The attached Zip File(s) contain the Files and Instructions necessary to install each version.

DEMO: www.bbwforums.net or www.namepros.com
[Moderator Edit: The first URL has been un-linked as there has been reported malware on that domain. The mod author may edit this notice once the situation has been cleaned.]

Screen Shots: None, visit one or both of the above links as seeing them in action is better than some static image(s)..

Bobster

Change Log

version 1.01 -
tabcontent.js ver 2.2 to support remote links
updated install instructions (both in txt and rtf format)

version 1.5.0 -
BETA [AJAX] version

July 8, 2008 - Added xml file for WOL
Sep 2, 2008 - Updated xml file for WOL

Download Now

File Type: zip Tab Forum Home 1.01.zip (22.7 KB, 3409 views)
File Type: zip AJAX Tab Forum Home 1.5.zip (13.8 KB, 4632 views)
File Type: xml tfh-wol-plugins.xml (855 Bytes, 1845 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #1122  
Old 11-29-2008, 03:59 PM
Cobra-J82's Avatar
Cobra-J82 Cobra-J82 is offline
 
Join Date: Apr 2008
Location: Montreal
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No I dont, I was commenting on the posted pics by the mod.
Reply With Quote
  #1123  
Old 11-30-2008, 09:26 PM
heXagon heXagon is offline
 
Join Date: May 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wonder how I can fix the issue, that if there is no Javascript enabled (e.g. NoScript in use), how there can the forums be shown, without the actual tabbing. Any ideas? Or is it solved already? Using 1.5 AJAX'ed version.
Reply With Quote
  #1124  
Old 12-01-2008, 01:05 AM
CHIPIT CHIPIT is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by heXagon View Post
I wonder how I can fix the issue, that if there is no Javascript enabled (e.g. NoScript in use), how there can the forums be shown, without the actual tabbing. Any ideas? Or is it solved already? Using 1.5 AJAX'ed version.
I've done this by loading the forums the regular way, along with the ajax tabbed version, wrapping each in a separate div with the ajax by default being set to hidden, and then using javascript to change the ajax's div to visible and the regular version to be hidden. If this isn't fixed in v2.0 then I could see about posting instructions...
Reply With Quote
  #1125  
Old 12-01-2008, 09:26 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could do it now... 2.0 might take a while longer...
Reply With Quote
  #1126  
Old 12-01-2008, 11:58 AM
SteamyLightning SteamyLightning is offline
 
Join Date: Oct 2008
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CHIPIT View Post
I've done this by loading the forums the regular way, along with the ajax tabbed version, wrapping each in a separate div with the ajax by default being set to hidden, and then using javascript to change the ajax's div to visible and the regular version to be hidden. If this isn't fixed in v2.0 then I could see about posting instructions...
Yes, please do post instructions.
Reply With Quote
  #1127  
Old 12-01-2008, 12:37 PM
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
Only 3 people have v2.0: Me, Bree, and Bob. And once directions are written, it will be rereleased into the wild.
King,

I have tried to contact you via PM for service for editing my ajax tabs content and also help with customizing the new ajax forumns for my site! Could you please PM me when you get a chance? Thanks
Reply With Quote
  #1128  
Old 12-01-2008, 05:37 PM
CHIPIT CHIPIT is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, to get the forums to display without javascript...

1) Open your modified FORUMHOME template

2) Find
Code:
<!-- Tabbed Forum Home -->
and below it put
Code:
<div id="show" style="display:none">
3) Find
Code:
<!-- /Tabbed Forum Home  -->
and above it put
Code:
</div>
4) Find
Code:
<!-- /main -->
and above it put
Code:
<div id="hide">
$forumbits
$forumhome_markread_script
</div>
5) Below
Code:
<!-- /main -->
put
Code:
<script type="text/javascript">
                   function showelement(element) {
            if (document.getElementById) {
                document.getElementById(element).style.display = 'block';
            }
            else {
                if (document.layers) {
                    document.element.display = 'block';
                }
                else {
                    document.all.element.style.display = 'block';
                }
            }
        }
        function hideelement(element) {
            if (document.getElementById) {
                document.getElementById(element).style.display = 'none';
            }
            else {
                if (document.layers) {
                    document.element.display = 'none';
                }
                else {
                    document.all.element.style.display = 'none';
                }
            }
        }

showelement('show');
hideelement('hide');
</script>
6) Go to ACP > Styles and Templates > Template Manager > Edit Templates > forumhome > forumhome_level1_nopost and change the conditional to:
Code:
<if condition="(THIS_SCRIPT == 'tabforumhome' AND in_array($forum['forumid'], $GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'index'">
This is for the AJAX 1.5 version, though it can be changed to work with v1.0.1. If it doesn't work then double check you did everything right. This is unsupported. Please note doing this will load your forums the regular way along side the ajax version, even if you have javascript enabled, but the regular display will be hidden with javascript.
Reply With Quote
  #1129  
Old 12-01-2008, 08:02 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wmlvb View Post
King,

I have tried to contact you via PM for service for editing my ajax tabs content and also help with customizing the new ajax forumns for my site! Could you please PM me when you get a chance? Thanks
I have not received a PM, but I don't do custom work. Bob does though, you might want to try him.
Reply With Quote
  #1130  
Old 12-01-2008, 08:07 PM
heXagon heXagon is offline
 
Join Date: May 2005
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There need to be changes done to forumhome_forumbit_level1_post / forumhome_forumbit_level1_nopost too, for this to work. Any ideas on that?
Reply With Quote
  #1131  
Old 12-01-2008, 08:55 PM
CHIPIT CHIPIT is offline
 
Join Date: Apr 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by heXagon View Post
There need to be changes done to forumhome_forumbit_level1_post / forumhome_forumbit_level1_nopost too, for this to work. Any ideas on that?
Fixed, sorry. Seems to work with editing forumhome_level1_nopost only, however if you still encounter any trouble apply step 6 to forumhome_level1_post too.
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 03:02 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.05879 seconds
  • Memory Usage 2,355KB
  • 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
  • (5)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
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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