Posted July 21, 201113 yr File Name: (SOS32) Forum Quick StatsFile Submitter: Adriano FariaFile Submitted: 21 Jul 2011File Updated: 14 Dec 2011File Category: Hooks and Plugins Displays information of each forum such as: topics, posts, views, top author, top poster, last post info, polls, etc.Settings:Specify a title to the stats Select in which forums will appear the stats Select which groups will see the statsClick here to download this file
September 5, 201113 yr Just noticed... "Just" because it happens on couple of forums only. At the top of the page I get this:Warning: Division by zero in /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php on line 59Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 116Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 127Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 136Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 137Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 141
September 5, 201113 yr BTW, this is where it happens for sure: http://www.smartestcomputing.us.com/forum/110-biography/ Hook disabled for now.
September 6, 201113 yr Author hey Broni, again... there must be something different on your board; something enabled that is causing all those problems, strict mode or something. Again I can't reproduce. See: Your error points to the line 50, where is the division of the user that most replies to topics by the total replies of that forum... In other words, this is to find the TOP POSTER. If you see the image above, I have no replies in topics, I mean, the value is 0 (zero), and even being 0, I don't have your error! A message is show instead: No post was created yet.
September 8, 201113 yr It looks like it was some IPB glitch. I updated last night to 3.2.2 and the error is gone. Thanks for looking though :)
September 8, 201113 yr oh, i was about to report the same, but i will try when im on 3.2.2 if it gets fixed
September 24, 201113 yr Hi there I like this but seems to come up with some strange things every now and again especially the "last post" bit (see below, no-one has ever posted those 'words' - 'menos de...') and also the username not showing up in Top Author and Top Poster... gives the stats but not the name. Any idea why these things are happening? (I deleted, downloaded the latest version and re-installed but the same things were happening). Thanks.
September 24, 201113 yr There is probably missing </div> or what because menu Change Theme English (USA) Mark Community Read Help is not below that white table but is included in that white table.
September 24, 201113 yr I see, I didn't seem able to edit this via the language section.... Will we needvan update there? thanks again!
October 1, 201113 yr I'm getting same error again:Warning: Division by zero in /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php on line 59 Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 114 Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 127 Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 136 Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 137 Warning: Cannot modify header information - headers already sent by (output started at /home/smartest/public_html/hooks/forumstats_2a72a29ec4993ac08d0cd682139cc822.php:59) in /home/smartest/public_html/admin/sources/classes/output/formats/html/htmlOutput.php on line 141 It seems to happen right after some topics have been deleted during board cleaning procedure.
October 1, 201113 yr Interesting development. After I cleaned all deleted stuff in ModCP the error is gone. Hopefully it'll give you some clue :)
December 14, 201113 yr Elaborate... it works fine for me. No, see your image in 6th post. Footer is broken. Menu shouldn't be on white background, but below that. I told you in 12. post.
December 14, 201113 yr OK, I found some issues with translation. I translated all strings, but... 1... it seems there are not any strings for titles like Forum and Topics 2... in row Top Author I cannot translate topics -> Axel Wers ( 5 topics: 100% ) ... in row Top Poster I cannot translate posts -> Axel Wers ( 33 posts: 55,93% ) and the last issue is specific There are three strings sos_forumstats_dia (day) sos_forumstats_hora (hour) sos_forumstats_minuto (minute) but on board after everything word is added s automaticaly, so I get days, hours, minutes When I translate it to my language I need get rid of that s. I write aaaa but get aaaas. Row Last Post is affected.
Archived
This topic is now archived and is closed to further replies.