Uh… I noticed something weird. My backups were about 300 MB before and I noticed that they are now more than 600 MB each.
I’m starting wondering if I didn’t remove some message through rails command a while ago and re-import them again or something like. I don’t remember doing such a thing, but I see no reason to have my backup size doubled… Is there any way to check the total number of messages (including deleted ones)? So I could compare with my phpbb forum number of messages.
edit: nevermind, I used data-explorer and I didn’t see any weird thing. Maybe it was because I had issues with imported images and I had to make a recovery from tombstone, which bringed back a lot of images (currently 300 MB of attached files).
Get the Discourse imported posts from the category of your choice with this query and download the result as a json:
topics.id as d_topic_id,
value as phpbb_topic_id
ON topic_id = topics.id
AND name = 'import_topic_id'
AND category_id = 5
3.Get the phpbb topic list from the category(ies) of your choice from phpmyadmin and export the result as a json:
SELECT topic_id FROM phpbb_topics
ON phpbb_topics.forum_id = phpbb_forums.forum_id
AND phpbb_forums.forum_id = 20
Then you can loop iterate one of your json, and on each iteration if phpbb_topic_id is also present in the second array, then you can move it to a new category of your choice.
To do so I used https://github.com/communiteq/discourse-api-php and added a method to update the category of a topic.
Any update on phpbb 3.2 support? There are thousands of phpbb forums out there and we’d love to move to Discourse if we can save the community. We have 2000 users and tired of looking like it is 2002. PHPBB is a huge pile of old outdated forum principles, extensions that are obsolete and not supported, sprinkle it with a lot of pain in the UI, etc. Everytime we go into the admin control panel, God kills a cat. And the only thing that is stopping us from moving over to something better is exporting all the existing content.
I’d love to work on it but I have no experience in Ruby and database.
After I’ve imported my phpbb topics, the messages containing a youtube link don’t embed the video.
It appears that they uses the following syntax: [youtube.com/watch?v=HT7fbRvx4Sk](http://www.youtube.com/watch?v=HT7fbRvx4Sk)
also wanting to convert from phpbb3.2 to discourse
had a look at my DB, post_text still has HTML format (with t, br, i … tags - no idea what t is ?). Also re-ran reparser:reparse multiple time, but nothing changed in the DB. Does somebody have an example of the xml format ?
also could the few devs here give an order of magnitude for the costs for developing a phpbb3.2 converter ? 1k? 5k ? Maybe we could try to get the money together through some kind of kickstarter ?
finally : should we continue (technical) discussion here or start a new thread ?
Since Gerhard is apparently part-way through his work, it rather complicates giving you a good price since there are many unknowns (I dont’ know about your data or the code the Gerhard hasn’t produced).
If you contact me directly with answers the questions on my above link I could start to give you a ballpark figure if I knew more about your situation. Knowing what I know now, would say that somewhere between $1000 and $5K is probably right.
localhost inside the Docker container is different from localhost on your desktop. You should configure the database host inside settings.yml accordingly if you want to use a remote database. Either use the MySQL server’s IP address or it’s hostname if it can be resolved via DNS.