![]() |
This hack was inspired by Lesane's recent hack, How many threads a user started in a forum. It achieves the same thing, only with post totals, instead of thread totals.
Short description: it turns your post totals on your forumhome template (and your forumdisplay forumbit templates, if you want) into clickable links that brink up a popup window showing you how many posts each user has in that forum. It orders them by total number of posts there. Right now it only displays the top 3, however, as too many, for larger boards, would get REALLY cray-zay. You can change the part in whoposts.php that says "LIMIT 30" to whatever you want, though. I find that this hack is quite useful when used along with Lesane's hack. I love to turn virtually EVERYTHING into a link leading to relevant/useful information. :) Attached is a ZIP archive. In it are 3 files: whoposts.php, templates.txt, and instructions.txt. They should all be pretty self-explanatory. Screenshots available below. Enjoy. :) |
Nice hack, well done. :up:
|
The original screensoht I had was too big, so, instead, I'm attaching a shot of an individual forum, and the resulting popup window when the link is clicked on. Here's the forumbit:
|
Quote:
Here's the other shot: of the popup itself. |
Quote:
https://vborg.vbsupport.ru/showthrea...threadid=34694 Because firefly's hack displays, how many threads a user started in a specified forum, in the postbit ;) |
Excellent, absolutely excellent. :)
|
D'oh! Sorry...I'll do that now. :) 'Twas you that wrote it, then? Great hack. :up: I installed it and sat there looking at my forum, and thought "I MUST TURN THAT OTHER NUMBER INTO A LINK!" :D
|
Modified my frontpage a little, so had to modify, but works PERFECTLY.
|
Oh, glad you got it working. :) If anyone has any trouble let me know, and I'll be glad to help. I'm glad that it seems to be well-received so far. My popups load a little on the slow side...but that might just be me, because the script only has two queries to deal with.
|
Quote:
|
All times are GMT. The time now is 01:40 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:
|