Hey @jacin, the WP Discourse plugin does not currently support connections with multiple discourse instances from a single wordpress instance.
Your solution will depend on what you’re trying to accomplish:
Publishing WP content from one blog to multiple discourse instances?
Allowing users on your discourse instances to login with their WP account?
Both?
Seperately, are each of the 9 isolated forums currently active? Have you considered making them a single forum with different categories for different language groups?
Thank you so much @angus , I’m looking to publish WP content from one blog (with multiple languages) to multiple discourse instances. As this is something the WP discourse plugin doesn’t handle I decided not to continue with this approach.
Regarding your question abut the 9 communities, we are a company about HR and the regulations, laws and most stuff is different per country.
Hi @angus, I’m in a similar situation to @jacin - we’re looking into having separate Discourse sites for each country as laws and procedures vary by country but do not really overlap much. So there’s no real benefit to having a single forum, and it will likely just lead to confusion amongst users, and additional admin overhead in terms of keeping things separate etc.
So we need a single (multi-language) WP site to publish (language specific) blogs to multiple Discourse sites. How would you recommend we do that? Thanks.
Just with my community consultant (and lawyer) hats on, I’d (informally, non-professionally and non-legally) advise you against this. There are a number of benefits in having a single forum as opposed to multiple. In fact, in my experience having multiple forums will lead to more user confusion and admin overhead, not less.
I’m not entirely sure what laws and procedures you’re referring to, but if it’s privacy regulation (e.g. the GDPR), my (informal non-professional non-legal advice) would be to comply with the most stringent (i.e. the GDPR). Many multi-national / trans-national forums work well on this basic principle.
In terms of running a multilingual community I’d suggest taking a look at these topics
But if you have your heart set on multiple forums, while the WP Discourse plugin does not support this out of the box, it does have a flexible PHP interface which could be used to achieve that kind of integration. You’ll need to create your own custom Wordpress integration to use it. If you’re resourced to handle that I can guide you in the specifics of the implementation.
Thanks @angus. I did read through those threads, and have also looked at the multilingual plugin which I think looks really good. I’m just not sure it’s right for our use case.
We’re building a site where e.g. home owner associations can host online discussions for their members. We would use one category per association in order to keep discussions private to the group, but we would also have a common area with information about local regulations etc. Aside from some general support about how to use the site etc., I don’t see that there would be much overlap in terms of the content/discussions at each location: Home owner associations are by their nature local and concerned with local regulations. So I’m not really seeing the benefit in using a single forum. We would have to dynamically change the names of the support categories, and do a lot of tagging of the topics in them to ensure that users are shown the right support etc. We wouldn’t need to worry about that with separate sites for each country unless I am missing something.
We’re just at the beginning stages so we don’t need it just yet, but I am wondering how hard it would be add the option to link multiple Discourse sites to the WP Discourse plugin? I could definitely provide some developer capacity for that - thanks for the offer of helping us to get started. I might just take you up on it
Has anything else materialized from this discussion?
I run Discourse forums on my ecommerce site (for regular customers), but I’m starting a premium program soon, and I’d like to provide forums for only those users.
Based on this discussion, I’m not seeing a realistic way for me to do this with one WP installation and 2 Discourse instances.
This setup is preferable to an entirely new domain for a slew of reasons—cost, hassle, branding, and I already have a sizable audience on the existing domain.
My problem is all my power users are already level 3. How can I quarantine a category or sub-forum for only new users (and making new users level 4 is not an option).
Will I need to go through and demote all level 3s and then make it so nobody is ever auto-promoted beyond level 2?
Also unsure of how to “tag” (programmatically) the new subset of users who will be premium.
Let’s say my users are on 1-year licenses, and their license expires. How can I automate the connection between WP and Discourse so access to the forums is only granted while a license is active?
(Right now, users are activated into the forums immediately, and nothing happens to their access when their account expires—unless I intervene manually. And even then, it’s a denial-of-service kinda thing and not a graceful “you do not currently have access to this resource” kinda thing.)
I’m using Easy Digital Downloads. What I need to know is the webhook to use in WP Discourse to handle this kind of thing; I have no expectation that a Plugin exists to solve my problem.
You seem to be saying here that users have a licence on Wordpress and you want their access to Discourse to be dependent on it.
You seem to be saying here that the “licence” you were referring to above is a product you’re selling through Easy Digital Downloads? If this is the case this is not about webhooks.
I think you need to hire someone to help you with the specific setup you’ve got going there as you’ve gone beyond the WP Discourse plugin here. You can describe your usecase in marketplace and you’ll get some folks who can help you out.
Based on your example code for WooCommerce, it looks like I need to pull in Discourse Utilities from the WP Discourse Plugin and then determine which action points—hooks—I need to identify in Easy Digital Downloads to use to make adjustments to people’s accounts.
(This is the “automated connection” I was talking about.)