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

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
  #22  
Old 07-07-2008, 11:46 PM
Dark Zero's Avatar
Dark Zero Dark Zero is offline
 
Join Date: May 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, i see the problem, the old explode function for counting the ids also counts the spaces. For next version this one only counts number and commas.

For workaround this, use this format for put the ids: [number][comma][space]
5, 19, 22, 23, 24

For all people with problems with special posts try this

Reply With Quote
  #23  
Old 07-08-2008, 12:07 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Zero View Post
Ok, i see the problem, the old explode function for counting the ids also counts the spaces. For next version this one only counts number and commas.

For workaround this, use this format for put the ids: [number][comma][space]
5, 19, 22, 23, 24

For all people with problems with special posts try this

It seems to be working , but I still have problems with the activity plugin installed. I need to find a way to add the offtopic posts in it as well.
Reply With Quote
  #24  
Old 07-08-2008, 12:30 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 FF|Skyrider View Post
It seems to be working , but I still have problems with the activity plugin installed. I need to find a way to add the offtopic posts in it as well.
You should ask to the mod author for use other counter aside from the default one in his mod
Reply With Quote
  #25  
Old 07-08-2008, 06:57 AM
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Location: Netherlands
Posts: 1,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Zero View Post
You should ask to the mod author for use other counter aside from the default one in his mod
I'd like the counter to be like the activity plugin though, as it looks good .
Reply With Quote
  #26  
Old 07-09-2008, 05:40 AM
jafari jafari is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to count old posts (post send before install this mod) ?
I think this mod only count post which post after mod install !
Reply With Quote
  #27  
Old 07-09-2008, 05:53 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 jafari View Post
Is there any way to count old posts (post send before install this mod) ?
I think this mod only count post which post after mod install !
no for the moment but in the next version i will add that option
Reply With Quote
  #28  
Old 07-09-2008, 06:26 AM
jafari jafari is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and the next version realse date?
Reply With Quote
  #29  
Old 07-11-2008, 11:41 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 jafari View Post
and the next version realse date?
Today and now i finish it
Reply With Quote
  #30  
Old 07-11-2008, 02:25 PM
jafari jafari is offline
 
Join Date: Jul 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Dark zero !
Reply With Quote
  #31  
Old 10-04-2008, 03:16 PM
Jhonnyf's Avatar
Jhonnyf Jhonnyf is offline
 
Join Date: Nov 2007
Location: In my mind
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't work in 3.7.3
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 11:52 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.05466 seconds
  • Memory Usage 2,314KB
  • 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
  • (5)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