![]() |
Quote:
|
Quote:
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 |
installed thank you ;)
|
Quote:
Sorry to ask. I could not find this code to replace: In which file? |
Quote:
/statsmod/statistics_user_profile.php on line 60 |
Quote:
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. |
Quote:
By the way, sorry if there are gramar errors on my english (hope there aren't many :rolleyes:) |
hmmmmmmmm
|
BWJ, just disable warnings in your PHP configuration and you are done :D
|
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! |
All times are GMT. The time now is 05:04 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:
|