Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 11, 2013 8:54:39 GMT -8
ADD EXTRA SECTION TO BOARD INFORMATION & STATISTICS INFO CENTER If you have Board info centers enabled you can add a extra section to the board info section
Screenshot Go admin - Layout Templates - BoardAnd look for the code below - at the bottom of the template {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} Then DIRECTLY UNDER the </tr> Marked in RED Add all of this code: <tr> <td colspan="2"> <table> <tr> <td class="icon">$[image.online_24]</td> <td> <table> <tbody> <br><b>Add Info Section Title Here</b><br> ADD YOUR CONTENT HERE <br><br></td></tr> </tbody> </table> </td> </tr> </table> </td> </tr> Steve
Reminder you can always click to preview how it will look by clicking on the preview button Before you click to save any changes to you template
Steve
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Jul 16, 2015 7:33:07 GMT -8
@xsteveuk I'd like to add my group legend in a table directly under the 'On this Board' and next to 'Users Viewing'. What you do here is add a new one under the two existing ones. I'd like to have it like this: Threads & Posts - On this Board Users Viewing - Group Legend Thanks!
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 10:27:43 GMT -8
@xsteveuk I'd like to add my group legend in a table directly under the 'On this Board' and next to 'Users Viewing'. What you do here is add a new one under the two existing ones. I'd like to have it like this: Threads & Posts - On this Board Users Viewing - Group Legend Thanks! Hi, are you meaning like this? Go admin > templates > Board > and look for this line <tr><th>Users Viewing</th></tr> and replace that with this <tr><th>Users Viewing <div style="float: right;"> [<a href="themeparkfunv2.boards.net/members?group=1&view=group"><font color="ff0000[/font]">Administrators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=3&view=group"><font color="007aff">Moderators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=10&view=group"><font color="008080">Site Editors</font></a>] [<font color="33003a">Forum Members</font>] </div></th></tr> you would need to update the url links to your site & member groups Id's for more info group Legend
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Jul 16, 2015 11:36:39 GMT -8
Thanks for the quick reply @xsteveuk! I found it, but I've 'turned off' this entire part: <!-- {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} -->
Any way I can 'take' this specific part out? What do you mean with updating url links to my site? And yes, it's exactly what I mean. I'm guessing that would still work with this?Thanks!
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 12:02:30 GMT -8
On the g roup legend link you provided it explains their how to set up the urls and group Id's
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 13:08:09 GMT -8
xsteveuk iv just added this, and its great but doesn't show on my main front page for some reason ... any ideas?
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 13:32:36 GMT -8
xsteveuk iv just added this, and its great but doesn't show on my main front page for some reason ... any ideas? it's meant for the boards info center - if you have the boards info center enabled that show at the bottom of each board I'll have a look later see i can add it to the main info center
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 13:48:25 GMT -8
xsteveuk iv just added this, and its great but doesn't show on my main front page for some reason ... any ideas? it's meant for the boards info center - if you have the boards info center enabled that show at the bottom of each board I'll have a look later see i can add it to the main info center it is in the info center, but it doesnt show on the front page one
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 13:56:46 GMT -8
it's meant for the boards info center - if you have the boards info center enabled that show at the bottom of each board I'll have a look later see i can add it to the main info center it is in the info center, but it doesnt show on the front page one Go > admin > Templates > HomeAnd on the home template look for <tr><th>Users Online</th></tr>And replace that with code below<tr><th>Users Online <div style="float: right;"> [<a href="http://tcptestingboard.boards.net//members?group=1&view=group"><font color="ff0000[/font]">Administrators</font></a>] [<a href="http://tcptestingboard.boards.net/members?group=3&view=group"><font color="1929e6">Moderators</font></a>] [<a href="http://tcptestingboard.boards.net/members?group=4&view=group"><font color="008080">Site Editors</font></a>] [<font color="33003a">Forum Members</font>] </div></th></tr> YOU WILL NEED TO UPDATE EACH URL WITH FORUM LINK AND GROUP ID'S Note you can always preview it before making any changes to the template
How it looks on my test forum on the main page my forum
Steve
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:20:57 GMT -8
do i keep the other code in the same place ?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:33:35 GMT -8
i tryed it but it didnt work. it doesnt matter, dont worry about it. ill leave it for now thanks
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:34:20 GMT -8
do i keep the other code in the same place ? where you this line remove it <tr><th>Users Online</th></tr> And in the same place copy and paste the code below <tr><th>Users Online <div style="float: right;"> [<a href="http://tcptestingboard.boards.net//members?group=1&view=group"><font color="ff0000[/font]">Administrators</font></a>] [<a href="http://tcptestingboard.boards.net/members?group=3&view=group"><font color="1929e6">Moderators</font></a>] [<a href="http://tcptestingboard.boards.net/members?group=4&view=group"><font color="008080">Site Editors</font></a>] [<font color="33003a">Forum Members</font>] </div></th></tr>
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:41:35 GMT -8
is this the same one as above ?
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:44:09 GMT -8
is this the same one as above ? Yes for the home template
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:37:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 14:46:29 GMT -8
iv pmed u
|
|