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
Downtime Scheduler (Have Post Per Day ignore downtimes) Details »»
Downtime Scheduler (Have Post Per Day ignore downtimes)
Version: 1.0.3, by Knippschild Knippschild is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.x Rating:
Released: 08-24-2007 Last Update: 08-25-2007 Installs: 11
DB Changes
Re-useable Code Code Changes Additional Files  
No support by the author.

Downtime Scheduler
Current Version: 1.0.3

If you want help, please click install!

What's it do?
This is a mod for vBulletin that allows site administrators to add blocks of downtime that
occur during the usage of vBulletin. The mod will calculate total amount of downtime effected for each block, and will calculate a more accurate Post Per Day. Basically when you
view a member's profile, it will show you a Post Per Day that does not factor in downtime that happened while that user was registered.
Can you give me an example?
Jonathan Makes 320 posts during his stay of 140 days.
His "REAL" post per day is 2.29.
However the forums were completey inaccessible for 14 days
His PPD after adding this to the Downtime Sheduler system is now 2.53
But.. why?
Now, I know that this modification will (hopefully) not to be needed that often, but when it does happen (I'd say for downtime more than ~4 days) it's very nice to have. I did this because my site was down for about 5 months due to financial hardships, so when service was restored, the post per days were terrible, so I create this mod. I figure that someone else might want to use this if they are in the same situation I was in.
Installation Information
Use of vB Plugin/Hook System: No
Template Edits: No
File Edits: Yes (One simple file edit, sorry there wasn't a hook where this had to be)
File Uploads: 6
Database Modifications: 1 (table add)
AdminCP Menu Addition: Yes
Awesome: Yes
Total Install time: About or less than two minutes
Installation instructions are in readme.txt file.

This was something I had really needed for myself, and I originally made it for my use only. But I thought that someone else might need this too, so I decided to share it.

This is my first mod. Please be kind!

Show Your Support

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

Comments
  #2  
Old 08-25-2007, 07:56 PM
Knippschild Knippschild is offline
 
Join Date: Mar 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me reserves
Reply With Quote
  #3  
Old 08-25-2007, 08:36 PM
Virtualshiner Virtualshiner is offline
 
Join Date: Jun 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a very nice mod, Its very helpful. /me marked as installed. Its on my board right now.
Reply With Quote
  #4  
Old 08-26-2007, 12:15 AM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll give it a shot! **install** thanks.....
Reply With Quote
  #5  
Old 08-26-2007, 12:17 AM
Knippschild Knippschild is offline
 
Join Date: Mar 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tell me what you think
Reply With Quote
  #6  
Old 08-26-2007, 02:05 PM
yahoooh yahoooh is offline
 
Join Date: Oct 2002
Posts: 567
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank u , it is usefull mod
Reply With Quote
  #7  
Old 08-26-2007, 09:06 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this is a problem but when I try to add a downtime I get an error no matter what I put... am I doing somethig wrong?
Errors have occurred during the operation:
End date is before Start Date
Reply With Quote
  #8  
Old 08-26-2007, 09:11 PM
Knippschild Knippschild is offline
 
Join Date: Mar 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stone0075 View Post
Not sure if this is a problem but when I try to add a downtime I get an error no matter what I put... am I doing somethig wrong?
Errors have occurred during the operation:
End date is before Start Date
What start and end date are you entering?


Edit:
That's interesting. I'm getting a different error, and a bunch of PHP errors, let me hack around and see what's causing it.

Edit Edit:
Mod Updated. I hope this fixes it
Reply With Quote
  #9  
Old 08-26-2007, 10:51 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, it's fine now. I was using a Start Date of lets say 8-1-07 /// End Date 8-26-07, I would still get error, but its fine now.. Thanks!
Reply With Quote
  #10  
Old 08-29-2007, 01:19 PM
Knippschild Knippschild is offline
 
Join Date: Mar 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, I forgot to do something to handle incoming POST information. On the version/configuration of PHP I had, it thought it was an integer.. but when I upgraded PHP, it thought it was a string and it just wasn't working properly.

Though now it gets the integer value.

Sorry about that.
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 08:11 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.04838 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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
  • (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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete