ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

A minor inconvenience-Forum post stat not clearing

May 15, 2008 3:52pm

Subscribe [2]
  • #1 / May 15, 2008 3:52pm

    BlackHelix

    226 posts

    Howdy EE folks. 

    I’m internally debating whether this is a bug or not; I suspect it is.  In any case, it’s just a minor annoyance. 

    Here’s the deal: I had a forum set up, but it really hadn’t opened.  So, to refresh the post dates (to hide the fact there hadn’t been any activity since October last year), I deleted the forums and reset them up.  I reposted my rules, etc. 

    All well and good.  My issue is that I had another person help with skinning, and she posted a couple of test posts that are gone now.  That’s fine, I didn’t need them.  The problem is, her member profile still lists her as having made a forum post, though she has no more posts—I’m the only poster with posts now. 

    I recounted all the statistics in the admin-utilities-recount stats section, and that cleared out her having 2 posts credited to her, as it should.  The issue is that the profile line labled “Most Recent Forum Post” has the date of her last post still.  The recount system didn’t clear that, apparently, and the uninstall routine of the forum module doesn’t clear that out either.  The forum uninstall doesn’t clear any forum statistics, I don’t believe—when the forum was reinstalled, she still had her two test posts credited to her, forcing a trip to the recount utilities to clear that up. 

    I could easily edit the sql table by hand, but I figured I ought to ask to see if there was another method. 

    Here’s the info:  The offending member template is here.

    I’m running forum Version 2.1.0 (20080421); and EE version 1.6.3 build 20080421—so I’m pretty up to date. 

    Thoughts?  Should this be in the bug forum? 

    Thanks!  I have a support account I can enable if need be, just let me know.

  • #2 / May 15, 2008 4:05pm

    Ingmar

    29245 posts

    There are a bunch of columns in exp_forums, like

    forum_last_post_date
    forum_last_post_author_id
    forum_last_post_author

    But wouldn’t it be sufficient to simply make a new post. An announcement of sorts, eg.?

  • #3 / May 15, 2008 4:15pm

    BlackHelix

    226 posts

    I’m not quite sure what you mean by make a new post or announcement.  I wanted her entry of a most recent forum post removed on her profile—in the new forum, she doesn’t have any posts; so the “Most Recent Forum Post” info shouldn’t have anything in it.  Like I said, I can clear out her old post date from the SQL table by hand easy enough, but I just think EE should be able to do it for me when I either recount her stats or uninstall the forum.

    That’s why I think this is a bug, but it’s not the biggest deal (just a source of confusion—if people look for the post she made in September of last year, they’ll never find it, since it no longer exists).  And I don’t know that I want to make a post pretending to be her.

    It’s not a big deal since I have only one member this applies to, but if I had a lot of them, and my forum needed to be reinstalled or something, this could be serious in terms of statistics that aren’t quite correct anymore.

  • #4 / May 15, 2008 4:23pm

    Ingmar

    29245 posts

    Ah, I think I misunderstood you there. Well, if it really bugs you, yes, make a db backup, verify it and remove the entries by hand. I’ll give the crew a heads up, too.

  • #5 / May 16, 2008 5:19pm

    Ingmar

    29245 posts

    Vanceone, further internal testing revelead this indeed to be a (minor) bug. Thank you for bringing this to our attention, it will be fixed in an upcoming release. I have made the appropriate bug report, too.

  • #6 / May 16, 2008 5:20pm

    BlackHelix

    226 posts

    Thanks!  I figured it was a minor bug.  Glad it’ll be fixed.

  • #7 / May 16, 2008 5:25pm

    Ingmar

    29245 posts

    Closing for now.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases