Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Threads Started by User in Postbit and Profile Details »»
Threads Started by User in Postbit and Profile
Version: 1.0.1, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 02-05-2008 Last Update: Never Installs: 84
DB Changes Uses Plugins Template Edits
 
No support by the author.

Threads Started by User in Postbit and Profile for vB3.7.0 beta 4
Version 1.0.1
(By Boofo)

What does this product do?
This product counts the threads started by a user and displays it in the postbit and the profile. It will also display the threads per day in the profile. The thread count is automatically updated hourly via cron job. New threads are added to the count in real time. No extra queries are run in the postbit or profile when getting the thread count, only when the cron job runs. This product only counts valid threads (not moderated or soft-deleted threads).

Note: Only 1 query is used during the hourly cron update.

Version Information:
Version 1.0.1 --Initial release (No known bugs)

Credits:
Thanks goes out to Andreas, Paul M and Hambil for their invaluable help with the original version of this product. Without them, this hack would not have been possible. And a special thanks goes out to Icy, for taking care of things while I was away.

Details:
--------
1 Product XML (4 Plugins, 2 Phrases)
3 Template Edits

Installation Instructions:
Go to your Admin CP
Scroll down to 'Plugins & Products'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-threads_started_by_user.xml file on your computer
Do the template edits and you're all set!

NOTE: If you do not click install, you do not need support.

Show Your Support

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

Comments
  #52  
Old 06-19-2008, 12:55 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It updates the threadcount for each user hourly, not immediately. Check it after an hour and let me know what it says then.
Reply With Quote
  #53  
Old 06-19-2008, 05:50 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cracking mod.

Cheers Big Ears
Reply With Quote
  #54  
Old 06-19-2008, 06:20 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I need your help here Bob.

Not sure how dooable this is, and probably sounds quite crazy.

We have a few users, who get great thread views... and thread activity.

Could we extend this mod to include.

Posts: 527
Threads: 76
Thread Views: 32,768
Thread Replies: 12,456

Could this be done?
Not sure if this would add too many queries.

Basically list a users, entire threadviews, on threads they created. Plus list the amount of replies to that members threads.

Talking totals here and not linkable , lol.

What do you think.. tell me to shut up, you know me im not easily offended

Ozzy
Reply With Quote
  #55  
Old 06-19-2008, 06:52 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would be adding queries to the postbit which would be a query for every post. Not doable in my book.
Reply With Quote
  #56  
Old 06-19-2008, 07:07 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
You would be adding queries to the postbit which would be a query for every post. Not doable in my book.
Kinda thought that would be the case. Bugger lol

Cheers mate
Reply With Quote
  #57  
Old 06-19-2008, 09:00 AM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
It updates the threadcount for each user hourly, not immediately. Check it after an hour and let me know what it says then.
It's okay now, the thread count for that user is back to zero.

But the other problem remains, with or without redirects.
Reply With Quote
  #58  
Old 06-19-2008, 11:03 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If that user's thread count is right then the other ones are, too. Have you tried doing a query to check their thread count?
Reply With Quote
  #59  
Old 06-19-2008, 11:04 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TimberFloorAu View Post
Kinda thought that would be the case. Bugger lol

Cheers mate
I "almost" feel bad.
Reply With Quote
  #60  
Old 06-19-2008, 11:54 AM
Mesohu Mesohu is offline
 
Join Date: Jan 2008
Location: Kosova / Albania
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't show on postbit .

I use "Thank you" Mod & a personal field ( gender) on posbit . But this mod doesn't show ... it works only on memberinfo_block_statistics & memberinfo_block_ministats .
Reply With Quote
  #61  
Old 06-19-2008, 12:07 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, it works fine in the postbit. You need to re-edit the postbit template and make sure you are editing the right one (postbit or postbit_legacy).
Reply With Quote
Reply


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 02:47 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.04610 seconds
  • Memory Usage 2,305KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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