Support » Plugin: Private groups » Hidden Forum Categories are Now Showing Publicly

  • Resolved homelesshenry

    (@homelesshenry)


    I have nothing turned on with Profile Groups; currently, I’m only using the plugin to assign a user role to a group, and then a single BBPress forum to that group.

    On another note, I have BuddyPress installed, with BuddyPress groups having their own dedicated group forums via use of BBPress.

    I dislike having BuddyPress-associated group forums shown on the BBPress main forum index (site.com/forums), as I want those group forums visibility/accessibility restricted only to their particular BuddyPress group.

    To achieve this, all BuddyPress group forums created are associated to a Forum Category called “Group Forums”. And this category is then set to “Hidden”.

    This prevents the “Group Forums” forum category, and thereby all the BuddyPress group-associated forums associated to this category, to now be hidden from the main forum index.

    The problem is upon activation of the Private Forums plugin, this (still) hidden Group Forum forum category is visible to logged in members from the main forum index (site.com/forums).

    In other words, the plugin seems to be showing hidden (at least) forum categories on the main forum index to all users despite their visibility being set to hidden.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Robin W

    (@robin-w)

    let me take a look

    so in bbpress terms

    forum a belongs to group x and you assign users to group x

    you want this forum shown in the main forum index.

    category ‘Group Forums’ is hidden

    Forums under category ‘Group Forums’ are set to what?

    Is that all correct so far.

    and what is visible in the forums index upon forum activation – the category, the forums under it or both ?

    Plugin Author Robin W

    (@robin-w)

    and bbpress has 3 states, Public, Private and Hidden – can you confirm that you mean hidden

    and that this has been tested by logging on as an ordinary user, not just as a keymaster?

    Thread Starter homelesshenry

    (@homelesshenry)

    Tested further and the problem is actually much simpler now to explain:

    So, fresh install of your plugin:

    1. Assign user role to group x (via “Assign user role” tab)

    2. Assign group x to forum a (via “User Management” tab).

    This works. Forum a is now only being shown to group x users. Perfect.

    Unfortunately, all other forums (and any new forums I create) set to visibility hidden in BBPress are being shown publicly, despite them still being set to hidden (even shown under “hidden” forum tab in BBpress forum admin screen).

    When I deactivate your plugin, the hidden forums are hidden again. And when I reactivate your plugin, they’re shown publicly again.

    Plugin Author Robin W

    (@robin-w)

    let me test that

    Plugin Author Robin W

    (@robin-w)

    can you confirm that it is just the forum name that is shown, ie if you click you don’t get to see contents, I’ll then look at a fix

    Plugin Author Robin W

    (@robin-w)

    I think this may be a bbpress 2.6.x issue, but it may take me some time to debug.

    for the moment set up a group called say ‘hidden’ and set any forums you want hidden to have this group. since no users have this group, it will stay hidden

    That should stop them in the display.

    Plugin Author Robin W

    (@robin-w)

    ok, I’ve released version 3.8.6 which should fix that issue.

    It would be great if you could update and come back and confirm

    Thread Starter homelesshenry

    (@homelesshenry)

    Awesome Robin, thanks a lot. It does seem to be working perfectly now 🙂

    Plugin Author Robin W

    (@robin-w)

    Great – thanks for coming back, and for helping me improve my plugin 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Hidden Forum Categories are Now Showing Publicly’ is closed to new replies.