vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forum Post Breakdown (Per User) (https://vborg.vbsupport.ru/showthread.php?t=35040)

TWTCommish 02-12-2002 10:00 PM

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. :)

Lesane 02-13-2002 02:06 PM

Nice hack, well done. :up:

TWTCommish 02-13-2002 02:08 PM

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:

TWTCommish 02-13-2002 02:09 PM

Quote:

Originally posted by Lesane
Nice hack, well done. :up:
Thanks. :)

Here's the other shot: of the popup itself.

Lesane 02-13-2002 02:11 PM

Quote:

Originally posted by TWTCommish
This hack was inspired by FireFly's recent hack, Number of threads use started in a certain forum. It achieves the same thing, only with post totals, instead of thread totals.

I guess you mean this hack:
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 ;)

Tim Wheatley 02-13-2002 02:12 PM

Excellent, absolutely excellent. :)

TWTCommish 02-13-2002 02:13 PM

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

Tim Wheatley 02-13-2002 02:15 PM

Modified my frontpage a little, so had to modify, but works PERFECTLY.

TWTCommish 02-13-2002 02:17 PM

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.

Lesane 02-13-2002 02:19 PM

Quote:

Originally posted by TWTCommish
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
haha :D :up:


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
  • Page Generation 0.01159 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete