vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Site Life Status for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=243731)

Alan_SP 04-15-2011 07:06 PM

Just to know, does your mod counts page hits or unique visitors?

Boofo 04-15-2011 07:17 PM

Page hits for the forumhome. I can set it to count every page hit on the site, too. ;)

Alan_SP 04-15-2011 10:21 PM

Well, that would be great, I'd like to have it this way... :)

And I looked at mod and am wandering is secret hidden here:

PHP Code:

if ($vbulletin->options['site_lifestatus_enable'] AND THIS_SCRIPT == 'index'

But it adds one query to every page loaded or not?

Boofo 04-16-2011 02:26 AM

My way wouldn't. ;)

Alan_SP 04-16-2011 10:44 AM

And what is your way, if you want to share it?

Boofo 04-16-2011 12:50 PM

I'd have to add another setting so the user can select how they want to do it. Not really worth the trouble for a free mod and something I, myself, would never use.

Alan_SP 04-17-2011 01:29 AM

Ok, I'll use it till I see that my servers starts melting. :) Then I may consider further usage.

Would you maybe explain the way to avoid one query for every page? I just removed
PHP Code:

AND THIS_SCRIPT == 'index' 

condtion in plugin for updating counter.

Boofo 04-17-2011 01:34 AM

If your server melts, it isn't anything to do with this mod. This mod does not affect resources in the least. Use it or not, totally up to you.

What you did should work fine.

steve1966 04-17-2011 09:46 AM

Thank you rated this 10/10

haytham 05-03-2011 04:49 PM

Is there any way this fantastic mod can run on 3.8.7? By the way, I always look after the first post at "Similar Mod" to find if the mod is compatible with other VB versions..that's why I am asking, since there isn't any similar mods listed.


All times are GMT. The time now is 06:24 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.01300 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete