<img height="1" width="1" style="display:none" src="https://q.quora.com/_/ad/10b616b60fad4a51aa023ade12476783/pixel?tag=ViewContent&amp;noscript=1">

How to Use Vanilla Comments Without Wordpress

Posted by Adrian Speyer on Mar 6, 2015 4:20:01 PM
Find me on:

3 minute read

vanilla-comments

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:

Blog Comments Embed

You want to make sure you have enabled embedding. The next step is to select the Universal Code setting tab:

Blog_Comments Universal Code

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.

Blog_Comments_Universal-Code

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:

Blog_Comments_-_comments-settings

That's it! If you'd like to see how Vanilla Comments work, leave a comment below.

 

Topics: News, Product

Related posts

Subscribe to the Community Corner Newsletter and get expert insight and analysis on how to get the most out of your online community every Friday.

Search this blog

Recent Posts

Gaming Launch Guide

Have an Article for Vanilla's Blog?

Send us an email to pr@vanillaforums.com with your topic idea and we'll circle back with our publishing guidelines.