Advertisement:

Author Topic: Some members post count in profile and posts have....  (Read 5064 times)

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Some members post count in profile and posts have....
« on: September 03, 2010, 02:46:00 PM »
Some members post count in profile and posts have 1 less that the actual amount of posts.

I noticed this the other day when I saw a post then below the Avatar it said 0 posts, on the actual post, after a refresh, then a maintenance check, errors and recount forum stats, no changes.

No errors in the log, at all, just some user and general errors referring to passwords and some twitter error, not any other errors.

In the posts below the avatar, the post amount is listed -1 post than the actual amount, same in profile view, however, when you click show posts the amount is correct with the post displayed too.


I cant seem to figure this one out...

Information~

SMF version 2 RC3 - Upgraded from RC1.2, along time ago, likely before these members even registered.
Theme, My own custom theme, (issues only recently started though, long after theme was installed, which was before any mods).

*Mods

1.Hide Tag 2.3.6 
2.SimplePortal 2.3.2 
4.Treasury 2.06 
5.Custom Tab 1.2 
6.Moderator and Administrator Comment Tags 1.8 
7.The Rules 1.3 
8.Custom Form Mod 1.6 
9.vNES Integration 2.1
10.Twitter and Facebook Publisher mod 2.4 
11.SMF Arcade 2.5 RC1 
12.Invitation System 1.0.3 
13.Linkbucks (for guests) 0.2 
14.Board Sort Methods RC3.o
15.Restrict Quote 1.0 
16.reCAPTCHA for SMF 0.9.8 
17.Guest Only BBC 0.1 
18.Members Only BBC 0.1 
19.vNES Integration 2.5 
   
20.Aeva Media 1.4 
 
Most recent is Aeva Media, then Members BBC and Guest Only BBC, the BBC mods I created myself, I can say that I do not believe that they could cause incorrect post count...

So I'm stomped I cant figure out why this is happening

Crap wrong board, can a mod please move this to SMF 2 support  :o
« Last Edit: September 03, 2010, 02:49:12 PM by JohnCcCcCc »

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline xenovanis

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,988
  • Gender: Female
Re: Some members post count in profile and posts have....
« Reply #1 on: September 03, 2010, 02:58:50 PM »
Does this also happen when using the default theme? it must be something that has touched Display.(template).php and not Profile.(template).php.
"Insanity: doing the same thing over and over again and expecting different results."

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #2 on: September 03, 2010, 03:13:06 PM »
Whoops, I forgot to mention that I tested with default theme, the same thing happens, but My mods are installed to default as well as my custom theme.
To be honest I cant really say when this started happening, I just noticed someones post saying 0 posts in the avatar area, immediately I knew that was wrong, further checking reveals that this is only effecting some users, which is why I believe it cannot be code related issue, however I have no clue whats going on so I cant really say...

So far, I think maybe their was an error adding to the post count on the 1st message for that member and others effected.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline sAce

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,992
    • @sbplus_t on Twitter
    • SB+
Re: Some members post count in profile and posts have....
« Reply #3 on: September 03, 2010, 03:16:02 PM »
The "non counted post" , was it on a board where you count posts ?

Offline IceXaos

  • Full Member
  • ***
  • Posts: 673
    • Runedev
Re: Some members post count in profile and posts have....
« Reply #4 on: September 03, 2010, 03:16:29 PM »
By any chance is there a section(s) of your board that does not add to post count?  There's a tick box when you are creating each new category/forum.

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #5 on: September 03, 2010, 03:44:59 PM »
The "non counted post" , was it on a board where you count posts ?

Actually I was looking into that right after I made the 1st post, still going through the settings, I will edit or reply here if that's the case..

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline IceXaos

  • Full Member
  • ***
  • Posts: 673
    • Runedev
Re: Some members post count in profile and posts have....
« Reply #6 on: September 03, 2010, 03:48:24 PM »
The "non counted post" , was it on a board where you count posts ?

Actually I was looking into that right after I made the 1st post, still going through the settings, I will edit or reply here if that's the case..
Well, you said you saw someone with 0 posts that made a post, so if that would be the issue, you already have the category & forum at least part of your issue would be in.  If that's not true, then need to look into some alternative solutions, but I don't think they'll be coming from me, as I can't make sense of it beyond that.

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #7 on: September 03, 2010, 05:30:02 PM »
Wow, this is insane, I saw one board where posts do not count (one of the posts from the member with incorrect post count was posted here), I enabled that board now, recounted forum stats again, and the error remains, I really thought it was a silly mistake, I guess not.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Oya

  • Guest
Re: Some members post count in profile and posts have....
« Reply #8 on: September 03, 2010, 06:31:22 PM »
forum stats doesnt recount member posts

i think theres a mod for it

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #9 on: September 03, 2010, 06:37:31 PM »
If that's the case, it was probably the issue then, well saying that, it would not be an issue, its just counting as its told to.

Now anybody know the fastest way to recount the members posts?
//Checks for mods...

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline YogiBear

  • SMF Hero
  • ******
  • Posts: 1,964
Re: Some members post count in profile and posts have....
« Reply #10 on: September 03, 2010, 06:45:23 PM »
SMF v2.0.17  Mods : Ohara YouTube Embed v1.2.9,  Custom Tab v1.2 , Bakers' Dozen Pages v1.2 , SMFPacks Shoutbox v1.1,  Board Color & Icons v1.1 , Simple Image Upload , Snow & Garland v1.4
PHP  v.7.3.6

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #11 on: September 03, 2010, 07:23:15 PM »
Same mod I tried..

Thanks for the mod link, I tried that earlier, no good, the profile is reading 3 posts and the actual post count is 4, even after running the maintenance that mod creates.

This is weird...

//checks the database...

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Oya

  • Guest
Re: Some members post count in profile and posts have....
« Reply #12 on: September 03, 2010, 07:45:44 PM »
the board that one last post is in... it isnt the recycle board is it and it is definately set to count posts

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #13 on: September 03, 2010, 07:58:35 PM »
the board that one last post is in... it isnt the recycle board is it and it is definately set to count posts

Not a recycle board and counted, I just changed from not counted to counted, this is not a major problem, not even a minor one really, but just a weird one  :o

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline IceXaos

  • Full Member
  • ***
  • Posts: 673
    • Runedev
Re: Some members post count in profile and posts have....
« Reply #14 on: September 03, 2010, 08:29:21 PM »
the board that one last post is in... it isnt the recycle board is it and it is definately set to count posts

Not a recycle board and counted, I just changed from not counted to counted, this is not a major problem, not even a minor one really, but just a weird one  :o
Could it be that only new posts will be counted on that board now that you've switched it?  Try modify & save, maybe it'll count it.

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: Some members post count in profile and posts have....
« Reply #15 on: September 03, 2010, 09:28:16 PM »
The post count only gets incremented when the post is made. If you do wish to correct it, just go into the member's profile and change it.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline IceXaos

  • Full Member
  • ***
  • Posts: 673
    • Runedev
Re: Some members post count in profile and posts have....
« Reply #16 on: September 03, 2010, 09:30:20 PM »
The post count only gets incremented when the post is made. If you do wish to correct it, just go into the member's profile and change it.
My assumption be correct?  This is a call for
  ▲
▲ ▲

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #17 on: September 03, 2010, 11:14:18 PM »
The post count only gets incremented when the post is made. If you do wish to correct it, just go into the member's profile and change it.

Well I guess I can do that, I would like to see what caused the issue in the 1st place though. I only noticed it because I saw a members post count at 0 in a post they made in a board that posts are counted, I will never be able to spot the issue for other members unless I see this again, unless I check their posts manually, with 14280 members this would take a long time.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: Some members post count in profile and posts have....
« Reply #18 on: September 04, 2010, 12:14:11 AM »
You did have post count disabled in that board so that's why it happened. Once the post is made there's no recounting the posts should that option be enabled afterwards.

Quote
Wow, this is insane, I saw one board where posts do not count (one of the posts from the member with incorrect post count was posted here), I enabled that board now, recounted forum stats again, and the error remains, I really thought it was a silly mistake, I guess not.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #19 on: September 04, 2010, 12:26:46 AM »
That makes sense, but the recount posts mod didn't work either, weird...

Well, I guess that solves that, a little anyway.

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

Offline Kays

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,973
  • Gender: Male
    • Kayssplace
Re: Some members post count in profile and posts have....
« Reply #20 on: September 04, 2010, 08:24:42 AM »
Yah, well. The mod author is the person to check with if a mod doesn't work. :)

But, by default, SMF doesn't adjust post counts if that setting is changed. Nor do any of the maintenance functions correct the post count.

I started my site using Ikonboard and after a couple of years migrated my members and their post counts to SMF. But not the posts as there wasn't a converter available at that time. So I'm thankful that post counts don't get recounted with "Reset stats" function in the Admin CP.

If at first you don't succeed, use a bigger hammer. If that fails, read the manual.
My Mods

Offline ɔɔɔɔɔɔuɥoɾ

  • SMF Hero
  • ******
  • Posts: 2,742
  • Gender: Male
  • Community Support Helper SMF forums ftw!
Re: Some members post count in profile and posts have....
« Reply #21 on: September 04, 2010, 11:05:32 AM »
Possibly an option for that in core coding would be nice, it would be something that's off by default of course, since it can be resourceful. It could be useful for these situations (the mod is supposed to do this however)

The mod appears not to be working, it goes to the screen about pausing to not overload the server, then it goes back to maintenance page, I guess it didn't complete.
I will ask the mod author about that later..

SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers