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 |
#62
|
||||
|
||||
Quote:
|
#63
|
||||
|
||||
This is a great mod but i cant get it working.
I have got it so the tabs are showing but i cant figure out at all how to add content to any of the tabs. After adding the example 2nd tab content nothing shows up in that tab except an empty forum and i cant figure out how to configure it. Sorry for being thick but have been messing around for hours trying to get this working. My forum is getting big and messy now and this would really neaten it up so i really want to get it working. If anybody can help me get it working it will be very much appreciated and if somebody wants to install it for me and get it how i want it i will be happy to pay them. Thanks in advance Ben |
#64
|
|||
|
|||
friend
i need seven tabs the forum category are Tab . 1 . home, tab 2 : cat 25, tab3 : cat 30 , tab4 : 28 , tab 5 : 27, tab 6 : 29 , tab7 :26 , i need the tabs to look like as the first one in your demo forums , i'm placing the index php code : PHP Code:
and this is the Forum Main code : PHP Code:
Please correct it accordingly as it would be of great help since i'm too bad in coding these ..... |
#65
|
||||
|
||||
Quote:
Code:
// Construct Tabbed Forum Home forumbits (pulls forum and sub form data from Category)
$forumbits2 = construct_forum_bit(25,1,0); // Category 25 for Tab 2
$forumbits3 = construct_forum_bit(30,1,0); // Category 30 for Tab 3
$forumbits4 = construct_forum_bit(28,1,0); // Category 28 for Tab 4
$forumbits5 = construct_forum_bit(27,1,0); // Category 27 for Tab 5
$forumbits6 = construct_forum_bit(29,1,0); // Category 29 for Tab 6
$forumbits7 = construct_forum_bit(26,1,0); // Category 26 for Tab 7
eval('$forumhome_markread_script = "' . fetch_template('forumhome_markread_script')
Code:
<!-- main --> <!-- Tabbed Forum Home Tabs Layout --> <ul id="forumtabs" class="shadetabs"> <li><a href="#" rel="tcontent1" class="selected">Home</a></li> <li><a href="#" rel="tcontent2">Free Calls</a></li> <li><a href="#" rel="tcontent3">Premium Section</a></li> <li><a href="#" rel="tcontent4">IPO</a></li> <li><a href="#" rel="tcontent5">General</a></li> <li><a href="#" rel="tcontent6">Markets</a></li> <li><a href="#" rel="tcontent7">Ask Us</a></li> </ul> <!-- /Tabbed Forum Home Tabs Layout --> <!-- Tabbed Forum Home ? START Tab 1 Content Layout --> <div id="tcontent1" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> $forumbits <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 1 Content Layout --> <!-- Tabbed Forum Home ? START Tab 2 Content Layout --> <div id="tcontent2" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_2525')"><img id="collapseimg_forumbit_2525" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=25">Free Calls</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_2525" style=""> $forumbits2 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 2 Content Layout --> <!-- Tabbed Forum Home ? START Tab 3 Content Layout --> <div id="tcontent3" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_3030')"><img id="collapseimg_forumbit_3030" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=30">Premium Section</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_3030" style=""> $forumbits3 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 3 Content Layout --> <!-- Tabbed Forum Home ? START Tab 4 Content Layout --> <div id="tcontent4" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_2828')"><img id="collapseimg_forumbit_2828" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=28">IPO</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_2828" style=""> $forumbits4 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 4 Content Layout --> <!-- Tabbed Forum Home ? START Tab 5 Content Layout --> <div id="tcontent5" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_2727')"><img id="collapseimg_forumbit_2727" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=25">General</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_2727" style=""> $forumbits5 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 5 Content Layout --> <!-- Tabbed Forum Home ? START Tab 6 Content Layout --> <div id="tcontent6" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_2929')"><img id="collapseimg_forumbit_2929" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=25">Markets</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_2929" style=""> $forumbits6 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 6 Content Layout --> <!-- Tabbed Forum Home ? START Tab 7 Content Layout --> <div id="tcontent7" class="tabcontent"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <thead> <tr align="center"> <td class="thead"> </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> <tbody> <tr> <td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_2626')"><img id="collapseimg_forumbit_2626" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=25">Ask Us</a></td> </tr> </tbody> <tbody id="collapseobj_forumbit_2626" style=""> $forumbits7 </tbody> <tbody> <tr> <td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a><if condition="$vboptions['forumleaders']"> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if></strong></div></td> </tr> </tbody> </table> $forumhome_markread_script </div> <!-- /Tabbed Forum Home ? END Tab 7 Content Layout --> <!-- /main --> <!-- Tabbed Forums switch tab script --> <script type="text/javascript"> var myforumtabs=new ddtabcontent("forumtabs") myforumtabs.setpersist(true) myforumtabs.setselectedClassTarget("link") myforumtabs.init() </script> <!-- /end Tabbed Forums switch tab script --> |
#66
|
|||
|
|||
I thank you very much for this help i nominate this Mod as the Mod of the month ,
one more small request its showing as lines only instead of tabs how can i correct that ? i thank you once again |
#67
|
||||
|
||||
make sure the paths to the .js and .css files are correct. If you want, send me a link to your site and I can check it out (PM me). I'll be on and off all day long, so it might take me a bit to respond
|
#68
|
|||
|
|||
i have send u a PM when u have the time take a look
|
#69
|
|||
|
|||
Quote:
Looks like my members use it very much, just complaining it doesnt work :erm: Awaiting fix |
#70
|
||||
|
||||
Quote:
Like il say il quite happily pay someone. Its mostly set up just needs configuring. |
#71
|
|||
|
|||
Sounds like a simple problem with the $forumbits variables either:
a) named incorrectly in your FORUMHOME template or b) missing definitions in your index.php file PM me if that doesn't solve it. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|