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.

Change vote plugin sorting default to date instead of votes

edited July 2012 in Vanilla 2.0 - 2.8

Hello, I am using the Vote plugin, and I need to change the default sorting from Votes to Date. How can I do this?

Thanks,

You can see the forum at [snip!]

Comments

  • MunMun New
    edited September 2012

    Ricardo_Viteri

    Hello, I am using the Vote plugin, and I need to change the default sorting from Votes to Date. How can I do this?

    Thanks,

    You can see the forum at [snip!]

    On line 174 of the "class.voting.plugin.php" change "popular" to "date", this should change it for comments, not sure about anything else.

    Here is an example: http://www.town-assembly.com/index.php?p=/discussion/1/working-on-getting-the-site-up-

  • SerdarASerdarA New
    edited December 2014

    I think this is old there is no "popular" tag in 174...

    In 2014 script changes again

    a) In line 137 Must be defaut insted of 140

    then

    b) In line 156 between 164

    All date's must be popular, all popular must be date.

    Two steps work for me.

Sign In or Register to comment.