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
  #42  
Old 05-19-2008, 09:13 PM
JadedSouls's Avatar
JadedSouls JadedSouls is offline
 
Join Date: May 2007
Location: Canada, eh?
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*installed*

thought I had a problem with the ministats but I sussed it out and messed up in adding the code. Fixed now
Reply With Quote
  #43  
Old 05-19-2008, 09:17 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You messed up? I refuse to believe that.
Reply With Quote
  #44  
Old 05-23-2008, 09:56 AM
intrigue intrigue is offline
 
Join Date: Nov 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Two requests,

Firstly, i would like to show the threads from a specific forum and
secondly i wanted to show the thread titles with a link from those specific forums.

Any advice on how to achieve this?
Thanks
Matt
Reply With Quote
  #45  
Old 05-23-2008, 10: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

Not with this hack, no, sorry.
Reply With Quote
  #46  
Old 05-26-2008, 03:02 PM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm, either I did something wrong in template editing or this is not working on my installation.

I want to use it with postbit_legacy, so I made sure I edit that one, but nothing is showing.

Is there something else that needs to be done in order to get this to show in postbit?

I really made sure I edit all the templates correctly, I don't think I did anything wrong with that.

This is an excellent mod, thank you very much.

EDIT: Sorry, sorry, sorry, had the wrong style up, just had to switch to the default style which I edited.

Works great, thanks a lot!
Reply With Quote
  #47  
Old 06-10-2008, 11:11 PM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm ... I don't know if this is a problem with my installation or a bug in the mod ... But I've noticed that in my case it counts moved threads as two threads.

That is, if, for instance, a user starts 4 threads and all those threads are moved, it will say "Threads: 8" in postbit, although when you click on 8, it will display only the four started threads.

Does this happen to anyone else besides me?

Any word on this from the coder?

Thank you.
Reply With Quote
  #48  
Old 06-10-2008, 11:34 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have not seen that happen and don't know how it can unless you are leaving redirects maybe?
Reply With Quote
  #49  
Old 06-11-2008, 08:27 AM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm, yeah, that could be the case, even though I think it even happened to some members whose threads were not redirected, but I'm not sure.

I'll test thread moving without redirects and post back.
Reply With Quote
  #50  
Old 06-11-2008, 08:29 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 are the first to report this so please let me know what you find out.
Reply With Quote
  #51  
Old 06-18-2008, 11:16 PM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I tested this and it is happening without an obvious pattern.

Sometimes it happens, sometimes it doesn't. Sometimes with redirects, sometimes without them.

Also, even the physically deleted threads are still counted towards user's total thread count. One user opened 4 threads, all of them were physically deleted, yet his thread count is still 4.
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:44 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.30995 seconds
  • Memory Usage 2,301KB
  • 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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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