Okay, this should do the trick according to what your wishes were. You can totally forget worrying about setting Guest permissions for anything. You can revert all Guest permissions back to stock, and this modification alone will do the trick. Give it a shot and let me know if I got it right.
Open up your copy of ubbthreads.php in the root folder.
find:
if (!isset($user['USER_ID']) || !$user['USER_ID']) {
if (array_get($init, 'regonly', 0) == 1) {
$fatal_error = true;
$fatal_error_msg = "FATAL_NOT_LOGGED";
} }
replace with:
if (!isset($user['USER_ID']) || !$user['USER_ID']) {
if (($ubb != "newuser") && ($ubb != "faq") && ($ubb != "boardrules") && ($ubb != "login") && ($ubb != "logout") && ($ubb != "start_page") && ($ubb != "adduser")) {
$fatal_error = true;
$fatal_error_msg = "FATAL_NOT_LOGGED";
} }
find:
if (isset($left_column_data['template'])) {
smartyDisplay($left_column_data);
} if (isset($smarty_display['body'])) {
$smarty->register_outputfilter("graemlin_url");
smartyDisplay($smarty_display['body']);
} if (isset($right_column_data['template'])) {
smartyDisplay($right_column_data);
}
replace with:
if ((isset($user['USER_ID'])) && ($user['USER_ID'])) {
if (isset($left_column_data['template'])) {
smartyDisplay($left_column_data);
} } if (isset($smarty_display['body'])) {
$smarty->register_outputfilter("graemlin_url");
smartyDisplay($smarty_display['body']);
} if ((isset($user['USER_ID'])) && ($user['USER_ID'])) {
if (isset($right_column_data['template'])) {
smartyDisplay($right_column_data);
} }
Enjoy.