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 comment count

How can i change the comment count into normal without the K behind it? Lets say: there a 1200 comments given on a topic. Under the comment it is displayed as 1.2K . But i prefer 1200 to be displayed...

Tagged:

Comments

  • You probably want to override the Gdn_Format::BigNumber() method. You can find the base file in /library/core/class.format.php.

    Make it a soft modification by wrapping it in a plugin.

    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.

  • thanks @hgtonight. It is better to change it with a plugin , i know you told me already, the core files won't get changed.

  • @jackmaessen said:
    thanks hgtonight. It is better to change it with a plugin , i know you told me already, the core files won't get changed.

    I wasn't trying to rag on you. It is for future readers of this thread. They probably won't know me or you or anything else that isn't in this discussion.

    That is one of the primary reasons it is important to give a numerical version of Vanilla for every discussion.

    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.