@crazycells Could be interesting use case. Else otherwise educate users to do such via private messaging? The latter of which, may well be preferable from security stance? 🤔
Recount Posts
-
Hello,
Apologies if it's something that I've overlooked, but is it possible to recount posts for users?
We've got a few members complaining on our forum who seem to have an incorrect post count showing in their profile.
-
Which database are you using?
-
@baris Apologies for the delay, found I needed to update my custom theme, was using
postcount
instead ofcounts.posts
-
Just a quick one, @baris
I've noticed I also display user post count on their post card.
Example:
That uses
posts.user.postcount
is there an alternative to use, as I don't seem to be able to useposts.users.count.posts
?Also, is there any reason why
postcount
andcounts.posts
is now out for sync only some users, is it now decrepated? -
NodeBB uses user.postcount, is count.posts coming from a plugin?
-
@baris I noticed that persona theme (which our theme was originally based on) now uses that on the profile page rather than postcount, I thought something had changed.
Some reason that seems to return the correct post count compared to postcount, but the issue on is only on a few of the 8000+ members we have.
-
Ahh right the counts in the user dropdown. They are more accurate as they are calculate every time that page is loaded. And they take into account private categories that the user can't read.
user.postcount
on the other hand is the total number of posts made by the user in all categories. -
Ah right, I seem to have the opposite on my site,
user.postcount
shows less thancounts.posts
But not to worry, now that I understand the differences.