Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Announcement Forum

@agibbins

Member

Oh sorry, I thought you meant settings within the admin panel. Yes, I’ve edited the script and edited the templates as instructed.

global $read_only_forums,$bb_current_user, $bb_roles;

// edit users (and forums) by NUMBER below until an admin menu can be made

//$read_only_forums=false; // true = stop ALL members from starting topics in ALL forums

//$read_only_forums=false; // true = stop ALL members from replying to topics in ALL forums

$read_only_forums=array(5); // which forums should ALL members NOT be able to start topics

//$read_only_forums=array(9,15,22); // which forums should ALL members NOT be able to reply to posts

//$read_only_forums= array(1=>array(1,2,3,4,5,6,7), 2=>array(9,10,11)); // allow override for this member=>forums

//$read_only_forums= array(1=>array(1,2,3,4,5,6,7), 2=>array(9,10,11)); // allow override for this member=>forums

//$read_only_forums= array(54321=>array(1,2,3,4,5,6,7), 34567=>array(1,2,3)); // deny this specific member=>forums

//$read_only_forums = array(54321=>array(1,2,3,4,5,6,7), 34567=>array(1,2,3)); // deny this specific member=>forums

$read_only_forums=array(‘moderator’,’administrator’,’keymaster’); // these types of users can always start/reply

$read_only_forums=__(“Sorry, only moderators can start topics in this forum.”);

$read_only_forums = __(“Posting in this topic has been restricted.”);

// stop editing here

Skip to toolbar