• Hello!

    I have added bbPress topics to use with Publicize like it is described in Jetpack docs:

    add_action('init', 'my_custom_init');
    function my_custom_init() {
        add_post_type_support( 'topic', 'publicize' );
    }

    Then I set the checkbox in Publicize settings to off by default using this code:
    add_filter( 'publicize_checkbox_default', '__return_false' );

    Now, when I’m posting a topic using WordPress Add new->Topic routine everything is allright. But when I’m posting a topic using Add topic link right in bbPress forums, the posted topic gets publicized immediately after I click ‘Submit’.

    Is there a way to switch Publicize off by default and publicize only specified topics?

    Thank you!

    https://www.ads-software.com/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Valery Kondakoff

    (@valery-kondakoff)

    Additional info: it turns out, that two following rules from the Jetpack Publicize docs are ignored as well, when posting topics right from bbPress forums:

    – Publicize works for Administrator, Editor, or Author user roles. If you’re a Contributor for a blog, you cannot use Publicize.
    – When you add new connections, you have the option to decide whether it will be available to just your account or all of the other users on the blog as well. To make the connection available to everyone, just check the prompt for that at the time you add the connection.

    Topics from every user who can post in forums are publicized irrespective of their user role or connection availability.

    Can we consider this as a bug? Is there a way to fix this?

    Thank you!

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    But when I’m posting a topic using Add topic link right in bbPress forums, the posted topic gets publicized immediately after I click ‘Submit’.

    That’s indeed to be expected. The filter is only useful to disable the checkbox in the post editor. Since you post from a different interface, the filter isn’t useful anymore.

    We haven’t found a solution to this issue yet, but you can follow our progress here:
    https://github.com/Automattic/jetpack/issues/453

    I’ll also post again here when I have some news.

    Topics from every user who can post in forums are publicized irrespective of their user role or connection availability.

    Can we consider this as a bug? Is there a way to fix this?

    It’s most likely because bbPress use custom roles in addition to the default WordPress roles. Could you go to the Users menu in your dashboard, and let me know what your forum users’ roles are? You should see two different roles, one assigned by bbPress and the default WordPress roles.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Topics are publicized even when checkbox in settings are not set…’ is closed to new replies.