Best Of
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.
Re: Vanilla 2023.001 Open Source Release - PHP 8 Works! (Built From Source)
For update my 2021 Vanilla, I Only have to replace all files?
Thanks.
Update:
Re: Avatar First Letter plugin - Does it work with Vanilla 3.x?
Sorry, I will not fix this. I do not see an obvious error in the plugin which could cause that error. I would have to dig into the source code of Vanilla, maybe even do some debugging to understand again what is going on. That's far more effort than Vanilla is worth for me nowadays, sorry.
But being asked for advice: either build up some php skills or switch to a end-admin-user-friendly forum. If you try to fix things on your own, search Vanillas source code for "photourl" and watch out for e.g. NULL values where a function might expect an empty string.
Search the source code for userPhotoDefaultUrl and see what's being passed to that function

Re: Vanilla 2023.001 Open Source Release - PHP 8 Works! (Built From Source)
@Bleistivt Just to explain what seemed to have solved the problem on the actual server:
After copying all your files over e.g the 2023.001 again I got a internal server error 500 when looking in the plesk log files it seemed to point to SQL errors so I renamed config.php to config.old and went to dashboard setup which loaded up this time after that I just performed a normal install and it was up and running... So it seems to be an outdated SQL database for some reason doesn't explain why it didn't work on my test setup though (Which I still want to find out) but there you go...

Re: what happend? more than 300 online
It's been broken since August. It no longer removes users, so it's every person that's been online in 5 months.

Re: Vanilla 2023.001 Open Source Release - PHP 8 Works! (Built From Source)
@pioc34 Sorry, you probably had a version between releases from GitHub installed where these files have been present for some time. There is also a new minor version available that has been adapted to the new dashboard side menu: https://github.com/bleistivt/yaga
@Patmac Create a local directory where you collect your downloaded plugins and applications. Then delete everything except for the /conf and /uploads directory. Now you can upload a clean copy of all files and merge the plugins and applications folders back in.
Re: Vanilla 2023.001 Open Source Release - PHP 8 Works! (Built From Source)
There's new code in applications\dashboard\settings\structure.php (not present in 2022.024)
// Remove legacy Plugins Gdn::config()->removeFromConfig($LEGACYADDON); // Keep this until we have deprecated the ProfileExtender addon. if (Gdn::config(ProfileFieldModel::CONFIG_FEATURE_FLAG) && Gdn::config("EnabledPlugins.ProfileExtender")) { Gdn::config()->saveToConfig("EnabledPlugins.ProfileExtender", false); }
So you can $Configuration['EnabledPlugins']['ProfileExtender'] = true; in config.php to have old plugin forced enable.
But should be the new system (ProfileFieldModel::CONFIG_FEATURE_FLAG)

Re: Vanilla 2021.009 Modified For PHP 8 Support
Hi All,
Please have a look at the above thread - I have built 2023.001 from source this morning and all of the issues previously reported appear to be fixed.
Will continue to test this build but have not found a single thing wrong with it so far! :D
It also works on PHP 8.1.12 and PHP 8.2.1! :D
Re: Where do we go now ?
Who knows? There might be use case still!
I am looking into Flarum as a possible alternative but if Vanilla ends up working under PHP 8 then tlit gets my vote (have a large forum I'd like to migrate, the only thing stopping me is PHP 7.4's upcoming end of life in less than a month
Re: Where do we go now ?
Started using Vanilla since 2010 and till now I think my version is still on an old 2.4 version. Sad, there is a popular saying in my country "There's no forever". Quite difficult to move as I'm also considering my google ranking. Question now for me is... should I shift to a different platform like Flarum? but i heard SEO Sucks as it's a javascript generated engine, so Is it really worth moving to? Plus the fact that Forum in general is dying. Thanks to Facebook groups 😡. Perhaps if Facebook group dies then internet forums might come back (again there is no forever).