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

Reply
 
Thread Tools
Total vBShout Shouts on Postbits and Member's Profile Details »»
Total vBShout Shouts on Postbits and Member's Profile
Version: 1.0.0, by derekivey derekivey is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 12-13-2005 Last Update: Never Installs: 116
Uses Plugins Template Edits
 
No support by the author.

Total vBShout Shouts on Postbits and Member's Profile
Developers: derekivey
Version: 1.0.0
vBulletin Version: 3.5.2
File Edits: 0
Template Edits: 3
New Phrases: 1 (1 Global Phrase)
Uses Plugins: Yes!
Difficulty: Easy

Description: This hack shows the total number of shouts a user has on the postbit templates, and the user's profile. This addon requires Zero Tolerance's [AJAX] vBShout hack.

*** Special Thanks to Zero Tolerance for making this great Shoutbox hack! ***

I have added screen shots of this hack in action below.

Please click If you installed this hack.

Thanks!

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 12-14-2005, 02:00 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great modification, nicely done.

/me clicks install
Reply With Quote
  #3  
Old 12-14-2005, 02:26 AM
Tidy Tidy is offline
 
Join Date: Nov 2005
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed And Working Perfectly on 3.5.2 Great Hack

/me Clicks Install
Reply With Quote
  #4  
Old 12-14-2005, 03:20 AM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works great!! Someone had to think about it, and you did, great job!!

*Clicks install
Reply With Quote
  #5  
Old 12-14-2005, 11:59 AM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, a script to update someones shout posts would be awesome. That like checked the table and then updated the userfield.

It would only be needed for the first install, but would be very sweet to get things going.
Reply With Quote
  #6  
Old 12-14-2005, 06:44 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You would have to rewrite Zero Tolerence's hack a lot to do that. The number of shouts isn't stored in any tables. He just uses mysql's num_rows function I believe (which is what I used also for my addon I made).
Reply With Quote
  #7  
Old 12-14-2005, 06:45 PM
derekivey derekivey is offline
 
Join Date: Apr 2005
Location: Pennsylvania, USA
Posts: 1,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tidy
Installed And Working Perfectly on 3.5.2 Great Hack

[high]* Tidy Clicks Install[/high]
Doesn't look like you clicked install
Reply With Quote
  #8  
Old 12-14-2005, 08:35 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not really, you'd just need a script to query the shouts by a userid, then update the shout field with the number of rows per userid.

Run the script once to "populate" it, and then from there on, your code will keep it going

*EDIT*

I think I found a way, found this post over on photopost

http://www.photopost.com/forum/showp...8&postcount=46

With a script to do similiar for counting the number of photos a person has uploaded.
Reply With Quote
  #9  
Old 12-15-2005, 12:28 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooohh I see how your doing it.

Okay, your doing it to count the rows each time. But then if you prune the shoutbox periodically to keep the space down, users shout count will go down too.. Hmm.

I'd rather fiddle with the code that adds to the post count and and have it add to a field called "shouts" in the user table. Then if you pruned it wouldn't affect their count.
Reply With Quote
  #10  
Old 12-15-2005, 05:16 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but can you do for FORUMHOME page, too? Yes, for the board stats, that's what I mean.
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 08:46 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.04749 seconds
  • Memory Usage 2,285KB
  • Queries Executed 24 (?)
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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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