![]() |
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? |
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(). |
What about putting everything into one file?
All IP files together are worth 2.47MB on disk... |
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.
|
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 |
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: |
@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... |
Thanks Psionic...
Not sure how i missed that 1 (no comments please :p) All sorted again thanks :) Quote:
|
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. |
: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|