This extension will place a small tab in the panel on the index page that shows some statistics about the forum. These statistics are able to be enabled and disabled at an admin's discression.
If you still obtain versions from 0.2.5 - 0.2.7 from before 10/06/06, please update now because an unfortunate testing variable was left on and this is now removed...
Warning: fopen(/nfsn/content/artmgs/public/forum/extensions/Statistics/options.inc) [function.fopen]: failed to open stream: Permission denied in /nfsn/content/artmgs/public/forum/extensions/Statistics/default.php on line 58
Warning: fwrite(): supplied argument is not a valid stream resource in /nfsn/content/artmgs/public/forum/extensions/Statistics/default.php on line 59
Warning: fclose(): supplied argument is not a valid stream resource in /nfsn/content/artmgs/public/forum/extensions/Statistics/default.php on line 60
I tryed to test this extension but I get this error:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/default.php on line 83
Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/default.php on line 85
Warning: fopen(/home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/options.inc): failed to open stream: Permission denied in /home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/default.php on line 58
Warning: fwrite(): supplied argument is not a valid stream resource in /home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/default.php on line 59
Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/domain/subdomains/test/httpdocs/extensions/Statistics/default.php on line 60
Kifo seems to have solved this problem. Do I have to change any settings? The readme file doesn't mention anything. Can anyone help me?
Warning: fopen(/home/hebele/public_html/vcd/extensions/Statistics/options0.inc) [function.fopen]: failed to open stream: Permission denied in /home/hebele/public_html/vcd/extensions/Statistics/default.php on line 80
options.inc chmod is 777 but giving this error after the new update. no idea :/
This extension won't work with my Vanilla although I think I installed it in the correct folder... But when I go to the Extension Manager it just pops up the "Category Jumper" serveral times (that I can Enable if I want to) but I can't find the "Statistics" anywhere and therefore can not enable them. (Same with the German language extension by the way. I can't pick "German" from the drop down in the manger, but I will post this in a seperate thread.)
However, would it be possible to also have a link on the newest user's name? I tried to understand how to add one by myself, but it seems to be way beyond my skills.
* Statistics Preferences which are 'toggle' update without any problem, and work straight away. The numerical preferences ("Number of Rows" for 'top posting users', 'top discussion starters' and 'most active users') are saved to the options file, but do NOT work.
For instance, if I go and change the number of rows for 'top posting users' from '3' to '10', nothing changes in the stats display - it still displays only 3 users. If I open the options file and have a look, I see:
Unfortunately, the bug reported mentioned here still persists. I have just opened my options file, and checked, and there I see:
top_posting_user => 1 => 3 => someuser => 535
Note, that there should be three users listed, and (as you can see from this line), there is actually only 1 being listed.
I think I know what the problem is: the options.inc file is being updated *only* when a new message is posted, or a new user registered, etc. It seems like it is NOT being updated when the preferences are changed.
Thank you very much for all this work! - It is greatly appreciated!
I have already received some 'ooh's and 'aaaah's from my users.
Last request:
* could we perhaps have a prefence that allows us to exclude BANNED users from the stats? - In my forum, for instance, there were a couple of very prolific posters who have been banned, and they (still) keep showing up on the stats.
Good idea icouto! Just make it so you can turn an option on and ff in the Roles & Permissions whether or not the Role should show up in Forum Statistics :)
I've just added 0.4.4 version and I'm getting the same problem as Icouto is reporting. Stats looking OK on homepage but not being able to alter layout/number of shows in the preferences panel. Is there a codefix we can use on the default page?
Yes Keith, I tested this add today and I tried to change the options and nothing happens but I went to the extention file and change the permissions to 777 and all is working now
I kept the permissions of the options.inc file at 0666 because that usually works for most servers. 0666 also works well for the default.php file..... bur sometimes stuffs up.
Changing the permissions to 777 fixed it for me but it has some mini bugs in there somewhere, i had to reset it three times to get the arrangement that i wanted.
Vincent, great extension and thanks for all the hard work. Here's one thing I noticed: the permission to modify Statistics settings, i.e. the link in the Settings->Options panel will appear for all Roles with any access to the settings.php page. So, for example, if I have user Roles with less than Administrator permissions, but who have access to the Settings page (for adding/editing new Categories, let's say), they'd be able to modify the settings on the Statistics extension. Is there a way to limit permissions to Admin only?
That my friend aerocapture, is something that will be completely fixed in the new major version of forum statistics. The whole back-end of the program is going to be re-vamped once i find the time for it ;)