Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthordhdesign
    • CommentTimeApr 6th 2007
     # 51
    I would like to see an option added where, when set, would allow the Admin to define (either in Roles and Permissions or on the Statistics settings page itself) which groups can see the statistics. I'm trying to limit mine right now so that only I can see them, not the rest of my clients.

    Also, current issue: Whenever I change the setting to either view or not view the statistcs, I get the same success message: The statistics have been successfully reset. Shouldn't there be a different success message for each of those actions (i.e., "You have successfully updated the setting. Statistics can now be viewed.")??
  1.  # 52
    Needed to change the code a bit to make it work.
    I suggest you add this to future releases to make your extension work on servers with really harsh restrictions for file opening:

    include(dirname(__FILE__) . "/Framework.Functions.php");
  2.  # 53
    Meh, you probably should add to the readme that the options.inc file is neccessary to put on chmod 777!
  3.  # 54
    There's probably an obvious answer to this question, but when I install the Forum Statistics extension and go to the discussions page, I get this four times:
    "Notice: Undefined index: UserID in /home/tphoenix/public_html/tobiasphoenix.com/Vanilla-1.1.2/extensions/Statistics/default.php on line 193"
    at the top of the page.

    If I disable the three 'Top' options then it goes away. Does anyone know what the issue is here?
  4.  # 55
    I'm getting a message on top of my "discussions" page:

    "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/content/t/i/n/tinneys/html/vanillaforum/extensions/Statistics/default.php on line 191"

    It goes away if I disable the extension. All of my permissions in the Statistics folder are set to: 777
    • CommentAuthorKeith
    • CommentTimeMay 17th 2007 edited
     # 56
    My statistics has just gon kaput! I excluded guests from posting replies on the forum yesterday - Guest was the highest poster at that time. Today the statistics has vanished from the sidepanel. I get these error messages when I try to look at mods in the settings panel:


    The statistics have been successfully reset

    Notice: Undefined index: top_posting_user in /home/greenbui/public_html/newforum/extensions/Statistics/default.php on line 117

    Notice: Undefined index: top_discussion_starter in /home/greenbui/public_html/newforum/extensions/Statistics/default.php on line 118

    Notice: Undefined index: most_active_users in /home/greenbui/public_html/newforum/extensions/Statistics/default.php on line 121
    • CommentAuthorcircuit
    • CommentTimeMay 18th 2007 edited
     # 57
    .
    • CommentAuthorjsamlarose
    • CommentTimeMay 25th 2007
     # 58
    Hi - I'd be interested in building in a stat from the Thankful People extension - something like "Most Thanked Person" (i.e. person with the highest number of "thank yous"). Tried having a go at it myself, but had to admit I didn't really know what I was doing! Anybody have any pointers? Thanks in advance for any answers...
    • CommentAuthorzaipe
    • CommentTimeMay 26th 2007 edited
     # 59
    I love this extension. But I'm having some problems with it.

    When I first created the forums I made a few test discussions and test comments. I've now deleted those, but they're still included in the statistics. That makes sense, but then I try to correct Discussions from 13 to 11 in the options.inc file and everything is good. It now says there's been 11 discussions in total, but within 5 minutes it says 13 again. What am I doing wrong?

    EDIT: Oh, and when I try to show Top Posting Users in the statistics it says: "Top Posting Users: With 0" - the "0" linking to the account page. The same goes for Top Discussion Starter.
  5.  # 60
    zaipe the extension will work out up to date statistics every 5 minutes. If you put 11 in the file it will just assume 2 new ones have been created..
    •  
      CommentAuthorØ
    • CommentTimeJun 16th 2007
     # 61
    Hi folks.

    I've two problems with this extension.

    - The link to the newest user's account page works half of the time. Sometimes it points to the related user's page, sometimes it points to the person who's clicking on the link own account page. It may have something to do with the fact I enabled this addon on the extension page (for the blog extension), but it should work anyway.

    - The administrative settings of this addon can be accessed by anyone who has privileges to review the new applicants. It's rather disturbing in my case since my moderators aren't supposed to be able to modify anything but users roles.

    Any help would be greatly appreciated :)
    • CommentAuthorscherem
    • CommentTimeJun 26th 2007
     # 62
    @tinneystavern any solution yet that doesn't invovle turning the extension off?
    • CommentAuthorcamflan
    • CommentTimeJul 8th 2007 edited
     # 63
    I'm having the same problem with the newuser link, it works intermittently. Seems to be dropping the ?u=XXX, which takes you to your own account page. any fix for this yet?
  6.  # 64
    is it possible to not include whispers and private messages in the top posting feature?
  7.  # 65
    i also have a problem with the top posters part of this addon. for some reason, one of my users appears twice in the top posters list with two different amounts of postings.. how does this happen and how can i fix it?
    • CommentAuthorSasquatch
    • CommentTimeJul 25th 2007
     # 66
    Hey, love the plug-in, only trouble I've been having is the new user link. It is trying to access the Signed In users account view. Thus when Signed out it goes nowhere, and when signed in instead of going to the newest users profile it goes to whoever is logged in. This seems like a simple fix, I don't know much php but there are plenty of other links in this software that have the same functionality. A fix would be much appreciated.
    • CommentAuthorSasquatch
    • CommentTimeAug 1st 2007
     # 67
    any luck with this??
    • CommentAuthorSasquatch
    • CommentTimeAug 16th 2007
     # 68
    cmoooon, :) I would like to get a fix for this!! If anyone knows a work around a little step by step would be much appreciated.
    •  
      CommentAuthorResilient
    • CommentTimeAug 25th 2007
     # 69
    This extension works perfectly for me. Many thanks to Vincent for such a great extension.

    The only problem I seem to be having is where the Newest User is displayed, the link actually links back to my own account page. I am using FriendlyURLs and figured it is a conflict with that.

    An example of what I mean is, Newest User should point to "http://endlesstears.net/account/2/" however it points to "http://endlesstears.net/account/"

    Anyone know how I can fix this?
    •  
      CommentAuthorjimw
    • CommentTimeAug 25th 2007
     # 70
    I've noticed that, too. The link is set correctly until you go to the link. Then the link changes. Maybe someone has a clue how to fix this. It may have to do with the sql statement to get the newest user.
    •  
      CommentAuthorResilient
    • CommentTimeAug 25th 2007
     # 71
    Yeah, that's it! When clicked on for the first time it works perfectly, but then changes to /account/ for any clicks to follow.
    • CommentAuthortroppmann
    • CommentTimeSep 9th 2007 edited
     # 72
    ok, now what is the fix for this?

    mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/.latoya/leisurep/chicagofixedgear.com/extensions/Statistics/default.php on line 191

    it was working fine and all and then BAM....so, little help or do i delete it?
    • CommentAuthor0169
    • CommentTimeSep 24th 2007
     # 73
    I've noticed that if used with Page Manager, PFC, Members Page, etc. it won't show up with custom pages aside from the All Discussions page. I'm sure this is easy to fix however I have no knowledge whatsoever about writing scripts.
  8.  # 74
    Have you tried re-syncing tabs in page manager?
    • CommentAuthor0169
    • CommentTimeSep 25th 2007
     # 75
    Resyncing the tabs didn't work. Problem persists
    • CommentAuthorSasquatch
    • CommentTimeOct 3rd 2007
     # 76
    I just recently upgraded to the latest vanilla version, and my hosting company mediatemple.net was having some funky issues - then BAM my damn statistics plugin stops working. It seems like the options.inc file gets wiped or when the plug-in writes to it it stops after half a line. I then re-upload a previous version of the file and it starts working again. Then about 6 hours later it happens again. WTF!!! This has happened like 4 times in the last 2 days is there any recourse??!!!??
    •  
      CommentAuthordexter
    • CommentTimeOct 30th 2007
     # 77
    Hello,

    nice extension. Is there any chance to display the statistics also on the category page and not just on the discussion page?

    thanks for your help.
    cheers
    dex
    •  
      CommentAuthorWanderer
    • CommentTimeOct 30th 2007
     # 78
    Mine shows up on the Categories page, can't remember if I hacked that or it came up by default.
    I'll take a look first chance I get.

    Posted: Wednesday, 31 October 2007 at 6:29AM

    •  
      CommentAuthorjimw
    • CommentTimeOct 31st 2007
     # 79
    In the default.php file towards the bottom, you have:
    if ($Context->SelfUrl == "index.php") {
    Change it to:
    if (in_array($Context->SelfUrl, array("index.php", "categories.php", "post.php", "comments.php", "search.php"))) {
    Leaving in only those pages on which you want to display it. In your case, you would just want index and categories.
    •  
      CommentAuthordexter
    • CommentTimeOct 31st 2007
     # 80
    sexual chocolate. thanks a lot!
    •  
      CommentAuthorVincent
    • CommentTimeNov 3rd 2007 edited
     # 81
    Would anyone like me to remake this extension to see if I can properly organise the user interface and hopefully dispel any of the previous problems? I there's enough people to support me taking the time out to re-make this i'd happily do it, but there has to be quite a few people wanting me to do it...

    If you and your friends would like to support this, please whisper your agreement, and any helpful ideas that you may have.
    •  
      CommentAuthorVincent
    • CommentTimeNov 6th 2007
     # 82
    looks like no one wants a new version of Forum Statistics then...
    •  
      CommentAuthorØ
    • CommentTimeNov 6th 2007 edited
     # 83
    I do :)

    I'd really like to see this link to user profile issue fixed.
    •  
      CommentAuthorWanderer
    • CommentTimeNov 6th 2007
     # 84
    Anything new is good, even though the old one works fine for me.
    • CommentAuthorLoOkHerE
    • CommentTimeNov 8th 2007
     # 85
    Ohhh, I do. I have periodic problems w/ the current version. It falls over and needs to be reset every week or two.
    •  
      CommentAuthorklip
    • CommentTimeNov 28th 2007 edited
     # 86
    Hi, I had to do some hacks to make it work fine for me with my language.php definitions:

    1. change all these lines
    $Context->Dictionary["term"] = "definition";
    to
    $Context->SetDefinition("term", "definition");
    so language.php definitions are not overdefined by these.
    (starts on line 14)

    2. add 'Statistic_NumberOfRows' definition and replace "Number of rows:" by getter from dictionary (on line 200)

    3. replace 'Statistics' label for Panel List Item by getter from dictionary (on line 307)

    4. switch 1 and 2 notices because it seems the notice messages are reversed (on lines 240, 247, 261, 263)

    5. change form method from post to get, so it displays the correct notice, not the previous one when changed settings (line 254)


    Here is a diff of all changes: http://vanilla.klapka.cz/Statistics-default.php.diff
    • CommentAuthornickldavis
    • CommentTimeMar 11th 2008
     # 87
    I have a small problem... when a user hits 999 posts it stops them right there... I'm poking through the code looking to see where I can change it to allow a 4 digit number vs. a 3 digit number but I'm not seeing it... any help?
    • CommentAuthornickldavis
    • CommentTimeMar 11th 2008
     # 88
    Interesting.... it rolled over now about 2 hours later and is displaying the proper amount... looks like it just lags when rolling over from 999 to 1000
  9.  # 89
    Me too, I'd totally like to see a new version!
    •  
      CommentAuthorWanderer
    • CommentTimeApr 3rd 2008
     # 90
    Interesting.... it rolled over now about 2 hours later and is displaying the proper amount... looks like it just lags when rolling over from 999 to 1000

    This is a cache issue I think.
  10.  # 91
    Uploaded version 0.4.6 of Forum Statistics.
    •  
      CommentAuthorHamed
    • CommentTimeApr 11th 2008
     # 92
    so what does this new update solve?
    • CommentAuthorfysicsluvr
    • CommentTimeApr 11th 2008
     # 93
    If you'd wait longer than a minute, the creator of the addon could actually tell us!
    •  
      CommentAuthorHamed
    • CommentTimeApr 11th 2008
     # 94
    that is true
    i saw it
    and it said updated 15 seconds ago
    lol
    •  
      CommentAuthorVincent
    • CommentTimeApr 13th 2008
     # 95
    haha, nice.

    I just updated the Forum Statistics to include the mistakes that i didn't correct beforehand that had been spotted out by the people here.

    I'm not sure how much time i'll have to fix up this in the next few weeks but i may dust off my old vanilla files and take a shot...
    • CommentAuthorlittle_peet
    • CommentTimeApr 14th 2008 edited
     # 96
    hi,

    Since the user count at my site is stabilizing, and more readers as poster come around i needed a extra statistic, "user count online today(last 24h)".
    So i could see if there is still enough activity to keep the site online.

    Since maybe some people would like this. here is what i have changed in the extension dir Statistics


    replace the last two chars "; on the end of line 86 in default.php with
    \nusers_in_the_last_24_hours".$GlobalKey."1".$GlobalKey."0".$GlobalKey."0";

    add the following line to default.php at line 41
    $Context->SetDefinition("Statistic_users_in_the_last_24_hours", "Users Logged on the last 24 hours");

    insert the followingline at line 123 to default.php
    $this->StatisticsSQL['users_in_the_last_24_hours'] = "SELECT count(*) FROM `".$this->Context->DatabaseTables['User']."` WHERE DATE_SUB(NOW(),INTERVAL 1 DAY) <= ".$this->Context->DatabaseTables['User'].".".$this->Context->DatabaseColumns['User']['DateLastActive'].";";


    After this is added, reset the statistics from the settings page and a line is added at the bottom of the statistics showing how many users have logged in the last 24hours.
  11.  # 97
    I already translated to portuguese, there is the link for download: http://www.blogtuga.org/?dl_id=36
  12.  # 98
    just updated, doesnt seem to fix the username linking to the account issue though
    • CommentAuthormiquel
    • CommentTimeApr 25th 2008
     # 99
    version number should be updated in default.php
    •  
      CommentAuthorØ
    • CommentTimeMay 23rd 2008
     # 100
    I confirm the username linking still doesn't work for me either.