Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




Baby Get Shaky!
1064 posts

Uber Geek
+1 received by user: 136

Subscriber

Topic # 73731 20-Dec-2010 23:50 Send private message

Sometimes while browsing GZ I will jump directly to the last page of a thread to read the latest. I've found that occasionally it will say there are, as an example, 31 posts in the thread so it will list three pages. However when going to page 3 there will be no posts as there are infact only 30 posts. I wondered if this was due to a post being removed in between loading New Forum Posts and clicking the link. However I saw it again tonight while going to a thread I had just posted in a minute earlier so I know no posts were missing.

Example (GZ Pizza Evening Thread which lists 31 replies):

New Posts

Page 3 links to:

Page

Now I'm pretty good at missing obvious discussions so I may have missed one about this already, if so apologies.

Create new topic
2450 posts

Uber Geek
+1 received by user: 2

Trusted

  Reply # 419772 20-Dec-2010 23:55 Send private message

It happens when posts are removed... but the post counter just counts and so we end up with:

Number of posts posted in thread history > Number of publicly shown posts

I say publicly because it might be different to how mods see it.


This has happened pretty much since ever, sometimes when you get email notifications they link to a blank page also because of the same issue.


Mauricio would probably have a better answer, but that's my understanding of it.




Find me on Twitter!

I posted 1, 2 x 10^3 times!



Baby Get Shaky!
1064 posts

Uber Geek
+1 received by user: 136

Subscriber

  Reply # 419774 21-Dec-2010 00:03 Send private message

manhinli: It happens when posts are removed... but the post counter just counts and so we end up with:

Number of posts posted in thread history < Number of publicly shown posts

I say publicly because it might be different to how mods see it.


This has happened pretty much since ever, sometimes when you get email notifications they link to a blank page also because of the same issue.


Mauricio would probably have a better answer, but that's my understanding of it.


I was curious as to whether that might be the case but in the above mentioned example I'm sure all the posts were still there as I had just read the thread and posted in it. Before I posted there were 29 posts, when I posted it became 30 but the post counter said 31? 

881 posts

Ultimate Geek


  Reply # 419787 21-Dec-2010 00:38 Send private message

Should "Number of posts posted in thread history __ Number of publicly shown posts" in this case??

Thats what I would have thought too.





2450 posts

Uber Geek
+1 received by user: 2

Trusted

  Reply # 419788 21-Dec-2010 00:40 Send private message

tomgeeknz: Should "Number of posts posted in thread history __ Number of publicly shown posts" in this case??

Thats what I would have thought too.


Whoops... yes it should be ">" (greater than)... time to fix... 




Find me on Twitter!

I posted 1, 2 x 10^3 times!

1296 posts

Uber Geek
+1 received by user: 12


  Reply # 419790 21-Dec-2010 00:40 Send private message

Im not sure if this does happen when posts are removed, i have 4 or 5 times over the last week clicked a link in an email only for it take take me to the start of say page 11 when in fact the last posted post was on the end of page 10??

BDFL
50173 posts

Uber Geek
+1 received by user: 4738

Administrator
Trusted
Geekzone
Subscriber

  Reply # 419828 21-Dec-2010 08:20 Send private message

If a user hides a post then number is correctly updated. Sometimes something happens and it's not (I know where it's happening just didn't fix it).

We can "fix" individual threads or update everything. Something we can do now and then.




1296 posts

Uber Geek
+1 received by user: 12


  Reply # 420992 23-Dec-2010 14:12 Send private message

I just came across the problem again and i think you have some bad logic in your code.

just posted in the *NEW* Total Home Broadband Account forum and it tells me their is 181 replies and seen as their is 15 posts per page, 180 /15 = 12 so the 181th post would sit on the 13th page. But its not the case because on the first page their are 16 posts(the original post + 15 replies) so the 181th post is only on the 12th page.

Hope that makes sense

1296 posts

Uber Geek
+1 received by user: 12


  Reply # 420994 23-Dec-2010 14:13 Send private message

it might make it clearer if i say their are 180 replies + 1 post but the code is reporting them as 181 replies?

Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Netflix officialy launching in NZ in March
Created by jarj, last reply by tdgeek on 21-Nov-2014 19:08 (97 replies)
Pages... 5 6 7


Gull Employment Dispute.
Created by networkn, last reply by richms on 23-Nov-2014 23:05 (71 replies)
Pages... 3 4 5


Which one is right for me? M8, Z3, S5 or other?
Created by makiomoto, last reply by makiomoto on 20-Nov-2014 13:52 (40 replies)
Pages... 2 3


Click Monday Deals
Created by mrtoken, last reply by mrtoken on 24-Nov-2014 08:57 (17 replies)
Pages... 2


Free 1gb data with $19 combo until end of Jan 2015 (1.5gb total)
Created by eXDee, last reply by Shoes2468 on 23-Nov-2014 23:01 (16 replies)
Pages... 2


Slingshot line speed
Created by Frankiej45, last reply by Frankiej45 on 20-Nov-2014 14:38 (14 replies)

Little Wins labour Leadership
Created by MikeAqua, last reply by Aredwood on 21-Nov-2014 18:47 (53 replies)
Pages... 2 3 4


My connection is too fast
Created by ckc, last reply by Geektastic on 20-Nov-2014 11:30 (25 replies)
Pages... 2



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.