Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
User post count from current forum Details »»
User post count from current forum
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-15-2006 Last Update: 01-19-2006 Installs: 14
Uses Plugins Template Edits
 
No support by the author.

This mod makes it so you can display the number of posts a user has from the current forum. Said another way, when you view a thread, that thread is in a forum, so this mod shows the number of posts a user has in that forum. See screenshot.
  • 1 product
    • 3 plugins
    • 1 phrase
  • 2 queries in showthread
  • 1 query in showpost
  • 1 postbit(_legacy) edit
It has been reported that one of the queries used in showthread takes too much time on a big board, so if you have a big board, you've been warned. :ermm:

18 Jan 2006: updated to use two queries in showthread
20 Jan 2006: instance of $postids var replaced with $ids

Show Your Support

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

Comments
  #32  
Old 01-31-2006, 06:22 AM
roleplaycity roleplaycity is offline
 
Join Date: Jan 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it was the only mod I had installed at the time.

Using the moderator panel, the destination drop down list would only show the forums that did not belong to any parent forum. (4 of them). My other forums that belonged to another category would not show (about 60 of them).
Reply With Quote
  #33  
Old 01-31-2006, 07:34 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod uses the following hooks:
  • hook showpost_post
    • appears in showpost.php
  • hook showthread_query
    • appears in showthread.php
  • hook showthread_postbit_create
    • appears in editpost.php
    • and newreply.php
    • and showthread.php
The new variables get a "$fp_" prefix.

Don't see anything to modify forum lists.
Sorry, just not sure what to suggest.
Reply With Quote
  #34  
Old 02-24-2006, 01:16 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be willing to donate/pay for this mod to use the alternate method we discussed.

-vissa

Quote:
Originally Posted by calorie
Oh, didn't know you were referring to query cache and not vB cache. Not sure what you mean by 'scans the entire post table' though, as the query shouldn't be examining all the rows, but on a board of your size, it seems it's too many rows anyway. I think a separate table could have userid, forumid, and count, perhaps with forumid and count serialized, so at a minimum that'd be one row per user, which then could be a column in the user table instead, but there's still the updating to do. Not clear it's really worth it.
Reply With Quote
  #35  
Old 10-03-2006, 07:18 PM
chikkoo chikkoo is offline
 
Join Date: Mar 2005
Posts: 223
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Mod. But I am looking for Threads Per forum.
Any Idea, how to modify this, or any mod already existing!
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 11:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07898 seconds
  • Memory Usage 2,235KB
  • Queries Executed 19 (?)
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)bbcode_quote
  • (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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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