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

Reply
 
Thread Tools
Special Post Counter Details »»
Special Post Counter
Version: 1.1, by Dark Zero Dark Zero is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 06-18-2008 Last Update: 07-10-2008 Installs: 42
DB Changes Uses Plugins Auto-Templates
Re-useable Code Code Changes Translations Is in Beta Stage  
No support by the author.

Click in Install for receive update news and better support!!

This is a port for 3.7 version of the same name hack.

Special Post Counter (SPC) adds a extra post counter in postbit. This new counter adds or remove post made in specified forums.
For example, all post made in OffTopic forums go to a OffTopic Post counter instead the regular one. In that way users don't need to flood forums for win post and can keep track of their stats in that section instead of disabling post count for that forum.
This hack only add a new counter for all specified forums one like. Not multiple counters for multiple forums.


Features:
What does include and count this hack:
Post Reply
New Thread
Delete Post/Thread
Restore Post/Thread
Moderate Post/Thread
Inline moderation actions including above ones
Rebuild Special Post Counter - NEW in 1.1


What does not include and count this hack (in order of difficulty):
  1. Show in other sections different as Show Thread
  2. AdminCP controls for search of modify
  3. [S]Rebuild Special Post Counter[/S] - done
  4. Move Post/Thread
  5. Search by special posts exclusively
  6. Merge/Unmerge Post/Thread
I planning add some features listed above in future (show in other sections, admincp controls) but others are a little complex to implement (merge/search/move). Suggestion about them are welcome!


Because vBulletin have hardcoded the post counter instances, multiple file edits are required.
I resumed them into 12 instances in 4 files. Basically all edits are adding a spc count exception.


Version History
(current first):
1.1
- Added Rebuild Special Post Counter in Maintenance
- Fixed a problem with the forum id listing

1.0
- Initial release in 3.7



Installing:
  • Import product-spc_post11.xml
  • Follow file edit instructions in spc_install.html
Upgrading:
  • Import product-spc_post11.xml using Allow Overwrite Option
  • Apply the file edits in spc_update11.html (basically using "replace all" option in notepad) and adjust Forum ID section if need.
Im apologize for my bad grammar and spell, im learning every day

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 06-20-2008, 06:43 PM
winduff winduff is offline
 
Join Date: Nov 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

muchos gratias
Reply With Quote
  #13  
Old 06-20-2008, 07:27 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea
Reply With Quote
  #14  
Old 06-20-2008, 07:33 PM
winduff winduff is offline
 
Join Date: Nov 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just spotted, that mod looks great however its not per forum... it counts the threads everywhere but not in specific forums
Reply With Quote
  #15  
Old 06-25-2008, 03:43 PM
AnimeOmega AnimeOmega is offline
 
Join Date: Oct 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome hack =] thanks !
Reply With Quote
  #16  
Old 06-28-2008, 04:01 PM
Oyabun Oyabun is offline
 
Join Date: Dec 2006
Location: Germany
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you upload your PHP files? I just edited them all as you described, but it doesn't seem to work.
Reply With Quote
  #17  
Old 06-28-2008, 08:40 PM
WA.Helpers WA.Helpers is offline
 
Join Date: Nov 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please, add an option to count only threads without posts
Reply With Quote
  #18  
Old 07-03-2008, 02:21 AM
aamirkhj aamirkhj is offline
 
Join Date: Feb 2008
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is not counting posts in the specified forum, post counter seems not working, any solutions ??
Reply With Quote
  #19  
Old 07-03-2008, 03:18 AM
Dark Zero's Avatar
Dark Zero Dark Zero is offline
 
Join Date: May 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Oyabun View Post
Could you upload your PHP files? I just edited them all as you described, but it doesn't seem to work.
I can't add the entire files, they have copyright, sorry
Quote:
Originally Posted by WA.Helpers View Post
Please, add an option to count only threads without posts
Only counting new threads? Since this hack control most instances is possible in the future!

Quote:
Originally Posted by aamirkhj View Post
It is not counting posts in the specified forum, post counter seems not working, any solutions ??
You add the product and set the forums in the vBulletin options section?
Also you apply all the file edit required?
Reply With Quote
  #20  
Old 07-06-2008, 11:58 AM
WA.Helpers WA.Helpers is offline
 
Join Date: Nov 2007
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for reply.

Quote:
Only counting new threads? Since this hack control most instances is possible in the future!
Yes, it will be useful for counting all posted hacks, releases, announcements..etc.
Reply With Quote
  #21  
Old 07-07-2008, 03:50 PM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Dark Zero, I have this great plugin installed! Thanks for this. But I have a small problem. I also have installed this plugin: https://vborg.vbsupport.ru/showthread.php?t=177366

Which seems to be taking over the whole posts, and not showing up the offtopic posts at all. Is it possible you can take a look in to this? Also, I've tried to add multiple off-topic section numbers within the adminCP "SPC Forum ID" options, but it seems when I post in the off-topic section, the post count of the offtopic posts won't rise at all.

EDIT:
This plugin doesn't work properly I'm afraid. My sub sections where it should be working is as followed: 5, 19, 22 ,23 ,24 on http://forum.esforces.com/forumdisplay.php?f=5

Yet, it doesn't work as it should.. It seems to be only working within the Fan Fics and Fight Club section. Can this be fixed if possible?
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:06 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.15493 seconds
  • Memory Usage 2,301KB
  • Queries Executed 26 (?)
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
  • (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
  • (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