inherit
255682
0
Feb 10, 2019 0:52:24 GMT -8
orespory
66
July 2018
orespory
|
Post by orespory on Aug 17, 2018 21:09:41 GMT -8
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Aug 17, 2018 22:07:05 GMT -8
orespory, Go to Admin > Themes > Layout Templates > Board > Board (tab) and check around line 63 (vanilla theme) for this: {if $[board.id]}{if $[show_stats]} <div class="container stats"> <div class="title-bar"><h2>Board Information & Statistics</h2></div> <div class="content"> <table> <tbody> {if $[board.description]} <tr> <td colspan="2"> <table> <tr> <td class="icon">$[image.description]</td> <td class="info last"> <div class="board-name">$[board.name]</div> <div class="board-description">$[board.description]</div> </td> </tr> </table> </td> </tr> {/if} <tr{if !$[show_users_viewing]} class="last"{/if}> <td> <table> <tr> <td class="icon">$[image.stats]</td> <td class="info"> <table> <tbody> <tr><th colspan="2">Threads and Posts</th></tr> <tr><td>Total Threads:</td><td>{if $[total_threads] == -1}N/A{else}$[total_threads]{/if}</td></tr> <tr><td>Total Posts:</td><td>{if $[total_posts] == -1}N/A{else}$[total_posts]{/if}</td></tr> {if $[board.moderators_link]}<tr><td colspan="2">This board has $[board.moderators_link]</td></tr>{/if} </tbody> </table> </td> </tr> </table> </td> <td> <table> <tr> <td class="icon">$[image.members]</td> <td class="info last"> <table> <tbody> <tr><th colspan="1">On This Board</th></tr> <tr><td>You <strong>can{if !$[can.create_threads]}not{/if}</strong> create threads.</td></tr> <tr><td>You <strong>can{if !$[can.reply_to_threads]}not{/if}</strong> reply to threads.</td></tr> <tr><td>You <strong>can{if !$[can.create_polls]}not{/if}</strong> create polls.</td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> {if $[show_users_viewing]} <tr class="last"> <td colspan="2"> <table> <tr> <td class="icon">$[image.online]</td> <td class="info last"> <table> <tbody> <tr><th>Users Viewing</th></tr> <tr><td>$[total_board_staff] Staff, $[total_board_members] Member{if $[total_board_members] != 1}s{/if}, {if $[view_guests_online_link]}<a href="#" class="$[view_guests_online_link.class]">{/if}$[total_board_guests] Guest{if $[total_board_guests] != 1}s{/if}{if $[view_guests_online_link]}</a>{/if}.</td></tr> <tr><td><tr><td> {foreach $[board_user]} $[board_user]{if $[board_user.invisible]} <span class="small">(invisible)</span>{/if}$[board_user.comma] {/foreach} {if $[total_online_not_shown] > 0} , and <a href="$[view_active_members_link.href]" class="$[view_active_members_link.class]">$[total_online_not_shown] more...</a> {/if} </td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> {/if} </tbody> </table> </div> </div> {/if}{/if}
Just add a <!-- in front of the first line in that snippet, so it looks like this: <!-- {if $[board.id]}{if $[show_stats]}Then, place a --> after the last line in that snippet, so it looks like this: {/if}{/if} -->If done correctly, that whole snippet would have changed to another color. What that did is mark that whole snippet as a comment, so it doesn't get parsed and output to the screen, while keeping the code itself available should you ever wish to bring it back.
|
|
inherit
255682
0
Feb 10, 2019 0:52:24 GMT -8
orespory
66
July 2018
orespory
|
Post by orespory on Aug 18, 2018 2:37:26 GMT -8
Awesome thx!
|
|