The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Thread Count
I'd love to see a 'thread count' plugin, that displays the total number of threads a user has posted, above the post count in the postbit.
Threads bring more activity; thread count encourages more threads. Thanks. |
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
Try the attached Product XML.
It does not add any Queries (except a few while importing) and should work everywhere (eg Postbits, Profile, Memberlist, etc.) For Postbit: $post[threads] For Profile: $userinfo[threads] Generally: $userinfoarray[threads] Let me know if it does what you want. Note: It does not take moderated/deleted Threads into account - it's just the raw Number of Threads the User ever has started. |
#4
|
||||
|
||||
Would there be a way to add moderated and deleted threads adjustment to this? It would be more accurate that way.
|
#5
|
||||
|
||||
With some more logic (=overhead) - sure.
But i'm too lazy to do that Fell free to add it. |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
Actually not that complicated m8 ... Hooks threaddata_delete (decrease threads by 1 for userid=postuserid), thread(fp)data_postsave (check if it changed moderated/deleted status, change threads for userid=postuserid)
|
#8
|
||||
|
||||
Now, Kirby, you know if I attempt to figure out what you just said and try it, I am only going to hurt myself, and maybe really bad this time. Do you want that on your conscience? hmmmmm?
|
#9
|
|||
|
|||
Hello Kirby ,
It Work fine , is there a way to know how much posts , Like how much theards , Example , theards is : $post[threads] Replies: $post[replies] All : $post[posts] please help Regards |
#10
|
|||
|
|||
Hello , KirbyDE
Please help , I need the modify code important please , do your best to help me , Regards |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|