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
  #762  
Old 09-08-2008, 09:37 PM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the reply bobster65... now i have another problems.. and i'm sure it's an easy fix... the left side where you have the new or old icons.... now that is missing the gif pic.. and has words in it...

thanks for the help
Reply With Quote
  #763  
Old 09-08-2008, 09:48 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 megabyte366 View Post
thanks for the reply bobster65... now i have another problems.. and i'm sure it's an easy fix... the left side where you have the new or old icons.... now that is missing the gif pic.. and has words in it...

thanks for the help
Path issue to the image.. yer the first to have that one (that has been reported).. would you mind PMing me the link to your site so I can check out the front end really quick?
Reply With Quote
  #764  
Old 09-08-2008, 11:09 PM
Digital Jedi's Avatar
Digital Jedi Digital Jedi is offline
 
Join Date: Oct 2006
Location: PopCulturalReferenceLand
Posts: 5,171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
You can wrap the specific <li> tag with a template conditional where the numbers after userinfo are the User Group IDs that you want to display the Tab too.

Code:
<if condition="is_member_of($vbulletin->userinfo, 5,6)"> 
 CODE HERE
</if>

So for example if you had 3 Tabs and wanted to hide one for Staff Only it would look like this..

Code:
<div id="ajaxTFH" class="TFHmenu2">
    <ul>
        <li class="selected"><a href="tabforumhome.php?tabcat[]=1" rel="ajaxTFHcontentarea">TAB 1 NAME</a></li>
        <li><a href="tabforumhome.php?tabcat[]=1&tabcat[]=2" rel="ajaxTFHcontentarea">TAB 2 NAME</a></li>
 
                <if condition="is_member_of($vbulletin->userinfo, 5,6)">
                    <li><a href="tabforumhome.php?tabcat[]=100" rel="ajaxTFHcontentarea">STAFF</a></li>
               </if>
 
    </ul>
</div>
Wouldn't that be:

Code:
 
<if condition="is_member_of($bbuserinfo, 5, 6)">
I thought $vbulletin-> only worked in files.
Reply With Quote
  #765  
Old 09-09-2008, 06:40 AM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Digital Jedi View Post
Wouldn't that be:

Code:
 
<if condition="is_member_of($bbuserinfo, 5, 6)">
I thought $vbulletin-> only worked in files.
You can do it both ways, I prefer to use $vbulletin->userinfo however.
Reply With Quote
  #766  
Old 09-09-2008, 09:13 AM
megabyte366 megabyte366 is offline
 
Join Date: Oct 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bobster65, Got everything working now... went back and redid it.... and pics are showing up... maybe did something wrong the 1st time the pic's are showing up... however; tried the hide the staff with your code and it still shows up.... correction: it worked...placed it at the bottom and it worked for me.. thanks

also have another one..... i have two skins... if i made a new dir under the 2 skin and copy all the files to it and direct/change the file path to the sn2d skin this should also work... or do i just need to make a dir for the tabs/

Thanks.
Reply With Quote
  #767  
Old 09-09-2008, 10:59 AM
JVCode's Avatar
JVCode JVCode is offline
 
Join Date: Oct 2006
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod! works a treat... Just a feature request, Would there be a way to have Sub-Tabs? Same as Sub-forums really, but as tabs. Would be excellent for my games forums.
Reply With Quote
  #768  
Old 09-09-2008, 03:11 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 megabyte366 View Post
bobster65, Got everything working now... went back and redid it.... and pics are showing up... maybe did something wrong the 1st time the pic's are showing up... however; tried the hide the staff with your code and it still shows up.... correction: it worked...placed it at the bottom and it worked for me.. thanks

also have another one..... i have two skins... if i made a new dir under the 2 skin and copy all the files to it and direct/change the file path to the sn2d skin this should also work... or do i just need to make a dir for the tabs/

Thanks.
you can use the same .js file for multiple styles, but you will want to create a new .css file for the 2nd style.. it can be in the same directory, just a different name..

Quote:
Originally Posted by JVCode View Post
Thanks for the mod! works a treat... Just a feature request, Would there be a way to have Sub-Tabs? Same as Sub-forums really, but as tabs. Would be excellent for my games forums.
I've played around a little bit with this concept, but right now our main focus is to get v2 out the door.. will certainly add this to the white board tho...
Reply With Quote
  #769  
Old 09-09-2008, 08:25 PM
JVCode's Avatar
JVCode JVCode is offline
 
Join Date: Oct 2006
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the prompt reply.

One other question; The current system 'Acquires Content' each time when visiting the forum homepage, regardless of whether you've visited another tab or not, which in turn takes some time to load. Is there a way to make it so the Home Page loads as it normally would, (when the hack isn't installed) and just acquire the content on the categories which aren't on the home page?

That's the best way I could word my problem. Anyone make heads or tales of it? Help appreciated
Reply With Quote
  #770  
Old 09-10-2008, 03:31 PM
illithid illithid is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I searched this entire thread for any issues with javascript being used inside of the ajax tab view. Couldn't find what I was looking for.

First, let me give props to the author of this mod, it is wonderful! Secondly, I have it installed on my forum and decided that I could use it on my home page as well. It works. My problem though, is that if the tab makes a call to a page that has data generated from javascript, the data won't display(while in the tab view). However, if you go directly to the page, outside of the ajax tab, then the data will display.

Obviously, the problem is javascript is being suppressed by the ajax tab view. Is there a way to work around this?

I have added two images, 1 shows the contents of the ajax tab view for my test file, the second image is the actual display when going directly to the test page.
Attached Images
File Type: jpg tab_view.jpg (8.6 KB, 0 views)
File Type: jpg actual_view.jpg (23.4 KB, 0 views)
Reply With Quote
  #771  
Old 09-10-2008, 04:41 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great feature, however I am having one slight problem.

I have the tabs up for the forums & what not. But there is one that doesn't show up. I have the proper ID for it, but still no luck. Out of 6 different tabs, this is the only one that's not working.

Thank you for your help.
Attached Images
File Type: jpg untitled.JPG (12.6 KB, 0 views)
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 05:59 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.10700 seconds
  • Memory Usage 2,359KB
  • 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
  • (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
  • (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
  • (6)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