[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 » Tue Jul 29, 2008 5:39 am

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 » Tue Jul 29, 2008 5:53 am

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: 22908
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 » Tue Jul 29, 2008 5:54 am

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 » Tue Jul 29, 2008 6:01 am

i want that members can login and view all the forum, but they cannot do anything else. something like blocking the database to writing.

User avatar
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 » Tue Jul 29, 2008 6:03 am

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: 47977
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 » Tue Jul 29, 2008 12:56 pm

Or lock all the forums.
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

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 » Tue Jul 29, 2008 8:45 pm

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: 47977
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 » Tue Jul 29, 2008 8:59 pm

This SQL:

Code: Select all

UPDATE phpbb_forums SET forum_status = 1 WHERE forum_id > 0
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

anyways
Registered User
Posts: 7
Joined: Fri Jun 20, 2008 9:12 pm

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

Post by anyways » Sat Dec 27, 2008 7:39 pm

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 » Tue Dec 30, 2008 10:32 pm

Code: Select all

UPDATE phpbb_forums SET forum_status = 0 WHERE forum_id > 0

Locked

Return to “2.0.x Support Forum”

Who is online

Users browsing this forum: No registered users and 22 guests

cron