Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Forum Statistics 0.2
This discussion has been closed.
Comments
I was able to set all permissions in my control panel to allow (hopefully this won't cause problems other places??) but never did find anything related to CHMOD anywhere in my control panel. I just assumed it referred to permissions since I really don't know what CHMOD means (or does).
Warning: unlink(/usr/www/users/debono/forum/extensions/Statistics/options.inc): Permission denied in /forum/extensions/Statistics/default.php on line 59 Warning: chmod(): Operation not permitted in /forum/extensions/Statistics/default.php on line 63
It sure seems to me like it's actually saving the file without any problem...otherwise we'd see an error on line 60. If so, then it's just failing to delete the file (on line 59) and then change the permission (on line 63). If I were you, I'd comment out lines 59 and 63, like so (note the double-forward slash...//):
//if(file_exists($this->Context->Configuration['EXTENSIONS_PATH']."Statistics/options.inc")) unlink($this->Context->Configuration['EXTENSIONS_PATH']."Statistics/options.inc"); $link = fopen($this->Context->Configuration['EXTENSIONS_PATH']."Statistics/options.inc", "w"); fwrite($link, $this->StatisticsFile); fclose($link); //chmod($this->Context->Configuration['EXTENSIONS_PATH']."Statistics/options.inc", 0660); unset($this->StatisticsFile);
See if that fixes it. In particular, see if the options.inc file changes after a new post. If so, then it's working.
Fatal error: Call to a member function on a non-object in forum/extensions/Statistics/default.php on line 28
The above error on previewing a new comment.
Yes unless someone slipped me an imposter!
http://jdve.yi.org/downloads/Statistics-2006-06-11-Fixed.zip
This version has both the permissions issue and the recent bug fixed (hopefully).
Thank you, all fixed, working beautifully.
I changed it so it displays on the categories page instead of discussions, more room for it there.
Thanks again.
in_array($Context-SelfUrl, 'index.php'); or whatever, and add ,'categories.php' into that bracket.
if (in_array($Context->SelfUrl('index.php','categories.php'))) {
Should work i think.
if (in_array($Context->SelfUrl, array("account.php", "categories.php", "comments.php", "index.php", "search.php"))) {
(you can remove any of those pages you dont want it on) and it should definitely work!