A minor inconvenience-Forum post stat not clearing
Posted: 15 May 2008 12:52 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  403
Joined  02-14-2007

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.

Profile
 
 
Posted: 15 May 2008 01:05 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

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.?

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 15 May 2008 01:15 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  403
Joined  02-14-2007

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.

Profile
 
 
Posted: 15 May 2008 01:23 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

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.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 16 May 2008 02:19 PM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

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.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 16 May 2008 02:20 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
RankRankRank
Total Posts:  403
Joined  02-14-2007

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

Profile
 
 
Posted: 16 May 2008 02:25 PM   [ Ignore ]   [ # 6 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15408
Joined  05-15-2004

Closing for now.

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 32
Total Topics: 82017 Total Anonymous Users: 14
Total Replies: 440827 Total Guests: 162
Total Posts: 522844    
Members ( View Memberlist )