Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: 1.00, by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-12-2002 Last Update: Never Installs: 18
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 02-13-2002, 02:21 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*puts on show off size of forum hat*

Here's a screenshot of one of my forums...
Reply With Quote
  #13  
Old 02-13-2002, 02:25 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, yeah, yeah. How'd it load, BTW? Didn't take too long, even with 30 posters with massive post counts?
Reply With Quote
  #14  
Old 02-13-2002, 02:27 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No we have our server admin contracted that they have to upgrade our server when it reaches 70% capacity... I'm also on a fast 'net connection. It took at most 3/4 of a second to load.
Reply With Quote
  #15  
Old 02-13-2002, 02:28 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, noticed a problem with your forums: your post AND thread popup links both lead to the post popup...
Reply With Quote
  #16  
Old 02-13-2002, 02:31 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that on purpose.
Reply With Quote
  #17  
Old 02-13-2002, 02:33 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ehhhh....ok.
Reply With Quote
  #18  
Old 02-13-2002, 02:39 PM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't installed any hack yet which gives a list of how many threads a user has started in said forum, when I do I'll change it. Until then it would look messy having the top half linking somewhere and the bottom not. Or maybe that's just me.
Reply With Quote
  #19  
Old 02-14-2002, 01:10 PM
Gamingforce's Avatar
Gamingforce Gamingforce is offline
 
Join Date: Oct 2001
Location: New York City
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack but it takes a bit to get some results and makes server loads through the roof. I made a hack like this a while back but didn't release it because of the massive cpu usage.

We have hundreds of thousands of posts on our message board and for the larger forums, it takes about 10-20 seconds to load.

Our server setup:
Web server: Dual P3 933 MHz with 2 GB of memory on Linux
Database server: Dual P3 933 MHz with 2 GB of memory on Linux

Before the hack, database server loads were around .15-.20, after the hack as people were testing it out, it hit 1.75-2.00. It's a cool feature to have, but I don't think an increase in server load that much justifies it.

Excellent job on it!
Reply With Quote
  #20  
Old 02-14-2002, 01:12 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, it does lag a bit. Same things happen for me with the thread-related counterpart hack sometimes. Only thing I would advise then, to perhaps ease the pain, is to reduce it to only display the top 10 for each forum, rather than the top 30.
Reply With Quote
  #21  
Old 02-15-2002, 06:02 AM
Tim Wheatley's Avatar
Tim Wheatley Tim Wheatley is offline
 
Join Date: Nov 2001
Location: England
Posts: 489
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's what I did.

I've also installed the threads hack now, so my links are 'proper'
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:34 PM.


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.05445 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete