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
  #12  
Old 02-06-2008, 07:42 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Just replace:

HTML Code:
$vbphrase[posts]: $post[posts]
with:

HTML Code:
$vbphrase[posts]: <a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow">$post[posts]</a>
Installed
Reply With Quote
  #13  
Old 02-06-2008, 08:31 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've been doing that since forever it seems. It's so automatic, I didn't even realize vb doesn't do that yet.
Reply With Quote
  #14  
Old 02-07-2008, 04:50 AM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed

Edit: A little typo in Install.txt.

Quote:
In the 'memberinfo_block_statistics' template

Find:
-----------------------------------------------------

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

-------------------
REPLACE it with:
-------------------

<legend>$vbphrase[total_posts] & $vbphrase[threads]</legend>
Should be
Quote:
In the 'memberinfo_block_statistics' template

Find:
-----------------------------------------------------

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

-------------------
REPLACE it with:
-------------------

<legend>$vbphrase[total_posts] &amp; $vbphrase[threads]</legend>
Reply With Quote
  #15  
Old 02-07-2008, 05:41 AM
Rickeo's Avatar
Rickeo Rickeo is offline
 
Join Date: Jan 2007
Location: Manchester
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awsome Thank You
Reply With Quote
  #16  
Old 02-07-2008, 06:20 AM
seangworld's Avatar
seangworld seangworld is offline
 
Join Date: Sep 2002
Location: Chesapeake, VA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

umm....vb 3.7 beta 4 already does this 'hack'.

click on a user's id on your forum > click on statistics
it's right there, all of that same info.

im including a link to my own profile, which the only thing i added as far as hacks was the youtube one...
http://thehawaiicommunity.com/forum/members/sean.html
Reply With Quote
  #17  
Old 02-07-2008, 11:02 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bob,
does you hack something to do with that hack Threads Started by User in Postbit & Profile by Mudvayne? I know that the other one based on your old Hack called Threads Started by User in Postbit and Profile for vB 3.54

Which one is better? Right now I have installed Mudvayne's Hack (see Attachment). But I'm a lil bit curious so I'd like to know what hack is more exact in its calculating -Mike
Reply With Quote
  #18  
Old 02-07-2008, 12:18 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mudvayne's Hack is my hack. He just fixed a db query syntax for 3.6.8 as I was still running 3.5.4 at the time and asked if he could release it. This is an update version of that with the Threads Per Day fixed and working right and the cron update working like it should have been in the first version. The cron update doesn't work in the version you are running unless you un-install and reinstall the hack. That was the only time it was updating. Now it does it hourly with the new cron hooks in this version.

@ Mike-D - I also got the timezone map working in 3.7.0 beta 4.
Reply With Quote
  #19  
Old 02-07-2008, 12:38 PM
Icy Icy is offline
 
Join Date: Nov 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

seangworld - vB doesn't have this features.
Mike-D - Even Mudvayne is using this version for 3.7
Reply With Quote
  #20  
Old 02-07-2008, 12:47 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 seangworld View Post
umm....vb 3.7 beta 4 already does this 'hack'.

click on a user's id on your forum > click on statistics
it's right there, all of that same info.

im including a link to my own profile, which the only thing i added as far as hacks was the youtube one...
http://thehawaiicommunity.com/forum/members/sean.html
I am running beta 4 and no it is not stock. Check again.
Reply With Quote
  #21  
Old 02-07-2008, 03:14 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo View Post
Mudvayne's Hack is my hack. He just fixed a db query syntax for 3.6.8 as I was still running 3.5.4 at the time and asked if he could release it. This is an update version of that with the Threads Per Day fixed and working right and the cron update working like it should have been in the first version.
Aah ok, now I'm on the way

Quote:
Originally Posted by Boofo View Post
The cron update doesn't work in the version you are running unless you un-install and reinstall the hack.
Hmm that get me thinking. I changed some details in your hack including a percent calculating of written Threads and Posts. See my Memberinfo. As far as I can see is, that your Hack work excellent. You know what? Is it possible to check per hand to see whether the Cron Job works right? Right now I'm kinda unsure. Thank you for your great support

Quote:
Originally Posted by Boofo View Post
@ Mike-D - I also got the timezone map working in 3.7.0 beta 4.
Ah yes: Boofo's Timezone Hack. Good to hear that it works in vB 3.7. That hack is really great and so damn informative. My members love it
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 04:37 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.07665 seconds
  • Memory Usage 2,320KB
  • 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
  • (2)bbcode_html
  • (7)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