Version: 1.0.1, by Boofo
Developer Last Online: Jun 2012
Category: Miscellaneous Hacks -
Version: 3.5.4
Rating:
Released: 05-08-2006
Last Update: 05-13-2006
Installs: 50
Uses Plugins Template Edits
No support by the author.
vB3.5.4 Threads Started by User in Postbit and Profile
Version 1.0.1
(By Andreas, Boofo, Hambil and Paul M.)
What does this product do?
This product counts the threads started by a user and displays it in the postbit and the profile. It will also display the threads per day in the profile. The thread count is automatically updated hourly via cron job. New threads are added to the count in real time. No extra queries are run in the postbit or profile when getting the thread count, only when the cron job runs. This product has been tested on a live board with over 15,000 users and 40,000 threads and ran unnoticeably in the background in 0.3 seconds during the cron job update. This product only counts valid threads (not moderated or soft-deleted threads).
NOTE: This Hack requires at least mySQL 4.0.4
Version Information:
Version 1.0.0 --Initial release
Version 1.0.1 --No longer counts threads in forums that have the "Count Posts Made in this Forum Towards User Post Counts" option set to No. Also made the posts and threads counts in the postbit clickable search links like in the profile.
NOTE: You must redo the postbit template edit to get the clickable links.
Credits:
Thanks goes out to Andreas for the original version of this product. Thanks also goes out to Paul M for coming up with the way to update the thread count without adding a query to every post, and to Hambil for coming up with the way to not count threads in forums where the "Count Posts Made in this Forum Towards User Post Counts" option is set to No. Thanks guys!
Details
---------
1 Product XML (4 Plugins, 2 Phrases)
dont know, maybe I wanted to try it first or maybe I wanted to say this when posting at the first post, but I always can't catch it.
But does it work in postbit_legacy ?
Yes, it works fine in there but as I don't use the posbit_legacy, I didn't include the code for that. But it should be basically the same thing I would think.
You guys might want to click install for this as I am planning on adding some more to it soon.
in there. You have a very heavily modified postbit_legacy template. You need to just add the code where you want it to show then. The code I posted above I got from doing a Show Default for the template. That will tell you where it should be at in an unmodified template.
Thanks Sir. so much for your efforts. I think I'm getting better in my 2nd week installing and dealing with hacks. Waiting for the next versions. Here's before and after. :banana: