HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Vanilla Voting 0.2beta 0.2beta

Discussion and comment voting. version 0.2beta
Do not use it on production sites, it's a beta and things can/will change by the time a final is released

Installation

In order for Vanilla to recognize an extension, it must be contained within it's own directory within the extensions directory. So, once you have downloaded and unzipped the extension files, you can then place the folder containing the default.php file into your installation of Vanilla. The path to your extension's default.php file should look like this:

/path/to/vanilla/extensions/VanillaVoting/default.php

Dependencies

This extension requires Jquery extension to be installed and enabled before this extension.

There are some changes required in the core for this to work. You will have to download some files from vanilla SVN. These are the files that you need

overwrite your files with these ones . Look for this code in Vanilla.Class.Comments.php $this->DelegateParameters['DataSet'] = $DataSet; and replace it with $this->DelegateParameters['DataSet'] = &$DataSet;

Once this is complete, you can then enable the extension through the "Manage Extensions" form on the settings tab in Vanilla.

Configuration

Vanilla voting has category specific and role specific voting configuration.

  • Role specific configuration can be done in the "Roles & Permissions" section in the settings tab. There you will find 2 options. "Allow voting for discussions" and "Allow voting for comments"
image
  • Category specific configuration can be done on the Vanilla Voting section for the settings tab
image

Screenshots

Screenshot of vanilla voting for discussions. click the up or down arrows to cast your vote, once you have done so the buttons will be disabled and their state will reflect your vote. So for eg, if you voted with an up arrow, the up arrow will appear pressed.

image

Screenshot of vanilla voting for Comments. Comments that you voted negative will appear collapsed, You can expand them by clicking on "Show/Hide comment"

VanillaVoting-Comments




Support this extension

Questions