• I want to disable a site on broadcast list which edited the shared content for particular object(ex post, custom fields etc). What should I do?

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

    (@edward_plainview)

    Don’t quite follow. You want to disable access to a blog? Does this snippet help?

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

    Thread Starter wpsandeep

    (@wpsandeep)

    Thanks for quick response. It’s not fulfilling my complete requirement.
    Let me explain in detail:

    I have 3 child sites(abc.com,xyz.com,pqr.com) and I share some post to all these three. and site “abc.com” edited content(editing content means client want to unsubscribe the updated) so site abc.com don’t want to receive update for that post.

    But they can still get other updates if they are subscribed.

    Plugin Author edward_plainview

    (@edward_plainview)

    Sounds like you want the site unlinked as soon as the content is modified. Hm. That will require some custom code for sure. Either that or a new add-on.

    What is your preference? You want tips on how to do that via PHP or shall I code up a “unlink on edit” add-on for the Broadcast Control add-on pack?

    Plugin Author edward_plainview

    (@edward_plainview)

    I wrote an add-on that does pretty much what you need.

    https://broadcast.plainviewplugins.com/addon/unlink-on-edit/

    It will be released in the next version of the control and premium add-on packs.

    Thread Starter wpsandeep

    (@wpsandeep)

    Thanks for the above options. Unlink-on-edit looks like the solution for the my current problem but I would like to go with custom coding in php because I need more customization/validation on site listing before broadcasting, I’ll appreciate if you can provide some tips on custom code.

    Plugin Author edward_plainview

    (@edward_plainview)

    Well, what the add-on does is that it

    • checks if the post is a child post
    • checks if it has been modified
    • unlinks the parent and child posts from each other

    What help do you require, more exactly?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable broadcast for site’ is closed to new replies.