• Resolved sumurai8

    (@sumurai8)


    It seems like the filter bbp_before_has_forums_parse_args is no longer executed and been replaced by bbp_parse_args, resulting in the code of private_group_forums(..) no longer being executed.

    This means that all forums are displayed for all users, regardless of the settings used. When clicking the forum a 404 error is displayed.

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

    (@robin-w)

    hmm – you’ll need to help me on this one

    1. I presume you mean on upgrade from 3.4.8 to 3.4.9 ??

    the filter is still there in forum_filters on 3.4.9

    add_filter(‘bbp_before_has_forums_parse_args’, ‘private_groups_forums’, 10, 2);

    can you point to where this has changed for you?

    • This reply was modified 9 years ago by Robin W.
    Thread Starter sumurai8

    (@sumurai8)

    I am currently developing a site and did a fresh install of bbpress and your plugin. I had a single forum for “group 1”, and did some tests if things were working correctly. I made a sockpuppet account that I explicitly did not assign any groups to, and had the setting enabled that it won’t try to assign any group either.

    In any case, it still displayed that forum for my sockpuppet user. Placing an exit; statement in that particular function did not cause the execution to be stopped, which suggested that it did not run at all. I can’t find any mention of that filter in the bbpress code anymore, except for a deprecated warning that one should use bbp_parse_args.

    Since I needed to change some templates I simply placed an extra check in the forum-loop template and continued, but when I test it now it does seem to filter correctly. I am not quite sure what was the underlying problem that caused a hidden forum to be displayed, because I am now unable to reproduce it.

    Plugin Author Robin W

    (@robin-w)

    no problem – if you get the issue again, please do some back, and I’ll work with you to resolve

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Forums are not filtered’ is closed to new replies.