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
  #692  
Old 08-25-2008, 12:19 AM
iBaker's Avatar
iBaker iBaker is offline
 
Join Date: Oct 2006
Location: Melbourne, Australia
Posts: 152
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone offer css advice?

I am trying to get the tabs to spread right across 100% of my forums with each tab being the same width.

Plus if the text in one or more of the tabs is wrapped into say 2 lines then all the tabs become the same height as well regardless if they only contain a single word.

Any help is greatly appreciated!
Reply With Quote
  #693  
Old 08-25-2008, 01:29 AM
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 vietfancy View Post
The who's online thing is not working.

I will look into it when I get a chance - but I know it is fixed for 2.0.
Reply With Quote
  #694  
Old 08-25-2008, 11:00 AM
Chris11987 Chris11987 is offline
 
Join Date: Jun 2008
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit: I tried the 1.01 version, and got it to work to an extent. Tab 1 never aligns with tabs 2 or 3. It's one pixel lower than the others because it overlaps the outer boarder of the forums display, where the others do not.

I might consider helping to rewrite the instructions. While I was able to follow them along myself, they are written extremely poorly and contain a lot of extra work that is unneeded and also don't explain many parts properly.
Reply With Quote
  #695  
Old 08-25-2008, 12:47 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 Chris11987 View Post
I might consider helping to rewrite the instructions. While I was able to follow them along myself, they are written extremely poorly and contain a lot of extra work that is unneeded and also don't explain many parts properly.
Go for it. If you feel you can improve instructions for version 1.01 (or 1.5 for that matter) be my guest. I (we) don't have time and have already said that all further development on ver 1.01 and 1.5 has stopped and that all efforts are being focused on version 2.0

NOTE TO ALL

If anyone is interested in continuing the Development of either version 1.01 or 1.5, you can contact Me via PM telling me why we should consider you. If considered, we'll add you to the Team for further development and support of either version.
Reply With Quote
  #696  
Old 08-25-2008, 01:13 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 The Cat! View Post
Is there a way to disable the collapse? When I installed this I had a few catagories collapsed and now no matter what I do I can't get them to un-collapse. I would like to just disable them. Anyone?
This only happens when you have the same forum in more than one tab (which by using the default vB functions, the collapseIDs are always assigned by using the forumID).. This is what is causing the conflict and is being re-written in version 2.0 to prevent that.

Did you try and uncollapse them from the first tab that they are displayed in? I just tried that and it worked.

If you want to strip out the Collapse Functionality, just remove the code (in RED ) in the Below Template..

Template Name: forumhome_forumbit_level1_nopost

Code:
<!-- TFH -->
<if condition="(THIS_SCRIPT == 'tabforumhome' AND in_array($forum['forumid'], $GLOBALS[tabcats])) OR THIS_SCRIPT == 'forumdisplay'">
<!-- /TFH -->


<tbody>
	<tr>
		<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
			<if condition="$childforumbits">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			</if>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
			<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
		</td>
	</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>


<!-- TFH -->
</if>
<!-- /TFH -->
Reply With Quote
  #697  
Old 08-25-2008, 01:33 PM
The Cat! The Cat! is offline
 
Join Date: Nov 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Bobster, I'll give that a try tonight.
Reply With Quote
  #698  
Old 08-25-2008, 11:10 PM
Chris11987 Chris11987 is offline
 
Join Date: Jun 2008
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must be blind, but I can't swee in the template on where to fix this: Under each tab it has the line that says "Forum, Last post, # of threads, etc" above the actual forum name. So basically the thwo are switched compared to how they normally are, but for some reason I can't spot the code to switch them. Any help here?
Reply With Quote
  #699  
Old 08-26-2008, 11:40 PM
UaECasher UaECasher is offline
 
Join Date: May 2008
Location: Dubai
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

I have installed the v 1.5 ajax every thing was working fine but the problem is only 1 tab show the content others don't

here is the code for the forumhome

HTML Code:
<li class="selected"><a href="tabforumhome.php?tabcat[]=1&tabcat[]=31&tabcat[]=52&tabcat[]=38&tabcat[]=143" rel="ajaxTFHcontentarea">Main Page</a></li>
		<li><a href="tabforumhome.php?tabcat[]=22&tabcat[]=117&tabcat[]=13&tabcat[]=17&tabcat[]=115" rel="ajaxTFHcontentarea">Rap Battles Online</a></li>
		<li><a href="tabforumhome.php?tabcat[]=4&tabcat[]=50&tabcat[]=51&tabcat[]=158&tabcat[]=163&tabcat[]=168" rel="ajaxTFHcontentarea">Game Vault</a></li>
        <li><a href="tabforumhome.php?tabcat[]=126&tabcat[]=133" rel="ajaxTFHcontentarea">Fighters Vault</a></li>
        <li><a href="tabforumhome.php?tabcat[]=57&tabcat[]=59&tabcat[]=82" rel="ajaxTFHcontentarea">Auto World</a></li>

and if's correct then why it's not working my vBulletin version is 3.7.2
Reply With Quote
  #700  
Old 08-27-2008, 01:31 AM
i156 i156 is offline
 
Join Date: Oct 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just upgraded to 3.7.3 and no forums are showing on my tabs! help! I am using 1.0.1.

http://www.usacarry.com/forums
Reply With Quote
  #701  
Old 08-27-2008, 01:35 AM
i156 i156 is offline
 
Join Date: Oct 2007
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just reverted my template since no one could get to my forums. Let me know if anyone else had this problem when upgrading and what I can do to fix it. I really liked how the tabs looked. I saved a copy of my old FORUMHOME so I can switch it back fairly quick.
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 04: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.08887 seconds
  • Memory Usage 2,356KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_html
  • (3)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