Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Badges

tester13

About

Username
tester13
Joined
Visits
54
Last Active
Roles
Banned
Points
5
Badges
1
  • Voting Addon : Default Sort

    Yeah, it is simple.


    ***** voting.bak
    // No sort was specified so grab it from the user's preferences.
    $Sort = Gdn::Session()->GetPreference('Plugins.Voting.CommentSort', 'popular');
    } else {
    ***** CLASS.VOTING.PLUGIN.PHP
    // No sort was specified so grab it from the user's preferences.
    $Sort = Gdn::Session()->GetPreference('Plugins.Voting.CommentSort', 'date');
    } else {
    *****

    ***** voting.bak
    if (!in_array($Sort, array('popular', 'date')))
    $Sort = 'popular';
    self::$_CommentSort = $Sort;
    ***** CLASS.VOTING.PLUGIN.PHP
    if (!in_array($Sort, array('popular', 'date')))
    $Sort = 'date';
    self::$_CommentSort = $Sort;
    *****

    matt
  • Allowed HTML Tags

    I got it.
    Htmlawed plugin is hidden in Vanilla, and I do not see mentioning of it anywhere in docs for users.
    I think that it needs normal settings in dashboard with ability to define tag.
    And even better is ability to remove such plagin and add necessary functions to the core functionality of Vanilla.
    Pamela