The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Tabbed Forum Home Details »» | |||||||||||||||||||||||||||||||
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
Supporters / CoAuthors Show Your Support
|
Comments |
#1582
|
|||
|
|||
<li class="selected"><a href="tabforumhome.php?tabcat[]=42" rel="ajaxTFHcontentarea">Competitions</a></li>
<li><a href="tabforumhome.php?tabcat[]=42&tabcat[]=25" rel="ajaxTFHcontentarea">Games Discussion</a></li> <li><a href="tabforumhome.php?tabcat[]=42&tabcat[]=25&tabcat[]=29" rel="ajaxTFHcontentarea">Gameplay</a></li> Really dont know where i've gone wrong, followed your instructions completely, yet it doesnt work.. If you could help me out, that would be great. <code>$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> $headinclude <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title> <!-- Tabbed Forum Home Header Code --> <link rel="stylesheet" type="text/css" href="/clientscript/tabs/ajaxtabs.css" /> <script type="text/javascript" src="/clientscript/tabs/ajaxtabs.js"> </script> <!-- /Tabbed Forum Home Header Code --> </head> <body> $header $navbar <if condition="$show['guest']"> <!-- guest welcome message --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td> </tr> <tr> <td class="alt1"> <phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase> </td> </tr> </table> <!-- / guest welcome message --> <br /> </if> <!-- main --> <!-- Tabbed Forum Home --> <div id="ajaxTFH" class="TFHmenu2"> <ul> <li class="selected"><a href="www.gearspro.com/public_html/forums/tabforumhome.php?tabcat[]=42" rel="ajaxTFHcontentarea">Competitions</a></li> <li><a href="www.gearspro.com/public_html/forums/tabforumhome.php?tabcat[]=42&tabcat[]=25" rel="ajaxTFHcontentarea">Games Discussion</a></li> <li><a href="www.gearspro.com/public_html/forums/tabforumhome.php?tabcat[]=42&tabcat[]=25&tabcat[]=29" rel="ajaxTFHcontentarea">Gameplay</a></li> </div> <br style="clear: left" /> <div class="TFHmenu2line"></div> <div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div> <script type="text/javascript"> var mytabs=new ddajaxtabs("ajaxTFH", "ajaxTFHcontentarea") mytabs.setpersist(true) mytabs.setselectedClassTarget("link") mytabs.init() </script> <!-- /Tabbed Forum Home --> <!-- /main --> <br /> $ad_location[ad_forumhome_afterforums] <br /> <!-- what's going on box --> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td> </tr> </thead> $template_hook[forumhome_wgo_pos1] <if condition="$show['loggedinusers']"> <!-- logged-in users --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a> <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>) </td> </tr> </tbody> <tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]"> <tr> <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td> <td class="alt1" width="100%"> <div class="smallfont"> <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div> <div>$activeusers</div> </div> </td> </tr> </tbody> <!-- end logged-in users --> </if> $template_hook[forumhome_wgo_pos2] <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]"> <tr> <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td> <td class="alt1" width="100%"> <div class="smallfont"> <div> $vbphrase[threads]: $totalthreads, $vbphrase[posts]: $totalposts, $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">, <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span> </if> </div> <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div> $template_hook[forumhome_wgo_stats] </div> </td> </tr> </tbody> $template_hook[forumhome_wgo_pos3] <if condition="$show['birthdays']"> <!-- today's birthdays --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a> $vbphrase[todays_birthdays] </td> </tr> </tbody> <tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]"> <tr> <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today&sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td> </tr> </tbody> <!-- end today's birthdays --> </if> $template_hook[forumhome_wgo_pos4] <if condition="$show['upcomingevents']"> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a> <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]"> <tr> <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td> <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td> </tr> </tbody> </if> $template_hook[forumhome_wgo_pos5] </table> <br /> <!-- end what's going on box --> <!-- icons and login code --> <table cellpadding="0" cellspacing="2" border="0" width="100%"> <tr valign="bottom"> <td> <table cellpadding="2" cellspacing="0" border="0"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_contains_new_posts]</td> </tr> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_contains_no_new_posts]</td> </tr> <if condition="$vboptions['showlocks']"> <tr> <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td> <td class="smallfont"> $vbphrase[forum_is_closed_for_posting]</td> </tr> </if> </table> </td> <if condition="!$show['guest']"> <!-- member logout --> <td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td> <!-- end member logout --> </if> </tr> </table> <!-- / icons and login code --> $footer </body> </html> </code> Thats the full code i have. Regards, sam. |
#1583
|
||||
|
||||
Quote:
Code:
<!-- Tabbed Forum Home Header Code --> <link rel="stylesheet" type="text/css" href="/clientscript/tabs/ajaxtabs.css" /> <script type="text/javascript" src="/clientscript/tabs/ajaxtabs.js"> </script> <!-- /Tabbed Forum Home Header Code --> |
#1584
|
|||
|
|||
Quote:
Thanks for the advice, i got the tabs to show now. I was wondering where do i find the categories of for each tab? I thought you were referring to the forum ID, but obviously not, thanks alot. Sam |
#1585
|
|||
|
|||
Quote:
But i have what i think to be a minor problem. As you can see from the screen shot, it give me two forum bars which i dont think are supposed to be present and also there is a random white bar below. If you could help me out i'd be very greatfull, Already clicked installed Thanks sam. |
#1586
|
||||
|
||||
Quote:
Solutions: Go > ACP > Plugins & Products > Plugin Manager > Product : Cyb - Sub-Forum Manager > Cyb - Sub-Forum Manager - CT Cyb - Sub-Forum Manager 1 Find: if ($vbulletin->options['cybsfa_enable'] AND (THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay')) Change To: if ($vbulletin->options['cybsfa_enable'] AND (THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay' OR THIS_SCRIPT=='tabforumhome')) Save: Great & Enjoy Both Wonderful Mod :up: |
#1587
|
||||
|
||||
Quote:
Code:
<div id="ajaxTFHcontentarea" style="border:0px solid gray; width:100%; height: 100%; background-color: white; padding: 0px"></div> |
#1588
|
|||
|
|||
Bob, did you get my PM?
|
#1589
|
|||
|
|||
Quote:
|
#1590
|
|||
|
|||
Could you tell me the name of the file that you must edit to change the color of the tabs please?
|
#1591
|
||||
|
||||
Quote:
either edit first the original and upload it again to your host server or edit direct to your host panel the one you already uploaded....just look around and change or play around to those... HTML Color Codes in there... eg: #2E9AFE; you can find nice and easy color here...http://html-color-codes.info/ hope i help you here...goodluck and best regards... :up: |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|