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.

Voting Plugin

Is there any chance anyone will further develop this plugin to add number of voted up points to user profile? and maybe have vote button with vote count embedding option, to attach on a wordpress article for example. (would work great with Vanilla forum integration for wp)

Tagged:

Comments

  • hgtonighthgtonight ∞ · New Moderator

    The voting applies points to the User's score. If the user score isn't already shown, feel free to add:

    public function UserInfoModule_OnBasicInfo_Handler($Sender) {
      echo '<dt class="Points">' . T('Points') . '</dt> ';
      echo '<dd class="Points">' . $Sender->User->Points . '</dd>';
    }
    

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @‌hgtonight by default i don't see neither users score anywhere nor the points being added. In which file should that function be added? and where is the score?

  • I have added it to class.voting.plugin.php and it displays points under user profile however it doesn't counts the points of users.

  • hgtonighthgtonight ∞ · New Moderator

    @MarcusMaximus said:
    I have added it to class.voting.plugin.php and it displays points under user profile however it doesn't counts the points of users.

    Please clarify as I am not sure what this means. Perhaps a screenshot?

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

Sign In or Register to comment.