PHP Bulletin Board Home
News About Home
Features of phpBB Test drive phpBB Downloads Support for phpBB The phpBB Community Styles for customising phpBB 3rd party modifications to phpBB

Support Home | Knowledge Base Home | Submit Article | Search Articles | Browse Articles
 Admin only forums by default 
Description: How to make new forums permissions default to ADMIN only.
Author: netclectic
Date: Tue Dec 16, 2003 8:18 am
Type: HowTo
Keywords: admin, forums, default, private
Category: MODifications
Ok, you're setting up your forums or you're adding a couple of new forums to your existing site. You don't want them to be publicly available or you want to add a couple of initial post before you let the great unwashed get their hands on them.

But as soon as you click 'Create new forum' button your forum goes public and your eager public go 'Ooh! a new forum, lets see what it's all about!'

Yes, you can set it as locked but then it can still be read.

Anyway, to cut a long story short...

to make your forums Private (ADMIN only) by default,
in admin/admin_forums.php
find
Code:

"auth_view" => AUTH_ALL,
"auth_read" => AUTH_ALL,


replace with
Code:

   "auth_view" => AUTH_ADMIN,
   "auth_read" => AUTH_ADMIN,


And there you have it.

Username: Password:
News | Features | Demo | Downloads | Support | Community | Styles | Mods | Links | Merchandise | About | Home
 © Copyright 2002 The phpBB Group.