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
  #792  
Old 09-12-2008, 05:16 PM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
This is simple (and is explained in post #2) You can wrap a specific TAB <li> tag with a template conditional where the numbers after userinfo are the User Group IDs that you want to display the Tab too.

So for example if you wanted to hide one for Staff Only it would look like this (See the code in RED)

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>
Thanks - I had intended to ask whether a conditional would work... but just forgot to mention.
Reply With Quote
  #793  
Old 09-12-2008, 06:21 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 bobster65 View Post
No. Getting closer to Beta Testing tho. Knocked out over 10 bugs last night alone by finding a new YUI Tab Component that works great with inline/external JS... Just hanf tight.. its a heck of a lot closer today than it was 12 hrs ago lol



Ya, I mentioned that it was not the ideal solution (rather ugly lol)..btw, not sure if the JS script that KK has on the Dev server is yours or not, but if it is, Its working fine on my own Server with version 2.0 running

And yes, thank you :up:
Yes it is, but I am seeming to have problems. But other than that all I had to say was "WOW". LOL. It is getting much closer and it looks amazing.
Reply With Quote
  #794  
Old 09-12-2008, 07:00 PM
aggiefan aggiefan is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShawnV View Post
Great news, waiting on 2.0 also, thanks for the update.

_V
i am as well.... been watching this but it seems at this point it will be easier to just wait for 2.0 vs trying to make it work in its current form. i tried for about 5 mins a few days ago to make it work but never could so i removed it for now.
Reply With Quote
  #795  
Old 09-12-2008, 07:59 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK we have one major major thing to do that will alleviate tons of work and make it more 'seamlessly' integrated into vBulletin, but it's something that I haven't seen done before through modifications. It may have but I haven't found it. So we most likely have to 'reinvent' the wheel on this one.
Reply With Quote
  #796  
Old 09-13-2008, 01:19 AM
illithid illithid is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
OK we have one major major thing to do that will alleviate tons of work and make it more 'seamlessly' integrated into vBulletin, but it's something that I haven't seen done before through modifications. It may have but I haven't found it. So we most likely have to 'reinvent' the wheel on this one.
Don't keep us in suspense as to what this "major major thing to do" is. BTW, I am willing to assist in any way possible with this mod....assuming you could use the assistance. I am not much good with javascript or ajax, however, I can code php quite well. My point is, instead of re-invent the wheel, let us know what it is that needs to be done, perhaps I, or somebody else has a solution.
Reply With Quote
  #797  
Old 09-13-2008, 02:44 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 illithid View Post
Don't keep us in suspense as to what this "major major thing to do" is. BTW, I am willing to assist in any way possible with this mod....assuming you could use the assistance. I am not much good with javascript or ajax, however, I can code php quite well. My point is, instead of re-invent the wheel, let us know what it is that needs to be done, perhaps I, or somebody else has a solution.
IT has to do with the style.
Reply With Quote
  #798  
Old 09-13-2008, 04:00 AM
aggiefan aggiefan is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just so i know but will this mod when the 2.0 version comes will it be able to mimick what vbulletin.org has with its tabs in the header next to the logo. because thats how i was planning on using it. also as i understand it currently it only will work with forum categories (is that correct)? if so will it be possible to link to other sections using this in the 2.0 version? (specifically i would like to link to some of our addons... arcade, pickem contest we coded, etc)
Reply With Quote
  #799  
Old 09-13-2008, 04:11 AM
illithid illithid is offline
 
Join Date: Sep 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aggiefan View Post
just so i know but will this mod when the 2.0 version comes will it be able to mimick what vbulletin.org has with its tabs in the header next to the logo. because thats how i was planning on using it. also as i understand it currently it only will work with forum categories (is that correct)? if so will it be possible to link to other sections using this in the 2.0 version? (specifically i would like to link to some of our addons... arcade, pickem contest we coded, etc)
I can not speak on v2 of this mod as it is not released yet, but I can tell you about the current release. I have it installed and am using it like it was intended to be used...ie on the forum to switch between forum categories. The way it works is like vBulleting.org -> each tab is linked to the categories you assign to them and only that category will be displayed on the page for the tab that is selected.

In addition to the standard use of these tabs, I have implemented them on my website (not used on the forum) to pull external content. So essentially, you could use the tabs in other places besides on your forum. I will say this though, as I have found so far, the pages you plan to include these tabs on, will have to be tied into the vBulletin forum. My website consists of custom pages that use the vBulletin API, which allow me to tie into the vBulletin forum. This is how I am able to use the tabs externally from the forum.

As for your addons, arcade, etc. as long as the tabs are tied into your forum, you will be able to link to mostly anything. The only problem so far is pulling javascript into the ajax tab view...ajax and javascript don't play well with each other....to my understanding, v2 fixes that issue.

I can tell you this, this mod is wonderful now. When v2 is released, it will be better without a doubt. Again, I have found uses for this mod external from the forum and only 1 limitation thus far.
Reply With Quote
  #800  
Old 09-13-2008, 10:54 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 illithid View Post
Don't keep us in suspense as to what this "major major thing to do" is. BTW, I am willing to assist in any way possible with this mod....assuming you could use the assistance. I am not much good with javascript or ajax, however, I can code php quite well. My point is, instead of re-invent the wheel, let us know what it is that needs to be done, perhaps I, or somebody else has a solution.
Nothing is in suspense, its an additional feature that really has nothing to do with "functionality" and will not hold up beta testing or the beta release. He gave you a hint, it has something to do with Styles. Not going to get into details, because we are not sure which way we want to approach it since it has not been done yet (that I know of).. but rest assured, its NOT going to hold up the beta testing or the beta release...
Reply With Quote
  #801  
Old 09-13-2008, 11:11 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 aggiefan View Post
just so i know but will this mod when the 2.0 version comes will it be able to mimick what vbulletin.org has with its tabs in the header next to the logo. because thats how i was planning on using it. also as i understand it currently it only will work with forum categories (is that correct)? if so will it be possible to link to other sections using this in the 2.0 version? (specifically i would like to link to some of our addons... arcade, pickem contest we coded, etc)
It "could" but it would require some major customization. This wasn't designed to mimic that. The functionality of the two are totally different. Using this to do what they did would be OVERKILL lol..

No, ver2 will work with more than just categories, there is a "modules" plug in that you enter the URI to the external file and it will be included as content for that tab.. (you can use any of the "content" files that I have released with my CMPS AJAX Tabs Mod as well .. recent threads, blogs, news, links, photos etc.. custom content will be pretty easy to add to this. Hell, you could knock out a simple static HTML file, upload it to your server and then with the Module part in the ACP, just enter the file name, give it a tab name and you have a custom tab with your content.. or you can write a complex php file and do the same thing...
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:13 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.04993 seconds
  • Memory Usage 2,363KB
  • 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
  • (8)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