inherit
230158
0
Dec 22, 2019 23:29:07 GMT -8
Blue
Akhal-tekes and Russian blues = Life <3
208
March 2016
blackberry28
|
Post by Blue on Jul 9, 2018 14:25:18 GMT -8
Forum URL: championblood.boards.net/forumWe're trying to setup a hidden board where guests can post threads and reply to them. However regardless of what I've done (Include putting all the settings back to default) it keeps saying "You do not have access to this board!" and the board in question is this one. The only setting it has is 'Hidden' and only member/staff for create polls, everything else is everyone and private board is off.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jul 9, 2018 14:29:34 GMT -8
Hi, Blue. This appears to be due to changes made in Themes > Layout Templates > Board as that's where the custom error message you cited resides.
|
|
inherit
230158
0
Dec 22, 2019 23:29:07 GMT -8
Blue
Akhal-tekes and Russian blues = Life <3
208
March 2016
blackberry28
|
Post by Blue on Jul 9, 2018 14:38:17 GMT -8
Ah okay! I didn't make this theme, didn't even know that was a custom one. Haha, I've copied the code from it and I can see that the error message is at the bottom. Is there some sort of exception I can add, maybe even just for this board?
{if $[current_user.is_guest] && $[board.id] == "111"} {if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if} {if $[display_thread_list]} <div{if $[viewing_bookmarks]} id="bookmarks"{/if} class="container threads"> <div class="title-bar"> {if $[create_thread_button]} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if} <h1>$[board.display_name]</h1> </div> <div class="control-bar ui-helper-clearfix $[scroll_class]"> $[search] <div class="controls"> $[selection_menu] $[action_menu] </div> $[pagination] </div> <div class="content cap-bottom"> <table class="list"> <thead> <tr class="head"> <th class="icon"><span class="aria-hidden">Status</span> </th> <th class="checkbox"> </th> <th class="main">Subject</th> <th class="created-by">Created By</th> <th class="replies">Replies</th> <th class="views">Views</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody class="$[list_class]"> $[thread_list] </tbody> </table> </div> </div> {/if}
{if $[thread_count] > 0} {if $[legend]} <div class="container legend"> <div class="title-bar"><h2>Legend</h2></div> <div class="content"> <table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table> </div> </div> {/if} {/if}
{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} {else} {if $[current_user.is_member] && $[board.id] != "111"} {if $[board.sub_board_list]} <div class="container boards"> <div class="title-bar"><h2>Sub-Boards</h2></div> <div class="content cap-bottom"> $[board.sub_board_list] </div> </div> {/if} {if $[display_thread_list]} <div{if $[viewing_bookmarks]} id="bookmarks"{/if} class="container threads"> <div class="title-bar"> {if $[create_thread_button]} <ul class="controls"><li>$[create_thread_button]</li></ul> {/if} <h1>$[board.display_name]</h1> </div> <div class="control-bar ui-helper-clearfix $[scroll_class]"> $[search] <div class="controls"> $[selection_menu] $[action_menu] </div> $[pagination] </div> <div class="content cap-bottom"> <table class="list"> <thead> <tr class="head"> <th class="icon"><span class="aria-hidden">Status</span> </th> <th class="checkbox"> </th> <th class="main">Subject</th> <th class="created-by">Created By</th> <th class="replies">Replies</th> <th class="views">Views</th> <th class="latest last">Last Post</th> </tr> </thead> <tbody class="$[list_class]"> $[thread_list] </tbody> </table> </div> </div> {/if}
{if $[thread_count] > 0} {if $[legend]} <div class="container legend"> <div class="title-bar"><h2>Legend</h2></div> <div class="content"> <table> <tr> {foreach $[legend]} <td>$[legend.icon] <span>$[legend.name]</span></td> {/foreach} </tr> </table> </div> </div> {/if} {/if}
{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} {else} You do not have access to this board! {/if}
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Jul 9, 2018 14:47:31 GMT -8
The if statements that are causing this don't seem to serve any unique function as your permissions in Structure > Categories & Boards should determine board accessibility. Apart from those the template seems to be exactly the same as the default.
With that in mind it should be safe to click on the Reset to default button at the top of the template in just the Board tab.
|
|
inherit
230158
0
Dec 22, 2019 23:29:07 GMT -8
Blue
Akhal-tekes and Russian blues = Life <3
208
March 2016
blackberry28
|
Post by Blue on Jul 9, 2018 15:03:02 GMT -8
Yup, we're good I did a reset to default, nothing changed between the design/layout and it now allows guest into that board. Thank you for your help!!
|
|