• Resolved eabonie

    (@eabonie)


    I created a new role in my main site and used the User Role Sync to broadcast the role to my sub-sites.

    I’ve given the role permissions to create, edit publish, delete a custom post type.
    I’ve selected the role in Send To Many settings.
    The custom post type is added into the custom post types to broadcast section.
    I think I’ve covered all bases.

    When I go to create and broadcast a new post, the broadcast widget in the editor screen does not display the list of my sub sites for me to tick for this user profile. (It works for the Super Admin)

    It just says:
    Broadcast to
    Select / deselect all?Invert selection

    The sites are not listed as expected.

    Any suggestions will be appreciated. Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author edward_plainview

    (@edward_plainview)

    I’m figuring the problem isn’t the user roles, but the fact that the user in question is not a member of the sites you expect to see.

    Add the user to each site and the sites should then become visible in the broadcast meta box.

    Thread Starter eabonie

    (@eabonie)

    Thanks for your response Edward.

    The user was present across the network. I deleted and re-created the user in all sites just in case. (This was not the cause of the problem)

    I have however found that, in order for Broadcasting to work, you need to have given permission to the user to create, edit and delete Posts.

    Granting a user permission for just a specific custom post type without granting permission for Posts will result in the user being unable to broadcast.

    This is what I have found.

    Is there a way to give the user permission to just a custom post type but not Posts and still give them the ability to broadcast?

    Plugin Author edward_plainview

    (@edward_plainview)

    From my limited knowledge of custom post types (I tried to do some complicated stuff with CPTs a few times and ended up giving up in the end due to how finicky CPT support was) there is a way to enable posting / editing / deleting / etc of specific post types.

    The question is whether these different capabilities are something that WordPress takes into account when querying or switching blogs.

    The blogs listed in the Broadcast meta box are populated using the WordPress function

    get_blogs_of_user()

    Whether that function does proper loading of CPT roles and permissions for all of the different blogs, I don’t know.

    Another solution would be to modify the blog list yourself using some code. There is a snippet that shows how to delete a blog from the list.

    https://broadcast.plainviewplugins.com/snippet/remove-access-to-a-blog/

    If you need any more help using that action, if you choose to go the PHP route, just shout and I’ll see what I can cook up for you.

    Thread Starter eabonie

    (@eabonie)

    Hi Edward, thanks again for the speedy response.

    Its not a big issue. I can live without it for now.

    But thanks for the offer.

    Very much appreciated.

    Your support response turn around time is second to none.

    Plugin Author edward_plainview

    (@edward_plainview)

    Would now be a good time to mention that Broadcast loves honest reviews from its users? ??

    Thread Starter eabonie

    (@eabonie)

    This is simply the best and most useful plugin we have every come across. The support is 2nd to none.

    I personally think this plugin should come pre-installed. I’m surprised Matt @ Automattic hasn’t made you an offer yet.

    We couldn’t do what we do without your plugin Edward.

    A review is the least we could do. Thanks for you support and your fantastic plugin.

    Plugin Author edward_plainview

    (@edward_plainview)

    You’ve awfully welcome! I’m glad Broadcast is as useful to others as it is to me.

    I’m also surprised I haven’t gotten an offer. The software is so great…… *whistles*

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Broadcast to many after user role sync’ is closed to new replies.