Here are my changes. I suggest you make a copy of your original code first as I am not responsible for any changes to your forums you make.
To display the sub forum icons:
Styles & Templates>Search In Templates>forumhome_subforums
Look for this line of code:
Code:
<a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>{vb:raw row.comma}
and replace it (comment it out - I don't like to hard delete) with this code:
Code:
<br>
<div style="width:65px;">
<center><a href="{vb:link forum, {vb:raw row}}"><img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw row.forumiconimg}" /><br>{vb:raw row.title}</a></center>
</div>
That's all there is to it. Note that I left off the comma between subforums. If you want that then include "{vb:raw row.comma}" after "</a>". Also I included a <div> to control the width of the icon display and a <center> to center the title below the icon.
I also added a line break at the top of forumhome_subforums to add a line between the forum and sub forums.
If you want to control how many subforums are displayed on each line (I limit it to 4) then do this:
At the top of forumhome_subforums add this:
Code:
<script type="text/javascript">
var counter = 0;
</script>
Then
after this line of code
Code:
<vb:each from="subforums" value="row">
add this:
Code:
<script type="text/javascript">
counter = counter + 1;
if(counter >4)
{
counter = 1;
document.write("<br>");
}
</script>
I also have some spacing code in the above code to move the sub forums to the right a bit but that's really up to you how you want to position the icons.
If you want to get rid of the "Sub-Forum" heading then comment out or delete this line of code at the top of forumhome_subforums:
Code:
<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
To add the forum or sub forum icon at the top of a thread do this:
Styles & Templates>Search In Templates>FORUMDISPLAY
after "{vb:raw navbar}" add this line of code:
Code:
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw foruminfo.forumiconimg}" />
And that's all there is to it.