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
  #202  
Old 05-11-2008, 12:31 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is just toooooooo good i'm loving it ..

there's one little problem sir that I find with the collapsible buttons.

Whenever I click on the collapse button, the row above CATEGORY NAME that displays Forum, Last Post, Threads, Post is disturbed.

Please try to notice in the attachments or you can have a look here.. try collapsing and you would notice a change in the row above CATEGORY NAME.. BUT this does not happen with default FORUMHOME template, infact the row remains intact.

I noticed the same problem in www.vbulletin-turkey.com as well as yours too !!
Attached Images
File Type: jpg not_collpased.jpg (21.3 KB, 0 views)
File Type: jpg collapsed.jpg (14.4 KB, 0 views)
Reply With Quote
  #203  
Old 05-11-2008, 01:36 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks to me like if you change that 'cell' just before the one that contains the word 'Forum' needs to be changed to the size of the icon that fills it in the forum list on the page... when you collapse you are no longer displaying the row with the cell that contains the image so the cell width is no longer filled.

find:
Code:
<td class="thead">&nbsp;</td>
      <td class="thead" width="**%" align="$stylevar[left]">$vbphrase[forum]</td>
(asterisks for percentage value)
and add a percentage value to
[code]<td class="thead">&nbsp;</td>[code]
that would be the equivalent of the 29px that the icon gif is (depending on what layout you use for your board and the percentages used for the other 'columns').
for example
Code:
<td class="thead" width="5%" align="$stylevar[center]">&nbsp;</td>
Reply With Quote
  #204  
Old 05-11-2008, 02:10 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks.. I did what you said sir..

you may look here now for Tab 1 name. Its working fine but not perfect coz there's still a slight movement in the Forum text... and do notice the Last Post. It is still moving.

Plzz compare it with the default style there, you would notice that everything seems so perfect in Default Style. And why does Threads and Posts are't moving ??
Reply With Quote
  #205  
Old 05-11-2008, 03:02 AM
WhaLberg's Avatar
WhaLberg WhaLberg is offline
 
Join Date: Nov 2006
Location: Dersaadet
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is really a great mod Bob!

Congratulations.
Reply With Quote
  #206  
Old 05-11-2008, 03:18 AM
MarsNIIT MarsNIIT is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
this is just toooooooo good i'm loving it ..

there's one little problem sir that I find with the collapsible buttons.

Whenever I click on the collapse button, the row above CATEGORY NAME that displays Forum, Last Post, Threads, Post is disturbed.

Please try to notice in the attachments or you can have a look here.. try collapsing and you would notice a change in the row above CATEGORY NAME.. BUT this does not happen with default FORUMHOME template, infact the row remains intact.

I noticed the same problem in www.vbulletin-turkey.com as well as yours too !!

Hello,

Can you tell me how to sloved this problem.

Thank you verry much.
Reply With Quote
  #207  
Old 05-11-2008, 03:56 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking at the source code on the link you gave you need to change the percentages in each case (everytime it appears in the FORUMHOME template:
Code:
<thead>              <tr align="center">
                <td class="thead">&nbsp;</td>
                <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
                <td class="thead" width="175">$vbphrase[last_post]</td>
                <td class="thead">$vbphrase[threads]</td>
                <td class="thead">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead">$vbphrase[moderator]</td>
                </if>
              </tr>
  </thead>




for example:
Code:
  <thead>
              <tr align="center">
                <td class="thead" width="5%">&nbsp;</td>
                <td class="thead" width="80%" align="$stylevar[left]">$vbphrase[forum]</td>
                <td class="thead" width="5%">$vbphrase[last_post]</td>
                <td class="thead" width="5%">$vbphrase[threads]</td>
                <td class="thead" width="5%">$vbphrase[posts]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="thead">$vbphrase[moderator]</td>
                </if>
              </tr>
  </thead>


by adjusting ALL percentages to total 100% (5%+80%+5%+5%+5%=100%) OR use px width's that total the width of your forum/table (25px+500px+175px+50px+50px=800px) instead of percentages... using the SAME percentages/px's in the section of code for ALL of the tabs (if you have 4 tabs then the code is in FORUMHOME four times. percentages and pixels used for 'example' only).
Reply With Quote
  #208  
Old 05-11-2008, 04:02 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have already solved the problem sir...thats exactly what we have to do.. I was just going to post this !! lol.. thank you
Reply With Quote
  #209  
Old 05-11-2008, 04:11 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

by the way... 5,80,5,5,5 would give us a bit wider columns width.

Have been testing this since an hour, the exact values that are giving me the perfect column width's exactly similar to default FORUMHOME are 4,87,5,4,4. They do not total 100 but working fine
Reply With Quote
  #210  
Old 05-11-2008, 04:43 AM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ohhh.... the problem remains in IE... what to do now ???

The row gets totally messed up in IE, however.. working only in Firefox !!
Reply With Quote
  #211  
Old 05-11-2008, 06:24 AM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible for:
1/ On each tab, show the number of new threads created/replied? For example: Tab 1 (2 New)
2/ A quick ajax display all the new created/replied threads when click on number of new created/replied threads?
3/ Everytime user clicks Home, is there away to bring them back to first tab, instead of staying at the current tab that they selected?
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 06:38 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.05779 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
  • (4)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
  • (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
  • (5)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