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
  #272  
Old 05-20-2008, 03:19 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
which file, and where in it, would one make persistance be shut off?
You can shut it off in the template itself.. Just change true to false in the red line below.

Code:
	<!-- Tabbed Forums switch tab script -->
	<script type="text/javascript">
	var myforumtabs=new ddtabcontent("forumtabs") 
	myforumtabs.setpersist(true) 
	myforumtabs.setselectedClassTarget("link") 
	myforumtabs.init()
	</script>
	<!-- /end Tabbed Forums switch tab script -->
Reply With Quote
  #273  
Old 05-20-2008, 03:47 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #274  
Old 05-20-2008, 03:55 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, looking at my boards... is it possible to have these tabs show at the top of FORUMDISPLAY and SHOWTHREAD? Would make navigation super easy ....
Reply With Quote
  #275  
Old 05-20-2008, 04:07 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
Hmmm, looking at my boards... is it possible to have these tabs show at the top of FORUMDISPLAY and SHOWTHREAD? Would make navigation super easy ....
The way I do it on my site is to use remote links. This is explained in post 2 of this thread. You can set up the look and feel on those templates and just use the remote link to take you back to the selected tab. You can even make it look exactly like the tabs on the forum home page if you want to ..

Dynamically selecting a tab using a remote link (tabcontent.js v2.2 or above)
https://vborg.vbsupport.ru/showpost....35&postcount=2
Reply With Quote
  #276  
Old 05-20-2008, 04:39 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you! will try that. must have missed it when i was *first* reading thread before installing (eyes probably glazed over.... 18 pages......)
Reply With Quote
  #277  
Old 05-20-2008, 05:27 PM
OsideRida06 OsideRida06 is offline
 
Join Date: Apr 2008
Posts: 168
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just wanted to show everyone my tabbed forum. It works like a charm. I have also marked it as installed. So let me know what you guys think. ok?

http://calistyle101.com/
http://calistyle101.com/forums/index.php
Reply With Quote
  #278  
Old 05-20-2008, 06:12 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course *now* a question/problem:
In FORUMDISPLAY above [code]</head>I inserted
Code:
<!-- Tabbed Forum Home Header Code -->    
<link rel="stylesheet" type="text/css" href="http://www.********.***/forums/tabs/tabcontent.css" /> 
<script type="text/javascript" src="http://www.********.***/forums/tabs/tabcontent.js"> </script>
<!-- /Tabbed Forum Home Header Code -->
then right below
Code:
<!-- / controls above thread list -->
I inserted
Code:
<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="index.php?forumtabs=1"><b>Forums</b></a></li>
<li><a href="index.php?forumtabs=2"><b>Out Of Character</b></a></li>
<li><a href="index.php?forumtabs=3"><b>Role Play</b></a></li>
<li><a href="index.php?forumtabs=4"><b>The Vault</b></a></li>
<li><a href="index.php?forumtabs=5"><b>Board Of Directors</b></a></li>
</ul>
<!-- /Tabbed Forum Home Tabs Layout -->
The tabs show up perfectly but when in a subforum and I click one of the tabs it doesn't 'take me to' what I clicked (did that make sense?) it just moves me up one forum level instead of to the correct category.

Do I need to also edit forumdisplay.php the same as I did for index.php?
Reply With Quote
  #279  
Old 05-20-2008, 06:20 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eq4bits View Post
Of course *now* a question/problem:
In FORUMDISPLAY above [code]</head>I inserted
Code:
<!-- Tabbed Forum Home Header Code -->    
<link rel="stylesheet" type="text/css" href="http://www.********.***/forums/tabs/tabcontent.css" /> 
<script type="text/javascript" src="http://www.********.***/forums/tabs/tabcontent.js"> </script>
<!-- /Tabbed Forum Home Header Code -->
then right below
Code:
<!-- / controls above thread list -->
I inserted
Code:
<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="index.php?forumtabs=1"><b>Forums</b></a></li>
<li><a href="index.php?forumtabs=2"><b>Out Of Character</b></a></li>
<li><a href="index.php?forumtabs=3"><b>Role Play</b></a></li>
<li><a href="index.php?forumtabs=4"><b>The Vault</b></a></li>
<li><a href="index.php?forumtabs=5"><b>Board Of Directors</b></a></li>
</ul>
<!-- /Tabbed Forum Home Tabs Layout -->
The tabs show up perfectly but when in a subforum and I click one of the tabs it doesn't 'take me to' what I clicked (did that make sense?) it just moves me up one forum level instead of to the correct category.

Do I need to also edit forumdisplay.php the same as I did for index.php?
you MIGHT have to use the full URL.... can you PM me a link so I can take a look at the pages?
Reply With Quote
  #280  
Old 05-22-2008, 06:35 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I have my first tab working which displays all the forums.

My second tab shows up fine but I don't really understand the concept of categories. I have forums that are subforums of a VB "category". I used this category number in the URL as per your documentation, however on the second tab I only see a link to the category itself and not a list of the subforums. If I click that link (of the category), I go to the default VB forumhome display for the subforums.

Am I missing something here?

Thanks.
Reply With Quote
  #281  
Old 05-22-2008, 09:52 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
OK, I have my first tab working which displays all the forums.

My second tab shows up fine but I don't really understand the concept of categories. I have forums that are subforums of a VB "category". I used this category number in the URL as per your documentation, however on the second tab I only see a link to the category itself and not a list of the subforums. If I click that link (of the category), I go to the default VB forumhome display for the subforums.

Am I missing something here?

Thanks.
Hey Trana Sounds to me like you are using the wrong Cat ID to create the Forumbits themselves (just need to use the next higher parent IDs). I PMd you my Chat ID and can try and help you that way..

Bob
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 12:31 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.07223 seconds
  • Memory Usage 2,354KB
  • 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
  • (7)bbcode_code
  • (4)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
  • (4)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