Best Of
[Tutorial] Migrating Vanilla 2023 to Flarum
Hello,
Seeing as it is impossible for me to build or get an updated version of vanilla built, following @Linc 's advice I am migrating my site even though I love Vanilla.
I wish I didn't have to do it.
I leave you a small guide of what I did for anyone in my situation.
Migrating DB
I try 2 tools. With this I get convert the vanilla's data base to flarum. The conversion was poor.
You can export reactions manualy like likes or with the plugin reactions. If you need help to import likes, write me and I help you.
I think this is better tool, but I don't get it works: https://github.com/linc/nitro-porter
About flarum
It has an active community, plugins updated and a builded and updated release.
Its easy to install, only upload files and install.
https://docs.flarum.org/install/
If you use Rich2 on Vanilla
I prefere Rich2 text editor of vanilla, but you can use wysing with flarum.
With the tool I used, you can't convert posts.
You have to convert from json to html on vanillas database and then export.
I have wrote a script to do it. If you need it, I can share you It. Only write me.
A shame we have to leave Vanilla. I may be stupid, but I am not able to compile it.
Number of posts in the category and next page
23 posts have been shared in my category, but the next page is still inactive.
Where can I check the number of posts to be shown in the category and activate the next page.
I want to activate the next page feature in this screenshot
Re: What's the easiest method to assign value from PHP to smarty?
I was wrong with that base_render_before thing. Try this:
public function base_beforeFetchMaster_handler($sender, $args) { $sender->setData('Hello', 'World'); }
Re: What's the easiest method to assign value from PHP to smarty?
You would print it out with {$Hello}
Re: Vanilla 2023.008 Open Source Release
Nope, I have been testing on Php 7.4, Not sure about Php 8+, By the way anything on below issue?
https://open.vanillaforums.com/discussion/39328/analytics-not-working#latest
Re: New Install and I am getting weird issues
Seems its an issues with the new htaccess file and the old one solves all my issues, anyone else having this issue just use this old one!!
https://github.com/vanilla/vanilla/blob/Vanilla_2.2/.htaccess
Re: how do you set up the oath for each social sign in
Here is the errors I get with sign in problems.
As I know you have to create Oauth credentials to allow it to work.
that is what I want.
Are these correct.
Re: Remove quilljs/delta WYSIWYG Code
I think you want this: https://discuss.flarum.org/d/31776-ready-to-migrate-to-flarum-i-may-be-able-to-help/24
No, you cannot "remove" the Quill code from the database directly. Nitro Porter converts it for you; it's quite complicated and cannot be done manually.
I am having trouble finding the correct syntax to print out the domain name in the email template.
Email template file path: applications / dashboard / views / email / email-basic.tpl
<a href="https://mydomain.com/profile/preferences">unsubscribe</a> here
I don't want to hard code the domain name. What is the syntax to print the current domain name out. Thanks.