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)
-   -   psiStats 2006 (The New vBStats for vBulletin 3.5.x - 3.8.x) (https://vborg.vbsupport.ru/showthread.php?t=104213)

akanevsky 01-14-2006 05:07 PM

So should I switch to a mysql-based IP database? Or just store the IP database in a single file? Or just make the cron run with 15 minute intervals?

Which would be most efficient?

MPDev 01-14-2006 05:09 PM

My concern there would be the number of queries needed during the execution of the script - it could add hundreds of queries during processing. I'm not sure if it helps, but I added a "unset($ranges);" after the loop where it is used to try and minimize the amount of memory being used.

I don't think a DB solution would be "better"; but will let you know if I find something better than the unset().

akanevsky 01-14-2006 05:24 PM

What about putting everything into one file?
All IP files together are worth 2.47MB on disk...

MPDev 01-14-2006 05:26 PM

I don't know about that; it all seems relative to how many records you have to process. I'm not sure I'd want to read in a 2.5mb array everytime, but I'm not sure that I'm not doing that anyways based on all the traffic I get.

sidekick 01-14-2006 10:00 PM

is there anyway i can remove the MEMBER STATS from the general statistics thing ? like i dont want it to show the first thing, abt activity and all

anyways nice hack, thanks

bashy 01-14-2006 10:01 PM

Hi Psionic

not used the admincp Referring Sites Statistics for some time now
and just decided to take a look at it and it gave me this error, Any
ideas please?

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

        SELECT *
        FROM psistats_referrer
        ORDER BY referrer;

MySQL Error  : Table 'web18_4rum.psistats_referrer' doesn't exist
Error Number : 1146
Date        : Saturday, January 14th 2006 @ 11:58:37 PM
Script      : http://www.bashys-place.com/forums/admincp/psistats_admin.php
Referrer    : http://www.bashys-place.com/forums/admincp/index.php?do=nav


akanevsky 01-14-2006 10:33 PM

@sidekick,
You edit the PSISTATS_HOME template and take out whatever you don't want to show up.

@bashy,
Make sure you upload the latest version of psistats_admin.php...

bashy 01-14-2006 10:49 PM

Thanks Psionic...
Not sure how i missed that 1 (no comments please :p)

All sorted again thanks :)

Quote:

Originally Posted by Psionic Vision
@bashy,
Make sure you upload the latest version of psistats_admin.php...


Club3G 01-15-2006 06:36 AM

Quick question, should I be concerned about the performance overhead of this? I love the hack, but via webstats:

Top 30 of 926 Total URLs

# Hits KBytes URL
1 38294 4.31% 287139 5.80% /forum/image.php
2 37135 4.18% 1094015 22.09% /forum/showthread.php
3 32810 3.69% 334297 6.75% /forum/psistats.php

It's #3 on my usage list. I've had it installed for less than a week, and that's a stats snapshot of the same time period. It's not linked anywhere on my forums, I'm the only one that uses it as it takes a bit to load and slows my site down a touch when I hit it.

akanevsky 01-15-2006 01:10 PM

:banana: UPDATE 1.3.2 :banana:

1. Revert every single template created by this hack (if modified).
2. Overwrite product XML.
3. Overwrite ./psistats.php, ./includes/cron/psistats_update.php, ./includes/psistats/database_agent.php
4. Re-do template change for headinclude


All times are GMT. The time now is 08:40 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.01604 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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