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.

How change the number of views with "1.3K" at "1300" at home page

battersbatters New
edited June 2011 in Vanilla 2.0 - 2.8
is it possible to change the view number of views with "1.3K" at "1300", when using plug-in Voting
Tagged:

Best Answers

  • yu_tangyu_tang New
    Answer ✓
    See class.voting.plugin.php.
    Wrap(T('Views')) . Gdn_Format::BigNumber($Discussion->CountViews)
    try to remove the BigNumber() function.
  • yu_tangyu_tang New
    Answer ✓
    Just remove only function call. Do not remove the argument.
    The removal part is shown in bold in my previous comment.

Answers

  • yu_tangyu_tang New
    Answer ✓
    See class.voting.plugin.php.
    Wrap(T('Views')) . Gdn_Format::BigNumber($Discussion->CountViews)
    try to remove the BigNumber() function.
  • battersbatters New
    edited June 2011
    does not work. when i remove this code: . Gdn_Format::BigNumber($Discussion->CountViews)
    disappear completely numbers from views
  • yu_tangyu_tang New
    Answer ✓
    Just remove only function call. Do not remove the argument.
    The removal part is shown in bold in my previous comment.
Sign In or Register to comment.