Actually *store* comment count?
-
Similar to forums showing the user’s number of posts/comments, I’d like to do the same with the users on my website.
I know I can do this with a COUNT of the database with a user ID…but doing that every time I want to display the user’s comments (under their avatar or wherever) seems like extreme inefficiency.
I’ve looked countless times, but there doesn’t seem to be a plugin that simply stores the count of a user’s comments. When they make one, increment the value in the DB by 1, if deleted, decrement by 1. To fetch value, simply lookup the user_id in the table rather than count thousands and thousands of rows.
Am I thinking about it wrong? Any plugins which do this? Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Actually *store* comment count?’ is closed to new replies.