How to embed whole forum in another site

hi all,

really new to Discourse, so please forgive my stupid newbie question :wink:

I have a Discourse forum at http://forum.delimiter.com.au.

This is a part of the Wordpress site http://delimiter.com.au.

All I want to do is grab the whole Discourse forum and embed it on a page under my normal Wordpress site header. I have the ability to embed whatever HTML, script etc I want under this on a dedicated page – I just need the code.

Is there a way to do this? This would go a long way towards making Discourse feel part of the rest of my site.

Cheers!

Renai

「いいね!」 2

Personally I think you’ll find this more trouble than it’s worth. IMHO it would be far better to put that effort into HTML & CSS-based styling & customizations to match fonts, layouts, colors, etc., as well as header & footer HTML that can really make the Discourse site a matched complement to your main site.

「いいね!」 4

That is a secondary viable option, of course, but I’d like to try the embed option first to use my existing site header :wink:

「いいね!」 1

Put your header on the Discourse site, trust me it will be way better.

If you really want to go foward with this madness try an iframe and see for yourself :stuck_out_tongue:

「いいね!」 1

Looking around at the various Discourse sites in existence, I am starting to get the picture that I may be trying to go down the wrong path :wink:

「いいね!」 5

We have a fairly heavily integrated WordPress/Discourse instance here which might give you some inspiration. Happy to talk through the details if you like.

「いいね!」 8

Can you describe your approach for integrating your Discourse forum with your WordPress site? It looks fantastic!

Thanks. :smile:

Commenting is using the wp-discourse plugin, and we have SSO through WP, so when new members sign up, they are pushed into the right priv groups on Discourse to match their membership level.

The Add Discussion button on the homepage pre-loads a new Discourse topic, and several functions pull new topics from certain categories and display them on the second row of the homepage.

We use CORS to display avatars and notifications on the home page, along with likes, views and comment counts.

Lastly, clicks across the homepage (WP articles or Discourse posts) and captured and logged in localStorage, so that we can utilise a click-count pop-up prompting people to join after reading x posts and I tweaked the CSS so that the base font and headers match, and that’s about it!

「いいね!」 8

sidebar, what wordpress theme are you using?

I’m quite interested in making this work. We have a wordpress site that has specific functionality that we need above and beyond what discourse has.
It’d be nice if we could embed our discourse site on a “community” page of our wordpress site.
What steps would I take?

「いいね!」 1

Hello @HAWK do you know if there is there a Squarespace integration? - I am not looking for the full forum to be embeded…but would like some sort of “feed” or “teaser” or “ticker” of the newest post to appear on the Squarespace site.

「いいね!」 2

Would love to know about this as well!

「いいね!」 1

フォーラムも埋め込む必要があります。新しい Discourse フォーラムを使用して、アプリケーション内の古いフォーラムを置き換えたいと考えています。これは Web UI の UI オーバーレイに埋め込まれており、全体を埋め込む必要があります。

私の理解では、Discourse を iframe に完全に埋め込むことはできません。この質問は、このフォーラムで何度も繰り返し質問され、回答されています。

Discourse のコメントをあなたのサイトに埋め込むことは可能です。その方法は、こちらのガイドに従ってください:JavaScript による Discourse コメントの埋め込み。コメントを埋め込んだ場合、ユーザーは新しいコメントを作成するために引き続き Discourse サイトを訪問する必要があります。

また、Discourse のコメントリストをあなたのサイトに埋め込むことができる新しい機能も登場しました。詳細はこちらをご覧ください:https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911。

Discourse のコンテンツを外部サイトに取得するもう一つの選択肢は、Discourse API を使用して Discourse からデータを取得する方法です。これは、当社の WordPress プラグインが採用しているアプローチです。

「いいね!」 5