vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Forum Home Enhancements - [AJAX] Tabbed Forum Home (https://vborg.vbsupport.ru/showthread.php?t=175687)

vietfancy 04-11-2008 07:49 AM

Thanksssss!

exactly what i needed.

I have a little problem here. It seems doesn't work for me.

I edited the index_tab.php

PHP Code:

// define max depth for forums display based on $vbulletin->options[forumhomedepth]
define('MAXFORUMDEPTH'$vbulletin->options['forumhomedepth']);

$forumbits construct_forum_bit($forumid);
    
// Construct Tabbed Forum Home forumbits 
    // Category for Tab 2, pulls forum and sub form data from Category (Forum ID 1)
    // Category 1 for Tab 1
    
$forumbits1a construct_forum_bit(1,1,0); 
    
// Category 2 for Tab 1
    
$forumbits1b construct_forum_bit(42,1,0); 
    
// Category 1 for Tab 2
    
$forumbits2a construct_forum_bit(66,1,0); 
    
// Category 2 for Tab 2
    
$forumbits2b construct_forum_bit(61,1,0); 
    
// Category 3 for Tab 2
    
$forumbits2c construct_forum_bit(26,1,0); 
    
// Category 4 for Tab 2
    
$forumbits2d construct_forum_bit(5,1,0);
    
// Category 1 for Tab 3
    
$forumbits3a construct_forum_bit(9,1,0); 
    
// Category 1 for Tab 4
    
$forumbits4a construct_forum_bit(36,1,0); 
    
// Category 2 for Tab 4
    
$forumbits4b construct_forum_bit(40,1,0); 
eval(
'$forumhome_markread_script = "' fetch_template('forumhome_markread_script') . '";');

// ### BOARD STATISTICS ################################################# 

and here is my <!-- main --> <!-- /main-->

HTML Code:


<!-- main -->


<!-- Tabbed Forum Home Tabs Layout -->
<ul id="forumtabs" class="shadetabs">
<li><a href="#" rel="tcontent1" class="selected">Tab 1 Name</a></li>
<li><a href="#" rel="tcontent2">Tab 2 Name</a></li>
<li><a href="#" rel="tcontent3">Tab 3 Name</a></li>
<li><a href="#" rel="tcontent4">Tab 4 Name</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>

</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_1111')"><img id="collapseimg_forumbit_1111" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=1">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_1111" style="">
$forumbits1a
</tbody>

<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_4242')"><img id="collapseimg_forumbit_4242" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=42">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_4242" style="">
$forumbits1b
</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']">&nbsp; &nbsp;
            <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>

</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_6666')"><img id="collapseimg_forumbit_6666" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=66">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_6666" style="">
$forumbits2a
</tbody>

<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_6161')"><img id="collapseimg_forumbit_6161" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=61">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_6161" style="">
$forumbits2b
</tbody>
<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=26">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_2626" style="">
$forumbits2c
</tbody>

<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_555')"><img id="collapseimg_forumbit_555" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=5">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_555" style="">
$forumbits2d
</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']">&nbsp; &nbsp;
            <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 3 Content Layout -->
<div id="tcontent3" class="tabcontent">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>

</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_99')"><img id="collapseimg_forumbit_99" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=6">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_99" style="">
$forumbits3a
</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']">&nbsp; &nbsp;
            <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>

</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_3636')"><img id="collapseimg_forumbit_3636" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=36">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_3636" style="">
$forumbits4a
</tbody>

<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_4040')"><img id="collapseimg_forumbit_4040" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=40">CATEGORY NAME</a></td>
    </tr>
</tbody>

<tbody id="collapseobj_forumbit_4040" style="">
$forumbits4b
</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']">&nbsp; &nbsp;
            <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 -->

<!-- /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 -->

What did i do wrong?

Edited: I fixed it. Thanks for a cool hack.

Hornstar 04-11-2008 11:46 AM

My tab 1 is working, but tab 2 and tab 3 just display white under neath the tabs, no forums show up at all.

I used your code first, then modified it to my categories and names, but still just white.

Any idea what I may be missing?

bobster65 04-11-2008 11:59 AM

Quote:

Originally Posted by hornstar1337 (Post 1488183)
My tab 1 is working, but tab 2 and tab 3 just display white under neath the tabs, no forums show up at all.

I used your code first, then modified it to my categories and names, but still just white.

Any idea what I may be missing?

Hey Matt, can you post your Code so I can take a look at it (You can PM me if you wish)..

bobster65 04-11-2008 12:38 PM

Quote:

Originally Posted by CHIPIT (Post 1487972)
Thanks! Great mod, installed and nominated.
One thing though...

For dynamically selecting a tab we're supposed to use
<a href="javascript:instance.expandit(1)">Select 2nd Tab</a>

What is exactly is the instance? How is it defined? and when you say tab# starting with 0, would the first one (0) be the one with the first tabbed link, the first one in the code itself, or tcontent1??

Thank you :cool:

To answer your first question, the instance is the var name in this chunk of script that you added in Step 16: (Bold Red)

Code:

<!-- 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 -->


So to further expand on this function: instance.expandit(tabid_or_position)

This method lets you dynamically select any tab based on either its ID attribute (you need to first assign one to that tab), or position relative to its peer tab links. The method can be called anywhere on the page, such as inside a link on the page.

Parameter:

tabid or position: Either a string representing the tab link's ID, or an integer corresponding to that tab's position relative to its peers, to select. For the later, the counting starts at 0 (ie: 0=Tab 1, 1=Tab 2, 2=Tab 3 and so on).

So to answer your question, 0=the first tab. tcontent1=the content of the tab itself, not the ID of the tab.

Example:

Based on the following sample tabs layout, I added a tab ID to Tab 2. You don't need to do this as you can also just call the position as well.

Code:

<ul id="forumtabs" class="shadetabs">
<li><a href="#" rel="tcontent1" class="selected">Tab 1</a></li>
<li><a href="#" rel="tcontent2" id="roses">Tab 2</a></li>
<li><a href="#" rel="tcontent3">Tab 3</a></li>
<li><a href="#" rel="tcontent4">Tab 4</a></li>
</ul>


Here are some examples of how the links can be used:

This one uses the position parameter:
Code:

<!--Selects 4TH tab within instance "myforumtabs" -->
<a href="javascript:myforumtabs.expandit(3)">Tab 4</a>


this one uses the tabid parameter
:
Code:

<!--Selects tab with ID="roses" within instance "myforumtabs" -->
<a href="javascript:myforumtabs.expandit('roses')">Select "Roses" tab</a>


Hope that helped out and answered your questions..

Bobster

Big Boss 04-11-2008 02:09 PM

Oh my God! I was looking for this mod as I've seen it on vBSEO and it's finally here. Thanks a lot for the release! :D

Any plans on porting this over to 3.7.x as well?

bobster65 04-11-2008 02:10 PM

Quote:

Originally Posted by Big Boss (Post 1488289)
Oh my God! I was looking for this mod as I've seen it on vBSEO and it's finally here. Thanks a lot for the release! :D

Any plans on porting this over to 3.7.x as well?

Works fine with 3.7.x just not going to create a thread in the 3.7 forum until it goes gold :)

kollam003 04-11-2008 04:44 PM

i'm fixed i'm not much into editing could you have a look and help me : www.indianprofits.com

tmiland 04-11-2008 04:45 PM

Yo! :)
Is there any way to make the forum remember the collapse position?
Doesnt work now...

bobster65 04-11-2008 04:57 PM

Quote:

Originally Posted by tmiland (Post 1488385)
Yo! :)
Is there any way to make the forum remember the collapse position?
Doesnt work now...

you are correct.. I didn't even notice that (don't use the collapse feature much).. I'll have to look into it when I get time. Should be an easy fix tho. Thank you for pointing it out and its added to the list of "needs"

bobster65 04-11-2008 04:58 PM

Quote:

Originally Posted by kollam003 (Post 1488384)
i'm fixed i'm not much into editing could you have a look and help me : www.indianprofits.com

What do you need help with?

tiekie 04-11-2008 05:36 PM

just what i was looking for

heXagon 04-11-2008 05:48 PM

One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!

bobster65 04-11-2008 06:00 PM

Quote:

Originally Posted by heXagon (Post 1488431)
One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!

There is a very simple work around. Use the child style created in the initial steps (1-4) so you have a Tabbed Style and a NON Tabbed Style. The edits to the index.php file won't effect the non tabbed styles on the site. This is what I do to give my members a choice. Some don't like the Tabbed Layout, others do and for those that don't have JS enabled, they also have a choice ;)

Discussions 04-11-2008 06:03 PM

Quote:

Originally Posted by heXagon (Post 1488431)
One should keep in mind, that when javascript is turned off there won't be displayed any forums at all. Should have a workaround for that handy!


I don't know many computer users who have Java turned off, or don't have Java installed at all. It has become a small issue though after Microsoft was forced to stop distributing Java with all operating systems.

Soonerdude 04-11-2008 06:28 PM

I have a question about putting more than one category under a tab.

Code:

$forumbits2 = construct_forum_bit(13,1,0);
The instructions say the first number is the category number, what would I put if I wanted Category 13 and Category 14 to be in that same tab?

bobster65 04-11-2008 06:34 PM

Quote:

Originally Posted by Soonerdude (Post 1488476)
I have a question about putting more than one category under a tab.

Code:

$forumbits2 = construct_forum_bit(13,1,0);
The instructions say the first number is the category number, what would I put if I wanted Category 13 and Category 14 to be in that same tab?

Multiple categories can be under the same tab. You still need to construct a forum bit for each one tho.. so you would do something like

Code:

$forumbits2a = construct_forum_bit(13,1,0);
$forumbits2b = construct_forum_bit(14,1,0);

In the instructions document, Tab 3 Sample is set up to display multiple categories, so just take a look at that part of the setup :)

Our House 04-11-2008 07:53 PM

Great job Bobster! *installed and looks nice*

Is there any way to use these tabs for individual forums also (instead of just categories)?

bobster65 04-11-2008 08:07 PM

Quote:

Originally Posted by Our House (Post 1488555)
Great job Bobster! *installed and looks nice*

Is there any way to use these tabs for individual forums also (instead of just categories)?

what did you have in mind for individual forums?

Our House 04-11-2008 10:25 PM

Quote:

Originally Posted by bobster65 (Post 1488564)
what did you have in mind for individual forums?

Well...

I noticed that when I tried to add one (using the forumid of a singular forum in construct_forum_bit function call), nothing appeared in the forumbit display for that tab. I'm guessing that a threadbit needs to be built instead, right?

I tried using the variables that point to threads in a normal forumdisplay, but they probably aren't in the index.php file or plugged in to the forumhome templates.

CHIPIT 04-11-2008 10:35 PM

Quote:

Originally Posted by bobster65 (Post 1488222)
SNIP
Bobster

Thank you very much!

bobster65 04-11-2008 10:37 PM

Quote:

Originally Posted by Our House (Post 1488666)
Well...

I noticed that when I tried to add one (using the forumid of a singular forum in construct_forum_bit function call), nothing appeared in the forumbit display for that tab. I'm guessing that a threadbit needs to be built instead, right?

I tried using the variables that point to threads in a normal forumdisplay, but they probably aren't in the index.php file or plugged in to the forumhome templates.

Ya, I see what you are saying. That is something I have not tried yet. Maybe if I get some time next week I'll play around with it and see what I can come up with..

gwerzal 04-11-2008 11:50 PM

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

kollam003 04-12-2008 09:39 AM

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:

// Construct Tabbed Forum Home forumbits 
    // Category for Tab 2, pulls forum and sub form data from Category (Forum ID 1)
    
$forumbits2 construct_forum_bit(25,1,0); 
    
// Category 1 for Tab 3
    
$forumbits3a construct_forum_bit(30,1,0); 
    
// Category 2 for Tab 4
    
$forumbits3b construct_forum_bit(28,1,0); 
    
// Category 3 for Tab 5
    
$forumbits3c construct_forum_bit(27,1,0); 

eval(
'$forumhome_markread_script = "' fetch_template('forumhome_markread_script') . '";'); 




and this is the Forum Main code :

PHP 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">&nbsp;</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']">&nbsp; &nbsp;
            <
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">&nbsp;</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="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_66')"><img id="collapseimg_forumbit_66" 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_66" 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']">&nbsp; &nbsp;<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">&nbsp;</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="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_808')"><img id="collapseimg_forumbit_808" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=30">Premium</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_808" style="">
$forumbits3
</tbody>

<
tbody>
    <
tr>
        <
td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_55')"><img id="collapseimg_forumbit_55" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=5">CATEGORY NAME</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_55" style="">
$forumbits4
</tbody>

<
tbody>
    <
tr>
        <
td class="tcat" colspan="5"><a style="float:right" href="#top" onclick="return toggle_collapse('forumbit_33')"><img id="collapseimg_forumbit_33" src="images/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=3">CATEGORY NAME</a></td>
    </
tr>
</
tbody>

<
tbody id="collapseobj_forumbit_33" 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']">&nbsp; &nbsp;
            <
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 -->

<!-- /
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 --> 


Please correct it accordingly as it would be of great help since i'm too bad in coding these .....

bobster65 04-12-2008 12:24 PM

Quote:

Originally Posted by kollam003 (Post 1488914)
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 ,

Please correct it accordingly as it would be of great help since i'm too bad in coding these .....

I had a few minutes this am to help you out... Here ya go.

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">&nbsp;</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']">&nbsp; &nbsp;
            <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">&nbsp;</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']">&nbsp; &nbsp;<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">&nbsp;</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']">&nbsp; &nbsp;<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">&nbsp;</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']">&nbsp; &nbsp;<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">&nbsp;</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']">&nbsp; &nbsp;<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">&nbsp;</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']">&nbsp; &nbsp;<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">&nbsp;</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']">&nbsp; &nbsp;<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 -->


kollam003 04-12-2008 04:12 PM

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

bobster65 04-12-2008 04:16 PM

Quote:

Originally Posted by kollam003 (Post 1489142)
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

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 :)

kollam003 04-12-2008 04:34 PM

i have send u a PM when u have the time take a look

tmiland 04-12-2008 10:37 PM

Quote:

Originally Posted by bobster65 (Post 1488396)
you are correct.. I didn't even notice that (don't use the collapse feature much).. I'll have to look into it when I get time. Should be an easy fix tho. Thank you for pointing it out and its added to the list of "needs"

No problem :)
Looks like my members use it very much, just complaining it doesnt work :erm:

Awaiting fix :D

gwerzal 04-13-2008 02:06 PM

Quote:

Originally Posted by gwerzal (Post 1488709)
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

Could anyone please help me get this working

Like il say il quite happily pay someone. Its mostly set up just needs configuring.

Our House 04-13-2008 04:12 PM

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.

bobster65 04-13-2008 06:26 PM

Quote:

Originally Posted by kollam003 (Post 1489155)
i have send u a PM when u have the time take a look

Problem solved :up: .css URL didn't have the correct path to the file

noj75 04-14-2008 01:33 AM

Absolutely fantastic mod. Great work!

installed and worked like a charm. Thanks for your time and effort with this.

A happy customer!

ams3521 04-14-2008 04:45 AM

Heh heh heh this looks great. Nice work bobster thanks. Glad to see folks sorting out their problems for themselves but it would be even better if they told us how they did it as i just know i'm gonna have the same probs when i install this bad boy.

1 question before install if i may. Can i still have my normal forum home as it is and when someone clicks A TAB it shows the forums in A TAB of my forum along with loads of new forums that are just on the click of A TAB?

sorry i tried to make that sound sense. Basically i want to add load more forums to a section of my forum but i also need to leave some forums in that section showing as normal on my Forum Home as the users of these forums will not like to have their forum 'demoted' to being off the forum home and on some new flashy tab button.

thanks

indie2industry 04-14-2008 08:39 AM

How do you stop the board from jumping to the top every time you click a tab???

*edit* Nevermind, I'm an idiot. lol

indie2industry 04-14-2008 10:28 AM

1 Attachment(s)
Ok, installed..... Loving the sh*t out of this, But I have an error I can't seem to fix. It seems like my moderator,thread, view, & post got shifted somehow...

How do I re-align these columns???

bobster65 04-14-2008 12:21 PM

Quote:

Originally Posted by indie2industry (Post 1490303)
Ok, installed..... Loving the sh*t out of this, But I have an error I can't seem to fix. It seems like my moderator,thread, view, & post got shifted somehow...

How do I re-align these columns???

Can you post your FORUMHOME Template and I'll take a look it. Looks like a simple fix.

bobster65 04-14-2008 12:25 PM

Quote:

Originally Posted by ams3521 (Post 1490172)
Heh heh heh this looks great. Nice work bobster thanks. Glad to see folks sorting out their problems for themselves but it would be even better if they told us how they did it as i just know i'm gonna have the same probs when i install this bad boy.

1 question before install if i may. Can i still have my normal forum home as it is and when someone clicks A TAB it shows the forums in A TAB of my forum along with loads of new forums that are just on the click of A TAB?

sorry i tried to make that sound sense. Basically i want to add load more forums to a section of my forum but i also need to leave some forums in that section showing as normal on my Forum Home as the users of these forums will not like to have their forum 'demoted' to being off the forum home and on some new flashy tab button.

thanks

You can have the same category on different tabs if thats what you are asking..

ie..
tab 1 could be category 1, 2, 3, 4, 5, 6
tab 2 could be category 1,2, 9, 15
tab 3 could be category 1,2, 10, 16
tab 4 could be category 1,2, 11, 17, 20
tab 5 could be category 1,2, 21

Hope that is what you were asking...

indie2industry 04-14-2008 12:47 PM

1 Attachment(s)
Quote:

Originally Posted by bobster65 (Post 1490352)
Can you post your FORUMHOME Template and I'll take a look it. Looks like a simple fix.

I guess it's too long to post in a thread. I put it in a text file.

bobster65 04-14-2008 01:57 PM

Quote:

Originally Posted by indie2industry (Post 1490364)
I guess it's too long to post in a thread. I put it in a text file.

ah, I should have saw it right off the image you posted... custom style that is different colspan than default vb and most custom styles..

Default vB is a colspan of 5 (or 6 with moderator column) ... your style takes the column that normally is "Last Post" and puts it in a DIV within the "forum" column, so your custom style is a colspan of 4 ( or 5 with moderator column) ..

so what you need to do is take out the "last Post" column in this chunk of code (BOLD RED).. This chunk is the first bit of code for each tab, so you will have to find it for all 6 of your tabs..

Code:

<thead>
        <tr align="center">
          <td class="thead">&nbsp;</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>

THEN in all your tbody chunks (all of them)... you are going to have to change the colspan numbers.. Change all the 6's to 5's and all the 5's to 4's (The numbers are in RED

Code:

<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_11')"><img id="collapseimg_forumbit_11" src="images/solido/buttons/collapse_tcat.gif" alt="" border="0" /></a><a href="forumdisplay.php?f=1">Indie 2 Industry General Forum</a></td>
        </tr>
</tbody>


indie2industry 04-14-2008 03:03 PM

You sir, are a genius...

I have some $$$ coming in soon. I'll be donating to EVERYONE who I've installed a mod from. YOU are DEFINITELY on the list.

Thank you so much


All times are GMT. The time now is 12:59 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02356 seconds
  • Memory Usage 2,166KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (11)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete