We made Vanilla Comments integrate easily with your WordPress blog comments, but what if you are not using WordPress? No problem! Vanilla Comments allows users with any blog or website with a unique content id to add a commenting system that can seamlessly integrate with their own Vanilla community.
Can You Use Universal Comments?
What follows are the basics to get you started in a non-WordPress environment (if you are using WordPress read this). It's important to note, though, depending on the platform you are on, you may require more help from your technical team.
To even know if you can use Vanilla Comments on your website, you need to know if your content has a unique id. What does that mean? In your URL, is there a way to identify the difference between two pages? For example in Magento you have a productid, in Concrete5 there is the PageId, in MODX it's the Resource ID, and so on. These are ways to assign a comment box from Vanilla to the specific document on any platform you are using. If you have a way to identify unique content, you can use Vanilla Comments.
Using Universal Comments
To get started with Vanilla Comments, head to your Vanilla Forums dashboard, and look for "Blog Comments" under the "Forum" heading. You will see the following:
You want to make sure you have enabled embedding. The next step is to select the Universal Code setting tab:
On this tab you will find code to paste into your platform you are using, wherever you want your comment box to appear. Usually this will be after the content your platform calls.
Please note, before you paste the code in your platform’s template or theme, you will need to modify the elements highlighted in yellow. The first element you need to review is that the correct full url/path to your Vanilla install is in the code. The second element you will need to add, and that is the code that calls the unique id for the current page. Replace "your-content-identifier" with the appropriate code so Vanilla can connect the discussion created to the proper content.
Finally there are some additional steps, like you can modify Universal Comments code to allow all comments to appear in one discussion thread in your Vanilla Forum, or you may wish to have them appear in a certain category. This can be helpful if you integrate Vanilla Comments into a ecommerce shop where you want all product reviews to be placed in the "Product Review" category.
Some other settings for Vanilla Comments
To control how many comments that will appear on your webpage, how they are sorted, or the trusted domain on which your comments can appear, you have some other settings you can review:
That's it! If you'd like to see how Vanilla Comments work, leave a comment below.