Post by My Display Name on Nov 10, 2012 19:11:56 GMT -8
Known Issues:
-New boards do not display description
Updates:
v1.0.1 - Fixed issue where thread list would be messed up in a certain board
----------------------------------------------------
v1.0.3 - Fixed issue where new boards would not display descriptions and renamed "led by" to "Moderator"
A simple board list mod I created that changes the way boards are displayed.
How to install: Navigate to Admin - Structure - Layout templates - Board - Board list
Once you have navigated to the board list template area replace the existing code with the following:
Add the following CSS to your Global Headers which can be found at Structure - Headers and Footers.
Preview:
Updates:
v1.0.1 - Fixed issue where thread list would be messed up in a certain board
----------------------------------------------------
v1.0.3 - Fixed issue where new boards would not display descriptions and renamed "led by" to "Moderator"
A simple board list mod I created that changes the way boards are displayed.
How to install: Navigate to Admin - Structure - Layout templates - Board - Board list
Once you have navigated to the board list template area replace the existing code with the following:
{foreach $[board]}
<br/>
<div class="board_name">$[board] <div id="boardinfo"><i>Topics:</i> $[board.threads]- <i>Posts:</i> $[board.posts]- Moderator{if $[board.num_mods] != 1}s{/if}:
{foreach $[board.moderator_group]}$[board.moderator_group]$[board.moderator_group.comma]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if}
{foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach}
</div></div>
<div class="folders">$[board.icon]</div>
<div id="description">$[board.description]</div>
<div class="last_post">{if $[board.posts] > 0}
{if $[board.last_thread]} last post was <i>$[board.last_thread.last_post.date]</i> by <span id="postinfo">$[board.last_thread.last_post.created_by_user]</span> in <span id="postinfo">$[board.last_thread.recent_link]</span> {/if}
{else}
No posts have been made on this board.
{/if} </div>
<div class="subs"><div id="postinfo">{if $[board.sub_board]} <strong>Sub-Boards:</strong>{foreach $[board.sub_board]}$[board.sub_board]$[board.sub_board.comma] {/foreach}{/if}</div></div>
<br>
<hr>
{/foreach}
Add the following CSS to your Global Headers which can be found at Structure - Headers and Footers.
<style type="text/css">
#description {
font-family: tahoma;
font-size: 10px;
}
.folders {
float: left;
padding: 7px;
}
#boardinfo {
font-family: tahoma;
font-size: 10px;
text-align: right;
margin-right: 5px;
}
.board_name {
font-family: tahoma;
font-size: 11px;
margin-left: 5px;
}
.board_name a:link {
font-family: tahoma;
font-size: 11px;
padding: 5px;
}
.board_name a:hover {
border-bottom: none;
opacity: 50;
}
#postinfo {
font-family: tahoma;
font-size: 10px;
}
.subs {
font-family: tahoma;
font-size: 9px;
margin-left: 30px;
}
.last_post {
font-family: arial;
font-size: 11px;
}
</style>
Preview: