Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Threads Started by User in Postbit & Profile Details »»
Threads Started by User in Postbit & Profile
Version: 1.0.1, by Mudvayne Mudvayne is offline
Developer Last Online: Jul 2008 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.7 Rating:
Released: 07-09-2007 Last Update: 07-09-2007 Installs: 86
DB Changes Uses Plugins Template Edits
 
No support by the author.

First of all this is a fixed version of Threads Started by User in Postbit and Profile for 3.5.4 by Boofo. I would like to thanks to Boofo for giving me the permission of releasing this.
Quote:
Originally Posted by Boofo
Go for it, if it is totally tested and working
As this product is the original work of Boofo. So I’m going to use his description as well. All I did is fixed one error related to DB query & remove the MySQL version check as vBulletin 3.6.x already requires MySQL 4.3.3.

Description:
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 has been tested on a live board with over 15,000 users and 40,000 threads and ran unnoticeably in the background in 0.3 seconds during the cron job update. This product only counts valid threads (not moderated or soft-deleted threads).

Live Demo:
Golpo Community Forum

Install Instruction:
  • Import the product-thread_count_7272
  • Edit the "postbit" & "MEMBERINFO" Template.
Update Instruction:
  • Import the product-thread_count_7272. Don't forget to allow overwrite!
Screenshots & template edit instructions are included in zip file.

Show Your Support

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

Comments
  #52  
Old 01-27-2008, 11:31 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does someone tried to combine that hack with Ziki's Hack ZH - % Of Forum Posts ? Whenever I try to integrate Ziki's Code in that Code here, my post counter decrease dramatically. Then I get always the wrong info within the MEMBERINFO
Reply With Quote
  #53  
Old 01-27-2008, 12:50 PM
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 Freesteyelz View Post
Thanks, Boofo. Long time no see.

I noticed after deleting posts and updating all counters the thread count didn't readjust. After trying several things (including forcing cron) I uninstalled then reinstalled the XML. That did the trick. Any ideas?
I think this needs to be reworked in the way it updates the thread count. Right now it will update them correctly when you un-install and re-install it. The cron part of it doesn't seem to be working as well as it should be with the new version of vb. I will look into this and see what I can figure out as soon as I brush up on some of the new code since version 3.5.4 (which this was actually written for). There are a lot of new changes that I need to get caught up on.

And nice to see you again, too, sir. Been too long.
Reply With Quote
  #54  
Old 01-27-2008, 01:19 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, it has.

Let us know if you'll get the cron going. It's a useful mod that vB should have implemented as a regular function of the system.
Reply With Quote
  #55  
Old 01-27-2008, 01:54 PM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the confirmation Bofoo. I had a plan of implementing auto template with this modification. But been busy with my exams & study. Hope to see a release from you for 3.7
Reply With Quote
  #56  
Old 01-27-2008, 03:14 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it worked now with more detailed infos. Thanks for all the help
Reply With Quote
  #57  
Old 01-29-2008, 05:09 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was only 4 hours since you posted your question, Mike-D. You can't expect voluntary members to post answers immediately so exercise a bit of patience. It's also possible that members did not know of a fix.

If you're asking for support on a mod that the author did not create don't expect an answer either.
Reply With Quote
  #58  
Old 02-19-2008, 08:18 AM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there any chance to have top thread starter too ??
Reply With Quote
  #59  
Old 02-24-2008, 12:22 PM
princeedward's Avatar
princeedward princeedward is offline
 
Join Date: Jan 2007
Location: Deutschland
Posts: 901
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah!....i guess this is not quite far enough to have the

Top Thread Starter Of The Month!

thanks...for sharing this...

Reply With Quote
  #60  
Old 02-24-2008, 12:38 PM
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 princeedward View Post
Yeah!....i guess this is not quite far enough to have the

Top Thread Starter Of The Month!

thanks...for sharing this...

This one doesn't update on the cron. It has been fixed in the 3.7.0 version.
Reply With Quote
  #61  
Old 03-02-2008, 06:49 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz View Post
The total thread count shows up in postbit and profile in 3.7 Beta 3. The only thing I haven't figured out yet is the percentage of threads per day. To get total threads in profile do the following:

In template memberinfo_block_statistics find:

Code:
  <legend>$vbphrase[total_posts]</legend>

And replace it with:

Code:
  <legend>$vbphrase[total_posts] & $vbphrase[threads]</legend>

Then find:

Code:
   <if condition="$prepared['lastposturl']">
    <li>
     <span class="shade">$vbphrase[last_post]:</span> <a href="$prepared[lastposturl]">$prepared[lastposttitle]</a> $prepared[lastpostdate] <span class="time">$prepared[lastposttime]</span>
    </li>
   </if>

Add after:

Code:
                        <li><span class="shade">$vbphrase[total_threads]: <strong>$userinfo[threads]</strong></li>

Total thread count should now be in Profile.
You missed </span>

Code:
                        <li><span class="shade">$vbphrase[total_threads]: </span><strong>$userinfo[threads]</strong></li>
Thanks for that though!

*clicks install*
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 07:12 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.05032 seconds
  • Memory Usage 2,318KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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