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-29-2007 12:56 AM

"Age" in the select box. That's the only one I saw.

NeRilkA 04-29-2007 11:15 PM

No it's ok in french ;) it's the same word ^^ thanks anyway

Dream 05-07-2007 01:40 AM

100 installs! :D

NeRilkA 05-07-2007 04:20 PM

Bravo Dream ;)

nureeves 05-09-2007 02:53 PM

Hey .. just wondering,
how to show statistics zero poster per month ? :)

Dream 05-09-2007 05:30 PM

Hello, zero poster per month? What do you mean, can you elaborate?

BWJ 05-20-2007 09:17 PM

Thank you for listening.... :) (http://www.vbulletin.com/forum/showt...93#post1338193)

I have installed your superhack and it looks really really nice. I will examine and comment it further when I have more time (may be several days will go) - but already one suggestion:

In the user profile statistics: Make the number of votes clicable - so when you click you will see who "voted". This would make a great difference... and then the fun will really begin for the members - of any forum board with custom profil fields... Nice work Dream... ! :up:

I send you a PM with a link to my forum with 161 (I think) different custom field categories... So you can see you program tested to its outmost... :D

There you will also see a bug:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
Warning: Division by zero in /statsmod/statistics_user_profile.php on line 60

PoetJA-1975 05-21-2007 06:48 AM

Quote:

Originally Posted by Dream (Post 1242810)
100 installs! :D

Congrats - It's a wonderful addition to JPiC - My Members love being able to see the Forum Stats... Question - Any plans to ever include top refererring websites in the future? That would be AWESOME!

Again - thanx for providing such a lovely modification ;)

JAcquii.

cfish 05-22-2007 08:52 PM

Fantastic product. Thank you very much! Works a treat and excellent range of options. *Installed*

pcg 05-23-2007 10:31 PM

My only request is member visits per day. I think it's be good, as we base ad rates based on member visits per day. I see this in the CP, but would be great to mak public

Dream 05-25-2007 07:09 PM

Quote:

Originally Posted by BWJ (Post 1251695)
I send you a PM with a link to my forum with 161 (I think) different custom field categories... So you can see you program tested to its outmost... :D

There you will also see a bug:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
Warning: Division by zero in /statsmod/statistics_user_profile.php on line 60

I'm gonna look into this, thanks for reporting it.

Miki_29 05-26-2007 03:12 PM

Quote:

Originally Posted by BWJ (Post 1251695)
Warning: Division by zero in /statsmod/statistics_user_profile.php on line 60

I've had the same problem on statistics_registration.php...

Just change:
$percent = ($counter['count'] / $total_counter) * 100;

By:
If ($total_counter > 0){
$percent = ($counter['count'] / $total_counter) * 100;
}


Hope it helps...

By the way, here's the link for my statistics page, translated to Portuguese:
Fairplay Forum

Aimee1969 05-27-2007 11:55 PM

installed thank you ;)

BWJ 05-28-2007 07:56 AM

Quote:

Originally Posted by Miki_29 (Post 1255006)
I've had the same problem on statistics_registration.php...

Just change:
$percent = ($counter['count'] / $total_counter) * 100;

By:
If ($total_counter > 0){
$percent = ($counter['count'] / $total_counter) * 100;
}


Hope it helps...

By the way, here's the link for my statistics page, translated to Portuguese:
Fairplay Forum


Sorry to ask. I could not find this code to replace: In which file?

Miki_29 06-02-2007 08:09 AM

Quote:

Originally Posted by BWJ (Post 1256041)
Sorry to ask. I could not find this code to replace: In which file?

The file you mentioned:
/statsmod/statistics_user_profile.php on line 60

BWJ 06-02-2007 01:00 PM

Quote:

Originally Posted by Miki_29 (Post 1259658)
The file you mentioned:
/statsmod/statistics_user_profile.php on line 60

Sorry for my very stupid question...! :o I naturally searched for it - but for some reason didn't find it.

Anyway it helped with the "line 60" error.

Now there are two left:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
and
Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 32

Both errors also existed before. I didn't see the "line 32" in the first place due to the many error lines.

Miki_29 06-03-2007 04:16 PM

Quote:

Originally Posted by BWJ (Post 1259747)
Now there are two left:

Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 43
and
Warning: Invalid argument supplied for foreach() in /statsmod/statistics_user_profile.php on line 32

Both errors also existed before. I didn't see the "line 32" in the first place due to the many error lines.

I'm afraid I can't help you with that one... I don't know much of programing on php, I go on self learning, by trying... :o And it's hard to try to fix a problem I don't have :p


By the way, sorry if there are gramar errors on my english (hope there aren't many :rolleyes:)

jerseyda6 06-03-2007 04:47 PM

hmmmmmmmm

Dream 06-05-2007 01:05 AM

BWJ, just disable warnings in your PHP configuration and you are done :D

txspaderz 06-05-2007 01:40 AM

Great Hack!

Suggestion: Could you add an option to the drop down menu to show ALL the Statistics on the page at once? I would love that, as I'm the only user that checks this page, so Server load isn't a problem.

Much Thanks again!

Dream 06-05-2007 02:06 AM

That's how it used to work :/ but I think about it.

BWJ 06-05-2007 05:32 PM

Quote:

Originally Posted by Dream (Post 1261434)
BWJ, just disable warnings in your PHP configuration and you are done :D

That sounds easy. But I am a newbie - and never tried anything like this before.

1) I guess you altering the php.ini file... right?

2) Can I make a custom php.ini file in the directory statsmod - so I don't have to change the default one? or should i make one in public_html (root)?

3) Is it this code I should use= display_errors = Off?

I know you cannot help every kid across the street to the school - but I am really lost here - and I really would love to use your "little" superhack without these error messages.... :p

Dream 06-07-2007 07:15 PM

BWJ, sorry but I don't know much of php configuration. You could try asking over the server configuration forum, there someone may be able to help you.

I wouldn't disable errors though, just warnings, I know there's a setting for that because my php is set to not display warnings, and all has been fine for years.

DarkRyda 06-10-2007 10:07 AM

very nice mod, does any one have the older version. Like all the statistics in one page?

Thanks in advanced...

BWJ 06-12-2007 05:02 PM

Quote:

Originally Posted by Dream (Post 1263528)
BWJ, sorry but I don't know much of php configuration. You could try asking over the server configuration forum, there someone may be able to help you.

I wouldn't disable errors though, just warnings, I know there's a setting for that because my php is set to not display warnings, and all has been fine for years.

Thank you. If I find a solution I will post the answer here. Until then - if any expert should come around this thread, he should be very welcome to suggest a solution... :)

Dream 06-20-2007 12:36 AM

This mod is great just for the registration statistics, I'm very proud of it :)

Sorry DarkRyda, I don't have it. And sorry I don't have time to support two kinds of statistics products.

BWJ, you could try asking in the Server Configuration forum here in the vB.org forum for how to change the configuration to ignore warnings. PHP for Linux comes disabled by default I think.

BWJ 06-21-2007 11:23 AM

I tried with a php.ini f?le and setting the display_errrors = Off (I could not find any warnings on/off) . It didn't work but as said I probably had made some stupid error - as I have never tried such thing before...

But anyway.... I found the solution to the before mentioned errors/warnings :D And the solution - simply make at least one entry for each user field..... Thats all... :p

But may be the script could take into account that zero entries actually is a possibility?

child_abadan200 06-21-2007 01:46 PM

Thanks

Dream 06-21-2007 03:42 PM

Ok BWJ, I took pity on you :D I'll fix the script.

You are welcome child abadan.

sybakaos 06-21-2007 04:38 PM

I like it and installed the hack. Is it possible for you to include a thread prefix to a thread name's and add custom stats fields?

For example, I have some custom counters. They're called field5, field6 etc. It would be nice to have the option to include those. Much like the thanks addon.

BWJ 06-21-2007 07:44 PM

Quote:

Originally Posted by Dream (Post 1273312)
Ok BWJ, I took pity on you :D I'll fix the script.

Great! :)

Dark_Sirius 06-21-2007 09:21 PM

How often does this mod update its stats tables? In other words, will it update the page each time someone requests the stats.php? If so, how does this impact server processor load? The first few times I used the mod it hung while it was gathering info. Is this a one time thing or what?

Dream 06-21-2007 11:05 PM

It calculates the info each time statistics.php is called. If you have a big forum, sorry you shouldn't use this mod :P

Or you could have it set only for admins, not for the general public to use.

Dark_Sirius 06-22-2007 01:15 PM

Quote:

Originally Posted by Dream (Post 1273603)
It calculates the info each time statistics.php is called. If you have a big forum, sorry you shouldn't use this mod :P

Or you could have it set only for admins, not for the general public to use.

That's what I figured and what I did.

provedel 06-28-2007 11:40 PM

There a way to show the total number of posts deleted by our mods???

Like this:

http://img166.imageshack.us/img166/181/sshot4al8.jpg

misuse 06-29-2007 02:28 AM

Quote:

Originally Posted by sybakaos (Post 1273335)
I like it and installed the hack. Is it possible for you to include a thread prefix to a thread name's and add custom stats fields?

For example, I have some custom counters. They're called field5, field6 etc. It would be nice to have the option to include those. Much like the thanks addon.


I too am looking for something like this. I need more statistics for my website.
The age stats are perfect on the product already! Thanks Dream.

NaughtyStud 06-29-2007 04:19 PM

Very nice mod and thank you. Clicks Install ;)

Dream 07-01-2007 12:50 AM

gogo almost 200 installs :D

the best statistics mod around, should have 1000 installs!

tomzx 07-01-2007 12:11 PM

Dream, you've done a nice job putting that up. Here's a little modification I'd like to see:

If you go to the age statistics, your system seems to only work of people have accepted to reveal their birthday information (date, month, year) but it will not show those who have accepted to show their age (not birthday).

If you could make it so it would also show those who accepted to reveal their age, that would be great :)

Dream 07-01-2007 12:14 PM

Wasn't supposed to be like that.

Can you tell if its just on the oldest/youngest listing or in the age groups as well? I'm pretty sure everyone with a birthday, even hidden, shows in age groups.


All times are GMT. The time now is 07:41 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.01575 seconds
  • Memory Usage 1,824KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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