Former Member
inherit
guest@proboards.com
167458
0
Nov 24, 2024 17:36:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 23, 2012 7:34:05 GMT -8
Remove moderators showing on all the boards I thought I saw how to this but I can't find it! if it has already been posted can somebody spin me around and point me in the right direction lol Or where I go to remove moderators showing on all the boards Thanks - Steve
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 23, 2012 9:00:56 GMT -8
Goto the "Board" template, and click on the "Board List" tab.
In that template, find this, and remove it (should be around line 19)...
{if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if}
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 24, 2024 17:36:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 23, 2012 11:08:49 GMT -8
Thank you - Peter Just a quick note: If you have it set to show sub-boards it will remove also the sub-boards that are listed on each board - not a major problem as can modify each board and add the suboards for that board. Steve
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 23, 2012 11:19:33 GMT -8
By that do you mean that it removes the "Sub Boards: 1, 2, 3, 4" from the board descriptions? Because if so, I think you've deleted a little too much code. What Peter posted above removes ONLY the "Moderators: 1, 2, 3" portion of the board description. If you need the original coding for Sub Boards to add it back in I can post it if you'd like. =]
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 24, 2024 17:36:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 23, 2012 11:39:51 GMT -8
By that do you mean that it removes the "Sub Boards: 1, 2, 3, 4" from the board descriptions? Because if so, I think you've deleted a little too much code. What Peter posted above removes ONLY the "Moderators: 1, 2, 3" portion of the board description. If you need the original coding for Sub Boards to add it back in I can post it if you'd like. =] Thanks Paul It did remove the "sub boards 1,2,3,4" from the board discriptions As you say " I may have removed a little more that I should of " I did go and modify each board that had a sub board and entered what sub boards are listed on each board Not a major problem but can post it if will add the sub boards back Steve
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 23, 2012 11:52:27 GMT -8
<td class="main clickable"> <span class="link">$[board]</span><br /> <p class="description">$[board.description]</p> {if $[board.num_mods]} <p class="moderators"> Moderator{if $[board.num_mods] != 1}s{/if}: {foreach $[board.moderator_group]}$[board.moderator_group.comma_before] $[board.moderator_group]{/foreach}{if $[board.moderator]}{if $[board.moderator_group]}, {/if}{/if} {foreach $[board.moderator]}$[board.moderator]$[board.moderator.comma] {/foreach} </p> {/if} {if $[board.sub_board]} <p class="sub-boards"> Sub-board{if $[board.sub_board] != 1}s{/if}: {foreach $[board.sub_board]}$[board.sub_board]$[board.sub_board.comma] {/foreach} </p> {/if} </td>
That's the default template for the main cell in the row. I think by looking at that and what Peter said, you should be able to see where you went a little over. =P
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 24, 2024 17:36:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 23, 2012 12:04:07 GMT -8
Thanks Paul Don't know how but yes I removed the sub boards too Look like I went to far with the {/if} ((One has to becareful when on the templates))
Thanks for your help
Steve
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 23, 2012 12:21:37 GMT -8
Easily done, but also easily fixed. =]
Also, sorry to Peter for jumping in (probably again), but you were offline earlier. =P
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 23, 2012 12:35:55 GMT -8
Easily done, but also easily fixed. =] Also, sorry to Peter for jumping in (probably again), but you were offline earlier. =P Don't be sorry, I appreciate you, and anyone else helping out if I'm not around
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 23, 2012 12:36:57 GMT -8
I just always feel a bit guilty for stealing your thunder. =P
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 23, 2012 12:39:40 GMT -8
I just always feel a bit guilty for stealing your thunder. =P I feel like that sometimes when I see someone trying their hardest to help someone, especially if they are posting code and I know I could improve on it. But don't worry about it, jump in anytime, people get their answers quicker
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 24, 2024 17:36:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 23, 2012 15:31:43 GMT -8
Thank you Peter for all your help
And a BIG Thank you to Paul - I got it fixed Thank you for posting the code And all seems to be OK
Thanks again - Steve
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 23, 2012 16:40:29 GMT -8
No worries bud, glad we could help. =]
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Mar 8, 2013 15:23:25 GMT -8
Exactly what I wanted. Thank you, and hope the bump helps others.
|
|
inherit
187402
0
Mar 23, 2016 19:15:19 GMT -8
Barkley
1,591
December 2012
avinalaff
|
Post by Barkley on Mar 11, 2013 19:43:09 GMT -8
Incidentally, it needs to be done seperately for each theme, but works great.
|
|