MyBB Community Forums

Full Version: Can't setup private forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Sorry to be pressing on this a little bit (but feeling some heat from my management).

Below is what my permissions table looks like for the Forum "Investors". The idea is to only allow the group "For Investors" to view the forum. But the result is that no one can see it!

I would very much appreciate someone pointing out to me what I'm doing wrong or suggest a workaround.

Thank you very much in advance!

Pahidla


<table cellpadding="6" cellspacing="0" border="0" width="100%" class="tback"><tr>
<td class="header" align="center" colspan="7"><a name="">Quick Forum Permissions for Investors</a></td>
</tr>
<tr>
<td class="subheader">User Group</td>
<td class="subheader" align="center" width="10%">View</td>
<td class="subheader" align="center" width="10%">Post Threads</td>
<td class="subheader" align="center" width="10%">Post Replies</td>
<td class="subheader" align="center" width="10%">Post Polls</td>
<td class="subheader" align="center" width="10%">Can Upload</td>
<td class="subheader" align="center" width="10%">All</td>
</tr>
<tr>
<td class="altbg1"><strong>Administrators</strong><br /><small><input type="checkbox" name="inherit[4]" id="inherit[4]" value="yes" onclick="checkInheritPerm(4);" > <span id="inheritlbl_4" class="">Inherit / Default</span></td>
<td class="altbg1" align="center"><input type="checkbox" name="canview[4]" id="canview[4]" value="yes" onclick="uncheckInheritPerm(4)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostthreads[4]" id="canpostthreads[4]" value="yes" onclick="uncheckInheritPerm(4)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostreplies[4]" id="canpostreplies[4]" value="yes" onclick="uncheckInheritPerm(4)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostpolls[4]" id="canpostpolls[4]" value="yes" onclick="uncheckInheritPerm(4)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostattachments[4]" id="canpostattachments[4]" value="yes" onclick="uncheckInheritPerm(4)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" onclick="checkPermRow(4, this);" ></td>
</tr>
<tr>
<td class="altbg2"><strong>Awaiting Activation</strong><br /><small><input type="checkbox" name="inherit[5]" id="inherit[5]" value="yes" onclick="checkInheritPerm(5);" > <span id="inheritlbl_5" class="">Inherit / Default</span></td>
<td class="altbg2" align="center"><input type="checkbox" name="canview[5]" id="canview[5]" value="yes" onclick="uncheckInheritPerm(5)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostthreads[5]" id="canpostthreads[5]" value="yes" onclick="uncheckInheritPerm(5)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostreplies[5]" id="canpostreplies[5]" value="yes" onclick="uncheckInheritPerm(5)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostpolls[5]" id="canpostpolls[5]" value="yes" onclick="uncheckInheritPerm(5)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostattachments[5]" id="canpostattachments[5]" value="yes" onclick="uncheckInheritPerm(5)" /></td>
<td class="altbg2" align="center"><input type="checkbox" onclick="checkPermRow(5, this);" ></td>
</tr>
<tr>
<td class="altbg1"><strong>Banned</strong><br /><small><input type="checkbox" name="inherit[7]" id="inherit[7]" value="yes" onclick="checkInheritPerm(7);" checked="checked"> <span id="inheritlbl_7" class="highlight1">Inherit / Default</span></td>
<td class="altbg1" align="center"><input type="checkbox" name="canview[7]" id="canview[7]" value="yes" onclick="uncheckInheritPerm(7)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostthreads[7]" id="canpostthreads[7]" value="yes" onclick="uncheckInheritPerm(7)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostreplies[7]" id="canpostreplies[7]" value="yes" onclick="uncheckInheritPerm(7)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostpolls[7]" id="canpostpolls[7]" value="yes" onclick="uncheckInheritPerm(7)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostattachments[7]" id="canpostattachments[7]" value="yes" onclick="uncheckInheritPerm(7)" /></td>
<td class="altbg1" align="center"><input type="checkbox" onclick="checkPermRow(7, this);" ></td>
</tr>
<tr>
<td class="altbg2"><strong>Finance Group</strong><br /><small><input type="checkbox" name="inherit[8]" id="inherit[8]" value="yes" onclick="checkInheritPerm(8);" > <span id="inheritlbl_8" class="">Inherit / Default</span></td>
<td class="altbg2" align="center"><input type="checkbox" name="canview[8]" id="canview[8]" value="yes" onclick="uncheckInheritPerm(8)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostthreads[8]" id="canpostthreads[8]" value="yes" onclick="uncheckInheritPerm(8)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostreplies[8]" id="canpostreplies[8]" value="yes" onclick="uncheckInheritPerm(8)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostpolls[8]" id="canpostpolls[8]" value="yes" onclick="uncheckInheritPerm(8)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostattachments[8]" id="canpostattachments[8]" value="yes" onclick="uncheckInheritPerm(8)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" onclick="checkPermRow(8, this);" ></td>
</tr>
<tr>
<td class="altbg1"><strong>For Investors</strong><br /><small><input type="checkbox" name="inherit[9]" id="inherit[9]" value="yes" onclick="checkInheritPerm(9);" checked="checked"> <span id="inheritlbl_9" class="highlight1">Inherit / Default</span></td>
<td class="altbg1" align="center"><input type="checkbox" name="canview[9]" id="canview[9]" value="yes" onclick="uncheckInheritPerm(9)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostthreads[9]" id="canpostthreads[9]" value="yes" onclick="uncheckInheritPerm(9)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostreplies[9]" id="canpostreplies[9]" value="yes" onclick="uncheckInheritPerm(9)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostpolls[9]" id="canpostpolls[9]" value="yes" onclick="uncheckInheritPerm(9)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostattachments[9]" id="canpostattachments[9]" value="yes" onclick="uncheckInheritPerm(9)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" onclick="checkPermRow(9, this);" checked="checked"></td>
</tr>
<tr>
<td class="altbg2"><strong>Moderators</strong><br /><small><input type="checkbox" name="inherit[6]" id="inherit[6]" value="yes" onclick="checkInheritPerm(6);" > <span id="inheritlbl_6" class="">Inherit / Default</span></td>
<td class="altbg2" align="center"><input type="checkbox" name="canview[6]" id="canview[6]" value="yes" onclick="uncheckInheritPerm(6)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostthreads[6]" id="canpostthreads[6]" value="yes" onclick="uncheckInheritPerm(6)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostreplies[6]" id="canpostreplies[6]" value="yes" onclick="uncheckInheritPerm(6)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostpolls[6]" id="canpostpolls[6]" value="yes" onclick="uncheckInheritPerm(6)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostattachments[6]" id="canpostattachments[6]" value="yes" onclick="uncheckInheritPerm(6)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" onclick="checkPermRow(6, this);" ></td>
</tr>
<tr>
<td class="altbg1"><strong>Registered</strong><br /><small><input type="checkbox" name="inherit[2]" id="inherit[2]" value="yes" onclick="checkInheritPerm(2);" > <span id="inheritlbl_2" class="">Inherit / Default</span></td>
<td class="altbg1" align="center"><input type="checkbox" name="canview[2]" id="canview[2]" value="yes" onclick="uncheckInheritPerm(2)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostthreads[2]" id="canpostthreads[2]" value="yes" onclick="uncheckInheritPerm(2)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostreplies[2]" id="canpostreplies[2]" value="yes" onclick="uncheckInheritPerm(2)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostpolls[2]" id="canpostpolls[2]" value="yes" onclick="uncheckInheritPerm(2)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostattachments[2]" id="canpostattachments[2]" value="yes" onclick="uncheckInheritPerm(2)" checked="checked" /></td>
<td class="altbg1" align="center"><input type="checkbox" onclick="checkPermRow(2, this);" ></td>
</tr>
<tr>
<td class="altbg2"><strong>Super Moderators</strong><br /><small><input type="checkbox" name="inherit[3]" id="inherit[3]" value="yes" onclick="checkInheritPerm(3);" > <span id="inheritlbl_3" class="">Inherit / Default</span></td>
<td class="altbg2" align="center"><input type="checkbox" name="canview[3]" id="canview[3]" value="yes" onclick="uncheckInheritPerm(3)" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostthreads[3]" id="canpostthreads[3]" value="yes" onclick="uncheckInheritPerm(3)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostreplies[3]" id="canpostreplies[3]" value="yes" onclick="uncheckInheritPerm(3)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostpolls[3]" id="canpostpolls[3]" value="yes" onclick="uncheckInheritPerm(3)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" name="canpostattachments[3]" id="canpostattachments[3]" value="yes" onclick="uncheckInheritPerm(3)" checked="checked" /></td>
<td class="altbg2" align="center"><input type="checkbox" onclick="checkPermRow(3, this);" ></td>
</tr>
<tr>
<td class="altbg1"><strong>Unregistered / Not Logged In</strong><br /><small><input type="checkbox" name="inherit[1]" id="inherit[1]" value="yes" onclick="checkInheritPerm(1);" > <span id="inheritlbl_1" class="">Inherit / Default</span></td>
<td class="altbg1" align="center"><input type="checkbox" name="canview[1]" id="canview[1]" value="yes" onclick="uncheckInheritPerm(1)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostthreads[1]" id="canpostthreads[1]" value="yes" onclick="uncheckInheritPerm(1)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostreplies[1]" id="canpostreplies[1]" value="yes" onclick="uncheckInheritPerm(1)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostpolls[1]" id="canpostpolls[1]" value="yes" onclick="uncheckInheritPerm(1)" /></td>
<td class="altbg1" align="center"><input type="checkbox" name="canpostattachments[1]" id="canpostattachments[1]" value="yes" onclick="uncheckInheritPerm(1)" /></td>
<td class="altbg1" align="center"><input type="checkbox" onclick="checkPermRow(1, this);" ></td>
</tr>
</table>
After pasting that HTML code into my editor, I see the following permissions:
Registered: everything except View
Administrators: everything except View
Moderators: everything except View
Super Moderators: everything except View
For Investors: Everything
everyone else: none

For starters, allow your Administrators, Moderators, and Super Moderators to View that forum. Next, remove all permissions for registered.

I don't know why For Investors (shouldn't this group just be called Investors?) can't see this forum.
Thanks.

Well, it's called "For Investors" to mean that it is a group created for the purpose of viewing the "Investors" forum. These aren't investors. But that's besides the point Smile.

Well, this is a very sensitive forum and I would like to exclude Administrators, etc from viewing it. I realize that it is more symbolic than anything else b/c Administrators can technically add themselves.

So, by saying "I don't know why For Investors" are you saying that it looks like a bug?
OK, I followed your instructions and here's what I find. Now I can view it and a couple other people who are Adm, Mod and Sup Mod, but not other members of "For Investors".

It almost seems that you have the following logic (although I have not tested it thoroughly): You can view the forum only if you are a member of all checked groups.

Pahidla
Hi,

Sorry to nag, given the above, can I or can I not have a private forum?
And if what is described above is a bug, is there a workaround and is it a high priority to fix it. (My organization *needs* to have private forums.)

Thanks!

Pahidla
People in any group with permission to View should be able to access it, so I don't know what the problem is.

Have you tried creating an alter-ego for yourself and made it just a registered user in the "For Investors" group? That way you could see first hand what's happening.
Does anyone know if this issue was ever solved?

I have the EXACT same problem.

I created a new group call First 200.

Created the forum First 200.

Posted to it as ADMIN. Can view it as ADMIN.

Created a testuser account. Made their Primary Group Registered Secondary Group First 200.

Signed in as testuser. I cannot see the forum.

Next I switched the Primary and Secondary users and still nothing.

Any help or ideas would be appreciated.

Thanks,
Angela
Angela, what happens if you rebuild you cache?

ACP -> Maintenance -> Cache Manager

Find 'forumpermissions' and click on Rebuild Cache.