I believe that you found a way to do these modifications already, its been a long time since you asked for that.
With the new WWf version things changed a little and we have to use a different solution to hide subforuns.
Here is my workaround and someone has a simpler way to do it, please post here.
First include these lines here at default.asp:
'Else there the are categories so write the HTML to display categories and the forum names and a discriptionElse
'## Start Mod to hide sub foruns on first page ## %><table cellspacing="1" cellpadding="3" class="tableBorder" align="center"> <tr class="tableLedger"> <td width="5%"> </td> <td width="50%"><% = strTxtForum %></td> <td width="10%" align="center"><% = strTxtTopics %></td> <td width="10%" align="center"><% = strTxtPosts %></td> <td width="30%"><% = strTxtLastPost %></td> </tr><% '## End Mod to hide sub foruns on first page ##
'Loop round to show all the categories and forums Do While intCurrentRecord <= Ubound(sarryForums,2) |
Then comment these lines here:
'Read in the details from the array of this category intCatID = CInt(sarryForums(0,intCurrentRecord)) strCategory = sarryForums(1,intCurrentRecord) '## Start Mod to hide sub foruns on first page ## %> <!--<table cellspacing="1" cellpadding="3" class="tableBorder" align="center"> <tr class="tableLedger"> <td width="5%"> </td> <td width="50%"><% = strTxtForum %></td> <td width="10%" align="center"><% = strTxtTopics %></td> <td width="10%" align="center"><% = strTxtPosts %></td> <td width="30%"><% = strTxtLastPost %></td> </tr>--><% '## End Mod to hide sub foruns on first page ## 'Display the category name |
Then Comment and include these lines.
'If we have run out of records jump out of forums loop into the category loop If intCurrentRecord > Ubound(sarryForums,2) Then Exit Do Loop End If
'## Start Mod to hide sub foruns on first page ## %> <!--</table> <br />--><% '## End Mod to hide sub foruns on first page ### 'Loop back round for next category Loop End If
'## Start Mod to hide sub foruns on first page ## %> </table> <br /><% '## End Mod to hide sub foruns on first page ##
'Clean up Call closeDatabase() |
It worked just good for me...