View Full Version : Thread Count
Trickyphillips
08-05-2005, 05:58 AM
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.
Hemmelig
08-25-2005, 08:27 AM
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.
I miss that to.
Andreas
08-25-2005, 11:11 AM
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.
Boofo
08-25-2005, 12:19 PM
Would there be a way to add moderated and deleted threads adjustment to this? It would be more accurate that way. ;)
Andreas
08-25-2005, 06:56 PM
With some more logic (=overhead) - sure.
But i'm too lazy to do that ;)
Fell free to add it.
Boofo
08-25-2005, 07:39 PM
With some more logic (=overhead) - sure.
But i'm too lazy to do that ;)
Fell free to add it.
If I knew how to do that I wouldn't be asking you, sir. ;)
Andreas
08-25-2005, 07:44 PM
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)
Boofo
08-25-2005, 08:48 PM
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? ;)
ForYou
09-02-2005, 09:55 PM
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
ForYou
09-03-2005, 10:19 PM
Hello , KirbyDE
Please help , I need the modify code important please , do your best to help me ,
Regards
Hemmelig
10-25-2005, 04:31 AM
It says 0 threads in my forum. What did I do wrong?
TCattitude
03-25-2006, 11:21 PM
Same question from here:
https://vborg.vbsupport.ru/showthread.php?t=110785
...somebody know and can do this? Please?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.