הטמעת דיונים פרטיים באתר וורדפרס

סיכום מבוסס בינה מלאכותית

Richard_Millington asks if it’s possible to embed discussion titles from a private Discourse site onto a public WordPress site, with links directing users to a registration page. Heather_Dudley explains that while the site’s privacy settings prevent automatic display of discussion titles on public pages, the titles can be manually embedded using HTML. She clarifies that OpenGraph data won’t be pulled due to privacy restrictions, and there’s no way to override privacy settings for individual discussions. Richard_Millington seeks confirmation on whether titles can appear publicly, and Heather_Dudley confirms it’s possible only through manual embedding.

Hi everyone,

I’m looking for some guidance on a client project. We wish to embed discussion titles from a private Discourse site on to a public site - whereby if anyone clicks on the links to participate, they’re taken to a registration page.

I have two questions.

  1. Is it possible to do this?
  2. If not, could we simply tag certain discussions to appear in public?

The goal is to have content articles appearing alongside discussions.

Very open to other ways of achieving this goal too.

That’s how it already works. if you try to link to a thread on a site set to private, it will direct you to the login. Here’s what it looks like on mine (we use SSO so it’s not Discourse default.)

https://forums.nanowrimo.org/t/got-buddies-now-what/314851

It won’t pull the OpenGraph stuff because it’s private and it can’t see it. You’ll have to hand-code that if you want it to appear.

There is no way I know of to flag individual discussions to ignore the site’s settings for privacy. Even with page publishing, it respects the privacy of the source.

Thanks Heather, but would this show the title of the discussion on a public site if the community is private?

  • Rich

Not automatically, no, because the privacy settings prevent it from pulling the title. You can, however, embed it manually with basic HTML, like so:

Got Buddies, Now What?