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 can I get the total number of posts of an author?

edited July 2011 in Vanilla 2.0 - 2.8
I am editing views/discussion/helper_functions.php to fit my needs, and I want underneath the profile picture to show the total amount of posts this author already has made.

I see no such property in the $Author-object. How can I achieve this? Or do I have to make a custom SQL-call?

Best Answer

  • Options
    lucluc ✭✭
    Answer ✓
    Check the postcount addon,


Sign In or Register to comment.