Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Is Voting addon compatible with 2.1?

hydnhydn New
edited February 2013 in Vanilla 2.0 - 2.8

Is Voting addon compatible with 2.1?

Comments

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    If the addon here does not specify that it is, then it is not. 2.1 is not out for mass use yet and many plugins are not going to work. You can try to make it work or wait until the official release.

    Vote Plugin
    Requirements=Vanilla 2.0.17

  • most of the time changing &$Sender to $Sender makes most of old plugins work.

  • My guess is that it will work, it is featured in the master branch on GitHub. The required version is stated as equal to, or higher than 2.0.17

    https://github.com/vanillaforums/Addons/tree/master/plugins

  • businessdadbusinessdad Stealth contributor MVP

    @martz said:
    My guess is that it will work, it is featured in the master branch on GitHub. The required version is stated as equal to, or higher than 2.0.17

    Unfortunately, that is not always the case. For example, Vanilla 2.1 implements a slightly different event system, therefore a plugin that relies on 2.0 event system could be enabled under 2.1 (because 2.1 > 2.0.17), but it won't work properly.

  • hydnhydn New
    edited February 2013

    Thanks @all! Based on answers given above, will test on clone of live site and report back. Might be a while as I'll be traveling for a bit.

  • hydnhydn New
    edited March 2013

    Ok back. it works except for ONE thing. Clicking to "follow" on a topic from index page show -1 if you click again is goes to -2 and so on. Anyone know how to fix? I tried pasting the voting.js here but it won't take.

  • fr3em1ndfr3em1nd ✭✭
    edited March 2013

    hey, did you install this one ? https://github.com/vanillaforums/Addons/tree/master/plugins/Voting

    or the one from downloads? if you're using 2.1 this one here is compatible.

    or... compairing your existing voting plugin from this one on github might be a good idea

  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    It is a fails safe to keep people from rigging the votes. No not really but that would be a good idea... :)

  • hydnhydn New
    edited March 2013

    Yes, running 2.1 and installed from github: https://github.com/vanillaforums/Addons/tree/master/plugins/Voting

    That has not been updated for a while though from looking at github dates.

    Also, the top of the class.voting.plugin.php file says:

    // Define the plugin:
    $PluginInfo['Voting'] = array(
       'Name' => 'Voting',
       'Description' => 'Allows users to vote for comments and discussions. Administrators get unlimited votes.',
       'Version' => '1.1.3',
       'Author' => "Mark O'Sullivan",
       'AuthorEmail' => 'mark@vanillaforums.com',
       'AuthorUrl' => 'http://markosullivan.ca',
       'RequiredApplications' => array('Vanilla' => '2.0.17'),
       'SettingsUrl' => '/settings/voting',
       'SettingsPermission' => 'Garden.Settings.Manage'
    
  • vrijvlindervrijvlinder Papillon-Sauvage MVP

    Administrators get unlimited votes.

  • hydnhydn New
    edited March 2013

    One problem, I never posted about voting. My post was about follow clicks...

    it works except for ONE thing. Clicking to "follow" on a topic from index page show -1 if you click again is goes to -2 and so on.

Sign In or Register to comment.