vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Forum Velocity (https://vborg.vbsupport.ru/showthread.php?t=92193)

amykhar 07-13-2005 10:00 PM

Forum Velocity
 
This silly little mod is an update of https://vborg.vbsupport.ru/showthrea...threadid=78521

It does a simple calculation of how many posts, on average, are made on your forms per hour over a 24 hour range.

At this time, it can't be a plugin because I can't figure out how to hook into the specialtemplates array before the call to global.php in forumhome.

So, it is a combo mod/plugin that's really easy to install.

Link14716 07-14-2005 07:48 PM

Add a plugin to cache_templates (added in beta 3, IIRC):
PHP Code:

if (THIS_SCRIPT == "index") {
    
$globaltemplates array_merge($globaltemplates, array('velocity'));


Nice job again, Amy.

amykhar 07-14-2005 07:50 PM

Quote:

Originally Posted by Link14716
Add a plugin to cache_templates (added in beta 3, IIRC):
PHP Code:

if (THIS_SCRIPT == "index") {
    
$globaltemplates array_merge($globaltemplates, array('velocity'));


Nice job again, Amy.

That works with the templates, but not the specialtemplates (datastore). The datastore, from my experiments, must be set up before the call to global.php

Amy

Link14716 07-14-2005 07:53 PM

Quote:

Originally Posted by amykhar
That works with the templates, but not the specialtemplates (datastore). The datastore, from my experiments, must be set up before the call to global.php

Amy

Ah, datastore. I must have read it wrong. Yep, you need a code mod for that. I really wish they'd implement a way to add to it without file edits (since it has to be done before the plugin system).

eXtremeTim 10-27-2005 10:35 PM

Amy was their really a reason why their was a limit on the query. in velocity.php

That seems kinda pointless since you always want it higher then the number of posts per day and its got the datestamp check in there already. ;)

Also its not keeping the record high avg. It keeps reverting it to the current one. I think I fixed this one by ordering the top with a desc.

Valithor 12-12-2005 01:18 AM

I can't seem to get this one to work... :(

I've followed the instructions. However, there is nothing appearing in the forum index or anywhere else that I can see..


All times are GMT. The time now is 12:16 AM.

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.00998 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete