The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
separate post count in postbit for non-postcount forums?
I assume I'd have to edit the postbit template, but with what?
I want to make a new post count bit, after the "Post Count:" but how would I go about adding a separate post count in postbit for non-postcount forums? |
#2
|
||||
|
||||
Hi,
Any answers? Lynne is usually so good at replying to issues, did you miss this one? Or anyone whom is able to help, please, just drop me a reply here Cheers |
#3
|
||||
|
||||
Quote:
You have a couple of options. One, you can write a plugin that does a query for each user to count this separate post count for you. It will add one query per post. Then you can spit that variable out in the post. Two, you can write a series of plugins to keep track of the post count in a new field you would need to create in the user table. Then you can grab that field when you do the query for posts and it won't add any queries to the page. This method is probably preferable since you won't be adding so many queries per page, but it will take more effort on your part to write. |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
If you did just one plugin at the post function, what about if a user deletes a post? There is deleting via ajax and via post edit and via mass delete and via thread delete and change of forumid by mass moving or moderator action or.... a couple of those may be the same plugin, but I know they aren't all the same one.
|
#6
|
||||
|
||||
it does sound complex, anyway :P
|
#7
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|