vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Dream's Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=140812)

Dream 04-22-2007 12:45 AM

rjmjr69, if you only have one member with birthday in your forum, it will show him as youngest and oldest of your forum.

I'm gonna look into this problem in the foreach.

About your welcome box, I can take a look into your forum, but you will need to enable statistics for guests for me to view it. Do you have a link of the mod for me to take a look at it?

About disabling single statistics, I may do this in the future, but I'm not sure how, this mod has many statistics and making an option for each one in the Statistics options would make the options be too big.

edit: don't worry you are not being a pest :)

Dream 04-22-2007 12:53 AM

Quote:

Originally Posted by Slave (Post 1232616)
hmm .. I reuploaded the .php file and all is well .. ?!?

Just seen that the User Profile page is blank .. what is it meant to be showing?

I'm glad it seems to be working now, right? You just needed to revert your template and reupload the files.

The User Profile page will only show info if you have Custom Profile Fields, like "what do you like most: cats / dogs". It will show how many people chose what.

If you don't have any custom profile fields set in your board you are safe to disable the User Profile Page in the options.

joker2040 04-22-2007 12:55 AM

Installed! You can view my demo at http://www.s10planet.com/forum/statistics.php

Dream 04-22-2007 12:58 AM

Thanks joker, can I use that as a live demo? :)

Dream 04-22-2007 01:02 AM

Quote:

Originally Posted by NeRilkA (Post 1232665)
For me the page Profil works fine but the SQL error for birthday came back



I put the date in the right format but these errors came back too :

The statistiques for Last Year don't show up like Last Month, Post per Day and Post per month

Nerilka, how do you set up your vBulletin date formats? Did you try to set this mod's formats exactly the way you made your vBulletin date formats?

If you did and you can't make this work, I'll change this mod to force using of the date() format instead of the locale format. (like the version I made before that you used)

joker2040 04-22-2007 01:08 AM

Quote:

Originally Posted by Dream (Post 1233044)
Thanks joker, can I use that as a live demo? :)

Yes... Thanks again for this great mod!!!

Dream 04-22-2007 01:10 AM

Thank you :) looking good!

Dream 04-22-2007 01:15 AM

Quote:

Originally Posted by hurik (Post 1232728)
hi,

very nice mod but i have a suggestion (i hope nobody has suggest this before, i was to lazy too read the whole thread! :) ):
i would make an cron job which calculate the whole stats every hour and save it somewhere in the database and when an user look at the stats it only load the result and this would HIGHLY reduce the server loads.

my board has 800 k post, 20 k user and when 500 user are in the boards it take:
"Page generated in 187.23493004 seconds (0.05% PHP - 99.95% MySQL) with 41 queries" and i have an server with:
CPU: Dual-Core AMD Prozessor - Opteron? 1218
RAM: 4 GB
HD: RAID1 2 x 400 GB

ant thats only when i look at the stats. when i would make it open for all it would kill my server ...

hurik

i hope every body understand my bad english ...

Hurik, I'm sorry to hear that, you are the first owner of a bigger board that lets me know how this mod went.

This mod shows a lot of statistics, I wouldn't know how to cache them all.

I'm thinking of breaking the general statistics in pages, like Top Posters page, Thread Statistics page etc, I think that would help you to run this better. Let me know what you think and what pages with statistics you would like to see.

Oh and I understood you just fine ;)

Dream 04-22-2007 01:26 AM

Quote:

Originally Posted by henners (Post 1232562)
When you run the .php for the first time, does it do some thinking first or does it work straight away?

The only reason I ask is that i've installed twice and on both occasions it seems something has gone crazy when I try and load the stats page, CPU loads hits 100%, apache crashes etc... This is probably an issue with our (dedicated) server, but I have no control over that, and each time this happens I get services restarted within a minute or so (so the forum stays up!) Should I be brave and let whatever is happening continue, or is this not normal ;)

Cheers, I don't have much time atm but I really like your mod!

Henners, sorry about that, as I said in my last post I'll do a version of this mod that doesn't show all statistics in one page, that should let you run this mod.

Dream 04-22-2007 07:07 AM

Updated, I broke all statistics into pages. This version should be easier on the server.

It's loading a lot faster now.

Nerilka, I think I fixed your problem with dates. Use this format for the options now.


All times are GMT. The time now is 11:02 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.01500 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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