-
Configuring the WebServer
Vanilla Forums Cloud runs on nginx. This is the only officially supported and maintained configuration. Vanilla does provide a configuration for Apache, but it is not in active use by Vanilla Cloud. Other web-servers such as IIS are capable of running Vanilla, but will need to be configured properly. Vanilla does not…
-
What is an Addon?
Vanilla is a very customizable, flexible platform because there are many ways to hook into it without ever modifying its code. There are normal vanilla addons and themes. Themes and addons are very similar, but serve different purposes. Addons and Plugins and Themes - Oh My! Before Vanilla 2.5 there were plugins,…
-
Importing to Vanilla
Already have a community on another platform? Great! We have a tool called Vanilla Porter that can help you migrate from many other popular platforms. Overview Download Vanilla Porter Vanilla Porter is a tool that you can upload to your current web server to run in your web browser. It exports any platform to a generic…
-
What is Dependency Injection
Overview Dependency injection is a programming technique that makes a class independent of its dependencies. It achieves that by decoupling the usage of an object from its creation. Imagine you have class Page which requires Request and Permissions in order to function. In the most naive implementation you might see…
-
Javascript & CSS Quickstart
Looking to add Javascript & CSS to Vanilla? This is the place to start. There's a few different ways to do this, but some are easier and more optimal. Adding JS inside of an Addon Before continuing with this, you need to have and addon. If you don't have one already, see the Addon Quickstart Guide. Using Typescript Modern…
-
Developers Overview
Welcome! Please be aware this version of Vanilla Forums' developer documentation is a work in progress and is currently incomplete. During this interim period the previous version of the documentation is available on docs.vanillaforums.com. Welcome! The Developers section is primarily targeted at software developers who…
-
API v2 Overview
Looking for the APIv2 swagger reference? You can find it in you dashboard in the APIv2 section, or in our full API reference. Note that the reference in the dashboard will always be more accurate to what is available on your site than the full reference. Overview We've rebuilt Vanilla's API from the ground up to enable…
-
General Development Troubleshooting
These are some generic tips for addressing problems during an upgrade or installation. Delete cache/addon.php so that the plugin and theme mapping rebuilds itself on the next page load. Set $Configuration['Debug'] = true; in your conf/config.php to reveal full error messages. Remember to remove it when you are done. Clear…
-
Sending Emails
The Garden framework includes an Email object for sending and configuring emails. The formatting of Vanilla Emails is handled by the EmailTemplate property of the Email object. EmailTemplate The EmailTemplate object helps to organize the components of an email and prepare them for output. These components are: Title: A…
-
Database Layer
Vanilla only supports MySQL. It has a generic SQL driver implementation built on top of PDO to potentially allow for other databases (which you can see in /library/databases). However, at this time, the Vanilla team has no plans to support additional databases. The best way to access the database is via existing models.…