inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Dec 30, 2012 13:32:35 GMT -8
Hi good PB people Does anyone know how I can hide the sub-boards being listed at the bottom of the main boards on the home page? Also, how to not have "Moderators" and their names listed on the boards on the home page (but actually still have moderators for particular boards)? Hope this makes sense Thanks
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 30, 2012 14:49:49 GMT -8
Admin panel > themes > Layout Templates Select "Board" from the list Select the "Board List" tab Find these lines and just remove them: {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}
They should be lines 19-31. If you mess up, there is a link directly above that section that will let you reset that template.
|
|
inherit
Jack of All Trades, Master of None
27090
0
May 30, 2013 20:36:34 GMT -8
Stinky666
8,818
July 2004
stinky666
|
Post by Stinky666 on Dec 30, 2012 15:32:24 GMT -8
Admin panel > themes > Layout Templates Select "Board" from the list Select the "Board List" tab Find these lines and just remove them: {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}
They should be lines 19-31. If you mess up, there is a link directly above that section that will let you reset that template. Love you, and thanks to My Name is Billy Moonstone for asking for this
|
|
inherit
120077
0
Mar 22, 2021 9:37:29 GMT -8
My Name is Billy Moonstone
726
February 2008
askandprosper
|
Post by My Name is Billy Moonstone on Jan 1, 2013 3:06:08 GMT -8
No probs Stinky666Thanks very much Chris, much appreciated! Can I just check, if I wanted to put the sub-boards showing back in, is it just a matter then of inserting:And for the moderators:
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 1, 2013 8:15:32 GMT -8
Correct
|
|
Entris
Junior Member
Posts: 281
inherit
158702
0
Dec 31, 2014 9:05:29 GMT -8
Entris
281
September 2010
entris
|
Post by Entris on Jan 1, 2013 10:09:35 GMT -8
If I would like to do the same thing but don't want to delete that code part (copying and saving else where just to add it back again and probably screw something up while doing it ) can I just add the <!--/--> before/after the codes instead?
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 1, 2013 10:27:45 GMT -8
If I would like to do the same thing but don't want to delete that code part (copying and saving else where just to add it back again and probably screw something up while doing it ) can I just add the <!--/--> before/after the codes instead? Yes
|
|
Entris
Junior Member
Posts: 281
inherit
158702
0
Dec 31, 2014 9:05:29 GMT -8
Entris
281
September 2010
entris
|
Post by Entris on Jan 1, 2013 10:29:04 GMT -8
If I would like to do the same thing but don't want to delete that code part (copying and saving else where just to add it back again and probably screw something up while doing it ) can I just add the <!--/--> before/after the codes instead? Yes Great Tyvm, was unsure if that worked everywhere or just in a few places.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 1, 2013 10:32:02 GMT -8
Great Tyvm, was unsure if that worked everywhere or just in a few places. If you're ever dealing with HTML (which you are in the case), it will work.
|
|
Entris
Junior Member
Posts: 281
inherit
158702
0
Dec 31, 2014 9:05:29 GMT -8
Entris
281
September 2010
entris
|
Post by Entris on Jan 1, 2013 10:34:48 GMT -8
Great Tyvm, was unsure if that worked everywhere or just in a few places. If you're ever dealing with HTML (which you are in the case), it will work. Ah ok so i was right when being unsure of it working everywhere then lol tyvm for the info it will come in handy.
|
|
inherit
163839
0
May 25, 2017 20:48:34 GMT -8
Maiden
1,020
February 2011
dreamaiden
|
Post by Maiden on Jan 8, 2013 10:33:02 GMT -8
Is it possible to do this for just one board? or just one category?
Thanks
|
|
inherit
189816
0
Nov 27, 2020 19:26:05 GMT -8
jhomes87
29
February 2013
jhomes87
|
Post by jhomes87 on Feb 26, 2013 18:44:31 GMT -8
Is it possible to do this for just one board? or just one category? Thanks I'm also wondering this. I don't want the moderator names to display under every board but I'd like to leave them up there for a few boards. Is that possible? Edit: If you have all your moderators in one group called "moderators", but only assign specific users to moderate each board, do they have moderator powers in the entire forum, or just in the board that they're assigned as moderator?
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 27, 2013 9:40:19 GMT -8
Maiden / jhomes87: You can add this to your Main Header. Replace the number in red with the numerical ID of the board you want to hide it for. This is the ID that shows in the URL when viewing the board (if you look at the URL for General v5 Discussion you'll see the number 28 after /board/, which is its ID). Repeat the two lines between the <style> tags for every board applicable. You can also use one or the other to hide mods but keep sub-boards and vice-versa.
|
|
Former Member
inherit
guest@proboards.com
242523
0
Nov 22, 2024 21:27:43 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 12, 2017 17:20:44 GMT -8
Maiden / jhomes87 : You can add this to your Main Header. Replace the number in red with the numerical ID of the board you want to hide it for. This is the ID that shows in the URL when viewing the board (if you look at the URL for General v5 Discussion you'll see the number 28 after /board/, which is its ID). Repeat the two lines between the <style> tags for every board applicable. You can also use one or the other to hide mods but keep sub-boards and vice-versa. Hi, Brian. This doesn't seem to work for hiding moderators on sub-boards.
|
|
#eb7100
33409
0
1
Nov 13, 2024 16:56:46 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on May 12, 2017 17:35:11 GMT -8
Maiden / jhomes87 : You can add this to your Main Header. Replace the number in red with the numerical ID of the board you want to hide it for. This is the ID that shows in the URL when viewing the board (if you look at the URL for General v5 Discussion you'll see the number 28 after /board/, which is its ID). Repeat the two lines between the <style> tags for every board applicable. You can also use one or the other to hide mods but keep sub-boards and vice-versa. Hi, Brian . This doesn't seem to work for hiding moderators on sub-boards. The Main Header & Footer only affects the homepage. Add the CSS to the category's headers if you want it to work on sub-boards.
|
|