[ask] How to make forum read only?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
xmutan
Registered User
Posts: 26
Joined: Thu Feb 16, 2006 1:14 pm
Contact:

[ask] How to make forum read only?

Post by xmutan »

hi, i'm now using phpbb3, and i just convert the user only to the new forum, so i want to make the old forum that using phpbb2 read only. So members can only read post, but do anything on the old phpbb2 (reply, new topic, sent private message, etc)
User avatar
nguyencongminh
Registered User
Posts: 107
Joined: Thu Jul 10, 2008 1:38 pm
Contact:

Re: [ask] How to make forum read only?

Post by nguyencongminh »

I think you should hide the login function in file overall_header.tpl and and rename or delete the file login.php
Creating Communities
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: [ask] How to make forum read only?

Post by ric323 »

Just go into the ACP on your phpBB2 board, and edit each of the forum permissions so only admin can "post", "reply", or "edit". You will need to click the "Advanced" link on each permission screen.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
xmutan
Registered User
Posts: 26
Joined: Thu Feb 16, 2006 1:14 pm
Contact:

Re: [ask] How to make forum read only?

Post by xmutan »

i want that members can login and view all the forum, but they cannot do anything else. something like blocking the database to writing.
momentum
Registered User
Posts: 1505
Joined: Thu Sep 20, 2007 4:07 am
Location: Melbourne, Australia

Re: [ask] How to make forum read only?

Post by momentum »

And that's exactly as Ric has advised. Set each forum so that both guests and registered users can read but only admins and moderators can post.

Craig.
QOTY: phpBB is free, good hosting is not. - robert (Lumpy Burgertushie)
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52767
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: [ask] How to make forum read only?

Post by stevemaury »

Or lock all the forums.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
xmutan
Registered User
Posts: 26
Joined: Thu Feb 16, 2006 1:14 pm
Contact:

Re: [ask] How to make forum read only?

Post by xmutan »

how to do this in 1 time? cause i have so many forum (over 100) and it takes times to change it one by one.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52767
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: [ask] How to make forum read only?

Post by stevemaury »

This SQL:

Code: Select all

UPDATE phpbb_forums SET forum_status = 1 WHERE forum_id > 0
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
anyways
Registered User
Posts: 7
Joined: Fri Jun 20, 2008 9:12 pm

Re: [ask] How to make forum read only?

Post by anyways »

Thanks for the SQL code, but what SQL code should I input if I want to remove the lock?
alex206
Registered User
Posts: 1
Joined: Tue Dec 30, 2008 10:29 pm

Re: [ask] How to make forum read only?

Post by alex206 »

Code: Select all

UPDATE phpbb_forums SET forum_status = 0 WHERE forum_id > 0
Locked

Return to “2.0.x Support Forum”