Ready to give up on nodebb. nodebb-plugin-import phpbb
-
This is what I've learned. This plugin will need to be updated as it won't work with anything as of phpbb 3.2. The last version to use those columns was 3.1.12.
Since I don't know how to modify the plugin, I guess I have wasted weeks of time trying to convert to nodebb. No idea where to go from here.
-
@nodeham i can help out updating the php plugin, did you consider sending a db dump?
or @Freelancer can, it's basically going to consist updating this file
https://github.com/psychobunny/nodebb-plugin-import-phpbb/blob/master/index.jsto match the new phpbb 3.2 schema, shouldn't be that bad to be honest.
-
@freelancer said in Ready to give up on nodebb. nodebb-plugin-import phpbb:
Exporting and importing done and it deleted BBCodes but sadly HTML tags remain which made trouble.
which HTML tags exactly? can you share a sample post?
if the bbcode tag is not supported, I usually them here
https://github.com/akhoury/bbcode-to-markdown/blob/master/src/newBBCodeTags.js
or here https://github.com/akhoury/bbcode-to-markdown/blob/master/src/newToMarkdownOptions.js if it's a weird HTML tag that's native.Assuming you've ran the Conversion process after you were done importing
-
also, im confused, it seems as @Freelancer has made progress, but @NodeHam is not aware of that progress.
-
@bentael Sorry,
I have done the conversion but still it has few dublicates and posts had HTML tag in which made trouble for @NodeHam .
Yeah, I already edited that file and matched it. Conversion done and upgrading also done successfully. What remained was the HTML Tag inside posts and they were even in Description.
Otherwise not sure what NodeHam trying to do. Maybe he wants to do the conversion again.
-
Yeah, HTML Tags seems also native to me as I couldn't even remove them. @NodeHam Looks like HTML tags are native and remained while converting.
-
@freelancer PLEASE share a sample of the html tags that are left behind if you can, and share what settings you're using during import and conversion.
-
@pitaj The problem is that I prefer not to post the domain information publicly since I'm not the owner.
Yes, since freelancer wasn't able to complete this, I've been trying to do it on my own since then otherwise, it is weeks of lost time with nothing to show and still no chance of using nodebb.
-
Ok, let's see if I can clear some things up :).
I hired freelancer on freelancer to convert a small phpbb to nodebb. After spending a lot of time on it, we ended up with a nodebb that had all sorts of bb/html code stuck in all of the posts, even categories text.
He spent much more time than expected on it so I didn't want to keep burdening him to keep working on it so figured I would try it for myself.
I can clearly see that the db column names have changed which is the problem but trying a number of things have failed. About the only way I could continue would be if I knew how to mod the nodebb import plugin but that is beyond my knowledge so am stuck, hence, posting for ideas on how to proceed.
Today, I also confirmed how far back the phpbb version I have is and it seems the nodebb import plugin works with the newer version.
Therefore, one more option is to try upgrading phpbb it to the most current then trying the plugin. Everything is backed up so I have nothing to lose by trying this next.
Why don't I try that first and if I cannot solve it, I'd love to take you up on your offer to help. That would be very appreciated.
-
PLEASE share a sample of the html tags that are left behind if you can, and >share what settings you're using during import and conversion.
I'm trying to reach bentael and take him up on his offer to help.
With all of the plugins disabled, I do not see the html codes but the bb codes are still stuck inside of posts. For example, someone posted something in bold and it looks like this.
[b](sleep 10;/usr/sbin/agentfilename)&[/b]
Then all of the urls that were shared in posts are all broken as well.
Again, from someone's post;[url=https://www.xxx.com/item/440602.html?spm=214.1612.4148356.4.61ee94fbI3aniy]EmbPC[/url]
[url=https://www.xxx.com/item/4054.html?spm=a2g0o.product3e0e7c11t922z4&Card[/url]The above is exactly how the shared link looks.
Then, if I enable all of the default plugins again;
nodebb-plugin-composer-default
nodebb-plugin-emoji
nodebb-plugin-emoji-android
nodebb-plugin-markdown
nodebb-plugin-mentions
nodebb-plugin-soundpack-default
nodebb-rewards-essentials
nodebb-theme-persona
nodebb-widget-essentialsthen this adds html code to everything.
For example, the little preview widgets on the side show...
O 10 May 2021, 11:50
<r>I was able to get the software working on the new PC and also got it to runO 24 Mar 2021, 17:15
<r>Here is a short <URL url="https://youtu.be/wf4hDr9hnh"><s>[url="https://youtu.beThe posts are then filled with both html and bb code, in this case, the snippet shows html and maybe bb where it's showing the url.
O
OutagesUser2021 10 May 2021, 11:50<r>blah blah blahI:<br/>
<br/>
blah blah blah: <URL url="https://www.xxx.org/software/">https://www.xxx.org/software/</URL><br/>
blah blah blah<br/>
<br/>I can disable the markdown plugin but then I lose many of the nice editing options such as bold, code, etc.
-
for anyone else migrating from phpbb, my fork of the exporter https://github.com/akhoury/nodebb-plugin-import-phpbb has been updated to support phpbb 3.3 there is also a PR to merge it in @psychobunny 's repo https://github.com/psychobunny/nodebb-plugin-import-phpbb/pull/10
Thanks @NodeHam for providing a database dump.