The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Threads Started by User in Postbit and Profile Details »» | |||||||||||||||||||||||||||
Threads Started by User in Postbit and Profile
Developer Last Online: Jun 2012
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) Supporters / CoAuthors Show Your Support
|
Comments |
#62
|
|||
|
|||
hey boofo, i installed this successfully, except nowhere does it show us how to set up the cron.. can you add that to the instructions? thanks.
|
#63
|
||||
|
||||
Quote:
That's because it uses a hook and does it all automatically. |
#64
|
|||
|
|||
haha great! what i did was i uploaded it, and only put the code in my memberinfo template (i only want it to show up in the profile).
is that the reason it's not working for me? i didn't want it to show up in the postbit templates. if it hasn't been updating, maybe it has to be with my server settings. |
#65
|
||||
|
||||
Make sure the threads it isn't counting aren't in forums where you have the postcount turned off. It will update new threads immediately and adjust it when the cron runs.
|
#66
|
|||
|
|||
ah, i caught the problem. i posted a new thread and it counted fine, but old threads aren't counted. i tried running some maintenance scripts, like updating post counts but that didn't do the trick. was their a step i missed?
|
#67
|
||||
|
||||
All the threads that the member has started are counted when you first install the hack and when the cron runs.
|
#68
|
|||
|
|||
hm didn't seem to work when i reinstalled and overwrote the original file. it's ok though since i'm installing this on a new forum.
|
#69
|
||||
|
||||
darn i need mysql 4.0.4...
|
#70
|
|||
|
|||
threads seem to be counted correctly, but this error is e-mailed to me about once a night. i read someone else received this error too.. it'd be nice to know that everything was running smooth, though.:
Database error in vBulletin 3.5.4: Quote:
|
#71
|
|||
|
|||
I have a user has posted 2 threads, so he's thread's count is 2 which is correct, But when I soft-deleted his 2 threads, his thread's count still showing 2 !!!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|