The discussion revolves around integrating Wordpress with Discourse using an iFrame instead of syncing comments. gerald suggests showing a Discourse comment area within an iFrame in Wordpress to leverage Discourse’s features. Although similar discussions exist, such as embedding Discourse comments via JavaScript and the WP Discourse embed plugin, gerald is particularly interested in including the post-creating section within the iFrame.
simon notes that the iFrame created by Discourse is only for displaying comments and not for creating posts. Instead, simon recommends using the Discourse API to allow users to reply to topics on the website.
However, gerald points out that the API lacks features like the summary bar, likes, flagging, and mentions. Additionally, gerald finds the comment sync process unreliable and complicated. As an alternative, gerald suggests embedding the entire Discourse topic and hiding unnecessary elements using CSS.
The Discourse Wordpress plugin lacks most of the features which makes Discourse so cool. I wonder if it is not possible to simply show instead of the wordpress comment section, an iFrame of the comment area of Discourse and enjoy all the real-time goodness and cool features!
Edit2: well, this (Welcome to The Internet of Compromised Things ) is very close to what i was talking about but it lacks the possibility to create comments directly from the blog. Would it be possible for the iFrame to include the post creating section?
Thanks but I don’t think that the API provides all the features of Discourse such as the bar with the summary , likes, flagging, bookmarking, mentions and so on.
Moreover, the comment sync back and forth (wordpress to discourse and back) is never quite stable, some comments are missed and weird conflicts are formed.
Lastly, it is super complicated to create this sync. while embedding Discourse topic, and setting display: None to the first post and the header should be easy and maintain the full functionality of Discourse without need to sync anything
I mean, apply this css to the page we are viewing right now: