I already tried "private forum" but such thing can be confused with making the forum only visible for moderators and administrators or a limited part of the staff.
The name should be simple and descriptive about what it is meant for, in this case, it's for one or two roles for the permissions system.
We need a name for the key in the language file. These are the original (thought by the yours truly ):
ROLE_DESCRIPTION_FORUM_STANDARD_NO_OTHER
ROLE_DESCRIPTION_FORUM_LIMITED_NO_OTHER
But they'll probably fail for being too big.
In order not to be failed for being too big, they must be, at most, 38 characters long.
So I proposed:
ROLE_DESCRIPTION_FORUM_STD_NO_OTHER
ROLE_DESCRIPTION_FORUM_LTD_NO_OTHER
The Dev team didn't seem convinced.
Then a proposal arrived (not mine):
ROLE_DESCRIPTION_FORUM_READOWN
This has in account the second part of this post:
Should we have 2 roles or only 1 role?
If we should have only 1 role, in which current role it should be based on? Limited Access or Standard Access?
(I'll reject and attack any1 that is against making, at least, 1 role having this new system into account (kidding ))
We need a new language key (and a rewritten text) to appear instead of the data about "replies", "views" and "last post" in viewforum.php when the user does not have this permission. The current one is:
'PRIVATE_FORUM_FORUM' => 'It’s private, dude. And no. You cannot see who’s got the last post',
Which is way wrong (and a little joke ). The string (the thing on the right) needs to be completely (or mostly) rewritten, the language key does not sound correct. The "PRIVATE" part of it may lead to wrong assumptions.
By the writing of this I came up with the key:
OP_ONLY_FORUM
Please comment.
Coding specific:
Need recommendation:
In the code I have the following variable:
[url=https://github.com/phpbb/phpbb3/pull/795/files#L0R793]$unlimited_access_forums[/url]
That variable is used to know in which forums do the user have this permission and f_read permission.
The dev team thinks that this is a bad decision because we have a role for "limited access" (no irony intended). Now I need a suggestion to know which name is the most appropriate for such variable?
In SUM:
- We need to decide between one or two roles for this system.
- We need one or two new Role language key.
- We need a sentence to appear when the user may not see which one is the last post in that forum.