![]() |
the lastactivity, lostpost & lastvisit date & times are colour coded Green for less than a week, Blue for 1 - 2 weeks old, and red for any date older that 14 days.
|
Ive come up with this to stop the date problem
In pmstats.php Find PHP Code:
PHP Code:
|
If the originator of this hack is reading this, how about a hack to be able to delete all PM's over a certain amount of days? Like delete PM's over [x] days old.
|
Warning: Division by zero in C:\HTTPD\upload\admin\pmstats.php on line 59
can anyone tell me why?? |
You don't have any PM's on the board, so you got this error. I need to add a if command for fixing this one...
|
Quote:
|
Did you installed this other stats hack you shows how many active user there are? This hacks adds a variable $limit to the boards, which I'm using too! You need to change then $limit in pmstats (all of it) to something else: e.g. $limit_pm
|
Quote:
|
Hi,
i just installed this hack on my Board for the first time an tried to access the stats. I was wondering why it didn't show up, checked my server and saw one HTTP-Process using 150 Megs of RAM.... After restarting Apache i took a look at the script ;( There are lots of MYSQL Queries returning huge unused arrays. I like this hack, but i have to rewrite it for my board for better performance. If this still doesn't work i will create daily static HTML Pages containing the PMStats output. BTW my Board at http://www.amihotornot.de has 30000 Users with 270000 stored messages. If someone is interested in the fast version of this hack, please let me know. sneak |
Always, you bet!
Anytime someone can increase performance and better something I'm all ears (and fingers and eyes)! =-) |
I would be.
My site has over 60,000 users with 414680 posts. It's crazy these days. Steven |
Total PM's in database 2331
Users with at least one PM 441 Users PM average ~5 ------------------------ Above is my stats. question, are these based on 'un read' messages? Any chance of a search option ? |
I know, there are many querys but I couldn't think of it to make it better at this time. I'm getting better and better maybe I should try to remake it, but the problem is to get all PM of a user in a group....I 'll take a look at it.
I have: ~1100 Members ~80000 post ~2000 PM's so it works. I'am on my own server (PIII 800, 128MB..) |
Good job on it The_Sisko, if you have time, you may want to add some features. It's a quality usefull hack.
|
I am now getting an error after having to swap databases the forum was running on.
<< Warning: Division by zero in c:\inetpub\wwwroot\vB\admin\pmstats.php on line 59 >> I read higher that you said it's because there are no posts.. which I don't see that as the problem considering the pmstats.php file is listing the total PMs under that error as : Total PM's in database 5440 Users with at least one PM 300 Users PM average ~18 I don't know what is causing this.. I redownloaded the pmstats file from this thread and reuploaded it trying to fix it.. but it still gets the error.. worked perfectly before the DB swap. |
Quote:
Sinclair |
All times are GMT. The time now is 01:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|