Setting up a private forum

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Yaks
Registered User
Posts: 8
Joined: Sat May 25, 2019 2:49 pm

Setting up a private forum

Post by Yaks » Sat May 25, 2019 3:03 pm

Hey all,

I am completely new to phpBB and not much of a tech-wizz but need to set up a private online forum. I was hoping somebody would be able to walk me through the process step-by-step.

I have the domain name I want, and have bought the web hosting. I have not installed or set up phpBB yet. I want the forum to only be visible to a small group of users (who will be the only registered users on the forum). Others who visit the URL should not be able to see any of the posts or thread/category names.

1. How do I set up phpBB? Which version is best for my purposes? Is there a simple tutorial out there I can follow?

2. How do I set it up to be completely private?

Thank you so much for any help on this!

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3980
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Setting up a private forum

Post by HiFiKabin » Sat May 25, 2019 3:52 pm

Welcome to phpBB

phpBB 3.2.7 is the current supported version, so this is the one you should use.

It's perfectly possible to set up a private board (I have done so several times) by using the permissions that are built into the core. By setting Guest Permissions to 'NO' only logged on members will be able to see the content and forum titles. All guests (which will include members who have not logged on) will see if the log on page with no content.

Depending upon how you want members to join it is also possible only allow registrations to those who you have sent a random code by using the built in Q&A CAPTCHA. You can also add them manually by using the ACP Add User Extension.

Have a read of the following and just post bck if you have further questions.
Hide Forums from Bots and Guests
  1. Administration Control Panel (ACP) > PERMISSIONS tab > Forum Based Permissions > Forum Permissions
  2. Select forum(s) > Submit
  3. Manage groups > select Bots and Guests groups > Edit permissions
  4. Set Role to No access for both groups > Apply all permissions
phpBB3 Permissions

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69040
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Setting up a private forum

Post by KevC » Sat May 25, 2019 3:53 pm

EDIT: Just beaten to it!

Explanations make a lot more sense if you actually go ahead and install it.

There's only one version to install and that's the latest, 3.2.7

Upload the phpBB folder to the www, htdocs or public_html folder on your host server. You can rename /phpBB to something else if you want. You cal also upload the contents of that folder straight to the public_html folder if you want the board to be directly on the URL.

You will then need to go in to your hosting control panel and find the MySQL wizard and make a database. Note the exact username and password you create for that.

Go to your browser and do www.whatever to find the phpBB folder and it will then walk you through the steps to install it.

Once set up and you've made your forums, you can hide them by doing this

admin panel
permissions
group forum permissions
guest group (repeat this for bots)
Select the forums you've made
No Access


admin panel
permissions
group forum permissions
registered users
Select the forums you've made
Standard Access

Now only people in the registered users group can see the forums.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50425
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Setting up a private forum

Post by stevemaury » Sat May 25, 2019 5:52 pm

When you get it installed, post back if there is other stuff you want to hide, like Newest user on the index page.

For example, here is the index page as it appears to Guest users (not logged in) on a private board I run.

It would be easy to also remove "This board has no forums" but I didn't see the point.
Attachments
Screen Shot 2019-05-25 at 12.51.25 PM.jpg
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Yaks
Registered User
Posts: 8
Joined: Sat May 25, 2019 2:49 pm

Re: Setting up a private forum

Post by Yaks » Wed May 29, 2019 6:57 am

Thank you so much for the helpful advice. I've set up the forum.
However, I've run into a bit of an issue — I've managed to log myself out and it won't let me log back in! I am getting the error message, "The submitted form was invalid. Try submitting again." Any ideas?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69040
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Setting up a private forum

Post by KevC » Wed May 29, 2019 7:58 am

That's a common issue with boards installed using the hosting control panel 1-click installer (which we don't make) rather than the files from this site.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Yaks
Registered User
Posts: 8
Joined: Sat May 25, 2019 2:49 pm

Re: Setting up a private forum

Post by Yaks » Wed May 29, 2019 12:48 pm

All I needed to do was clear the cache. So that problem is solved.
stevemaury wrote:
Sat May 25, 2019 5:52 pm
When you get it installed, post back if there is other stuff you want to hide, like Newest user on the index page.
I want to remove the statistics and who is online sections completely for guests, as well as the “This board has no forums” message.

Thank you for all the help!

User avatar
EA117
Registered User
Posts: 608
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Setting up a private forum

Post by EA117 » Wed May 29, 2019 1:03 pm

KevC wrote:
Wed May 29, 2019 7:58 am
That's a common issue with boards installed using the hosting control panel 1-click installer (which we don't make) rather than the files from this site.
And a common issue with boards that aren't installed using the hosting control panel 1-click installer, too. Almost as though there is some deeper root cause nobody is even looking for yet.

User avatar
david63
Registered User
Posts: 16095
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Setting up a private forum

Post by david63 » Wed May 29, 2019 3:23 pm

EA117 wrote:
Wed May 29, 2019 1:03 pm
And a common issue with boards that aren't installed using the hosting control panel 1-click installer, too. Almost as though there is some deeper root cause nobody is even looking for yet.
The only situation where that occurs that I am aware of is if the cookie settings are incorrect and that is user error, not a fundamental fault in phpBB
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50425
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Setting up a private forum

Post by stevemaury » Wed May 29, 2019 4:00 pm

Yaks wrote:
Wed May 29, 2019 12:48 pm
All I needed to do was clear the cache. So that problem is solved.
stevemaury wrote:
Sat May 25, 2019 5:52 pm
When you get it installed, post back if there is other stuff you want to hide, like Newest user on the index page.
I want to remove the statistics and who is online sections completely for guests, as well as the “This board has no forums” message.

Thank you for all the help!
OPEN styles/*/template/index_body.html

FIND:

Code: Select all

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<div class="stat-block online-list">
		<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
		<p>
			<!-- EVENT index_body_block_online_prepend -->
			{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> 
			<!-- IF U_VIEWONLINE -->
				<br />{LOGGED_IN_USER_LIST}
				<!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->
			<!-- ENDIF -->
REPLACE WITH:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->
<!-- IF S_DISPLAY_ONLINE_LIST -->
	<div class="stat-block online-list">
		<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
		<p>
			<!-- EVENT index_body_block_online_prepend -->
			{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> 
			<!-- IF U_VIEWONLINE -->
				<br />{LOGGED_IN_USER_LIST}
				<!-- IF LEGEND --><br /><em>{L_LEGEND}{L_COLON} {LEGEND}</em><!-- ENDIF -->
			<!-- ENDIF -->
<!-- ENDIF -->
OPEN styles/*/template/forumlist_body.html

FIND:

Code: Select all

<strong>{L_NO_FORUMS}</strong>
REPLACE WITH:

Code: Select all

<!-- IF S_USER_LOGGED_IN -->strong>{L_NO_FORUMS}</strong<!-- ENDIF -->
Purge the cache.

Note that you will have to repeat these edits when you update.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3980
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Setting up a private forum

Post by HiFiKabin » Wed May 29, 2019 4:01 pm

Yaks wrote:
Wed May 29, 2019 12:48 pm
I want to remove the statistics and who is online sections completely for guests<snip>

Thank you for all the help!
https://www.phpbb.com/customise/db/exte ... west_user/

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50425
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Setting up a private forum

Post by stevemaury » Wed May 29, 2019 4:13 pm

Yes, James' extension is a superior method to my suggested template edits. I do not know if it removes "This board has no forums", but if it does not, you can use the second edit I give above.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3980
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Setting up a private forum

Post by HiFiKabin » Wed May 29, 2019 5:37 pm

stevemaury wrote:
Wed May 29, 2019 4:13 pm
Yes, James' extension is a superior method to my suggested template edits. I do not know if it removes "This board has no forums", but if it does not, you can use the second edit I give above.
No, it doesn't touch that Steve. I always edit that line when needed as well.

Yaks
Registered User
Posts: 8
Joined: Sat May 25, 2019 2:49 pm

Re: Setting up a private forum

Post by Yaks » Sun Jun 09, 2019 3:36 am

Thank you for the help.

Steve, the edit you gave for removing the "This board has no forums" text doesn't seem to be working for me, not sure why. Did exactly as you said.

User avatar
janus_zonstraal
Registered User
Posts: 3219
Joined: Sat Aug 30, 2014 1:30 pm

Re: Setting up a private forum

Post by janus_zonstraal » Sun Jun 09, 2019 7:32 am

Yaks wrote:
Sun Jun 09, 2019 3:36 am
Thank you for the help.

Steve, the edit you gave for removing the "This board has no forums" text doesn't seem to be working for me, not sure why. Did exactly as you said.
Did you purge the cache?
Sorry! My English is bat ;) !!!

Post Reply

Return to “[3.2.x] Support Forum”