@Hari Don’t go down the docker rabbit hole unless you really and truly need segregation between hosts. Flarum doesn’t need this level of complexity 👍
move out from flarum to wordpress
Hello, i am moving out from flarum to WordPress. my friend is working on the gatsby + WordPress implementation part and i am supposed to migrate all flarum data into WordPress.
as i can see we can export MySQL data to excel and manually use any WordPress importer to import.
sir, do you suggest any other alternative? like json to WordPress auto import? i am asking this question because you have worked on some kind of json to flarum post creation since you have a good grip on this i thought of getting a suggestion from you.
@hari this isn’t going to be easily accomplished owing to the nature of how data is stored in the Flarum database. Exporting the data is a relatively simple affair, but getting it into WordPress is another headache altogether. The two systems are completely different and you’ll need a way of being able to map posts to users which is the more difficult part.
I’ve managed to do this successfully in reverse - WordPress to Flarum by using a nodeJS script to convert a WordPress export file into markdown format. This wasn’t too bad personally as I leveraged the Flarum API to do the import but then had to manually change author and tags to suit which was quite laborious.
If you have a small amount of posts, this is sustainable. With a large community, you’ll need automation to handle as much of the heavy lifting as possible.
There is no Flarum to WordPress exporter I’m aware of, so you’d need to write your own. If you also have a list of accounts in WordPress, then these will need mapping to the relevant users in Flarum.
This isn’t something I’ve done personally, but I can certainly help. As you know, I know both ecosystems very well, but you should be prepared for quite an uphill struggle and you won’t get any support from Flarum itself as you can imagine.
@Hari I forgot to ask. What’s the genesis for wanting to move out of Flarum ?
@phenomlab first i will try to migrate data
What’s the genesis for wanting to move out of Flarum ?
we want to go serverless CF pages with gatsbyJS and wordpress in the backend.
flarum is not SEO friendly, it’s good software for large communities like eBay, Dell, Synology …etc since they have huge traffic large forums easily get recognized.
the biggest drawback is flarum is not cache friendly like WordPress
extension devolvement is very expensive.
go to the Average Linux User page and try to comment, it’s so simple that is all i need.
in the next one or two years, we will definitely gain a large userbase in that scenarios we can not afford hosting to support flarum
since our domain name is very large we do not want to host flarum in a subdomain. when we enable gatsby we can not host flarum with gatsby
these are many reasons we are moving away from flarum (dynamic site)is also the best alternative for enabling comments on static pages.
Flarum do not have guest posting https://www.digitalocean.com/community/questions/new
see how simple digital ocean is https://www.digitalocean.com/community/questions/can-i-add-another-directory-beside-wordpress
it’s not like i hate flarum or discourse, I don’t fit in that ecosystem.
@hari there’s something fundamentally wrong with this statement in my view
System instability with 2000 users on a 32 vCPU system doesn’t ring true to me without immediate questions being raised around the design and overall architecture of Flarum. That’s not a low powered system, and if it’s being overwhelmed by something like Flarum, then the design is completely flawed in my view.
for the last two weeks, i was thinking to move flarum to a subdomain, now I am mentally ready to move out. i installed a fresh WordPress in a test environment and now creating posts with WordPress CSV importer.
With a large community
I have 986 users and 1.2k discussions do you think its large? a year ago when i used to have around 800 posts i have manually imported posts and comments using CSV importer.
we need to change user IDs to email IDs and flarum discussion IDs to wordpress post IDs same for the comments too, this gonna be a roller coaster ride.
Sir, if there is any easy automation script that would really help. but in my view, it will take an equal amount of time to write code or to perform CSV import what do you say?
sir, i am going forward with manual import wish me luck
@hari good luck ! Let me know if you need any help. 1 2k posts isn’t much and you can batch create the users
this is not a good decision, moving flarum to subdomain
it is something we want to move out and we miss a few features + a huge migration process.
a few hours ago flarum released v1.2.0 now setting up a new digital ocean droplet
@phenomlab moving away from the existing ecosystem, migration time, the development time of new gatsby based forum = lot of time-consuming and expensive (this is what my friend told me and convinced to move to the subdomain)
@hari I’d agree with that statement and sentiment. In essence, moving Flarum to a subdomain IS actually the right way of doing things, and you should let WordPress handle the login and registration process.
sinanisler last edited by sinanisler
*i know its a bit old post but I wanted people to find solution
i moved my forum flarum to WordPress.it is basically connecting the flarum db selecting tables and putting them on wordpress post/users/categories
here is the importing script we used flarum -> wordpress
code a bit messy but my friend will clean it up soon hopefully
I am developing the theme rightnow it is almost ready .
when it is finished I will release here free and open source.
here some sexy sexy looks from Wordpress
@sinanisler nice work ! Welcome to Sudonix
@sinanisler as a side note, the below GIST appears to include your database password. I’d strongly recommend remove this sensitive information, and also changing the password if this is actually used on any production installation
sinanisler last edited by sinanisler
@phenomlab its ok
i always make my passes random and that server/db already shutdown.
@sinanisler OMG this is great news for me.
i have a WordPress flarum like theme if you want i can send the theme files, we almost worked for 3months on it [on and off]. (i am not a dev someone in the past worked for it.)
it has deep integration with wpDiscuzz with features like move post and few other important features.
in fact i was thinking to share it to the public but it is still buggy.
as you are already working and saying it is at the final stage i am not going to miss this.
after all, this being minimalist is very important to stay close to the updates. wpdisuczz is something interesting but it is complicated to maintain a theme.
This is WordPress
We have also implemented the YARPP related post with CRPT custom related post type
i will try to bring that project online and share URL here so you can review . it is bit slow but i will share the code which will be helpful to build related post.
i am all in on this
@hari you might want to check back here
i regret for not subscribing to the email notifications of sudonix