PDA

View Full Version : Show "real" post count


Mijae
10-01-2005, 09:32 PM
On my boards I have lots of forums that have post count disabled, and I was wondering if there is any way to add into a user's profile the total post count including all the posts he/she made across all the forums.

Andreas
10-01-2005, 09:41 PM
- add a new counter field to table user
- add a plugin to hook userdata_presave
- increase the new field by one when lastpost changes
done (except for handling deleting/pruning posts)

Mijae
10-02-2005, 04:05 AM
Will this include all previous posts?

Evil X
10-02-2005, 04:33 AM
I would think thier would be a query to run to be able to delete the post?

Zachery
10-02-2005, 04:34 AM
I would think thier would be a query to run to be able to delete the post?

He said real post count :p including ones that hadn't be deleted.