![]() |
Total vBShout Shouts on Postbits and Member's Profile
Total vBShout Shouts on Postbits and Member's Profile
Developers: derekivey Version: 1.0.0 vBulletin Version: 3.5.2 File Edits: 0 Template Edits: 3 New Phrases: 1 (1 Global Phrase) Uses Plugins: Yes! Difficulty: Easy Description: This hack shows the total number of shouts a user has on the postbit templates, and the user's profile. This addon requires Zero Tolerance's [AJAX] vBShout hack. *** Special Thanks to Zero Tolerance for making this great Shoutbox hack! *** I have added screen shots of this hack in action below. Please click https://vborg.vbsupport.ru/ If you installed this hack. Thanks! |
Great modification, nicely done.
/me clicks install |
Installed And Working Perfectly on 3.5.2 Great Hack
/me Clicks Install |
Installed and works great!! Someone had to think about it, and you did, great job!!
*Clicks install |
Hmm, a script to update someones shout posts would be awesome. That like checked the table and then updated the userfield.
It would only be needed for the first install, but would be very sweet to get things going. |
You would have to rewrite Zero Tolerence's hack a lot to do that. The number of shouts isn't stored in any tables. He just uses mysql's num_rows function I believe (which is what I used also for my addon I made).
|
Quote:
|
Not really, you'd just need a script to query the shouts by a userid, then update the shout field with the number of rows per userid.
Run the script once to "populate" it, and then from there on, your code will keep it going :) *EDIT* I think I found a way, found this post over on photopost http://www.photopost.com/forum/showp...8&postcount=46 With a script to do similiar for counting the number of photos a person has uploaded. |
Ooohh I see how your doing it.
Okay, your doing it to count the rows each time. But then if you prune the shoutbox periodically to keep the space down, users shout count will go down too.. Hmm. I'd rather fiddle with the code that adds to the post count and and have it add to a field called "shouts" in the user table. Then if you pruned it wouldn't affect their count. |
Thanks but can you do for FORUMHOME page, too? Yes, for the board stats, that's what I mean.
|
All times are GMT. The time now is 01:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|