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.



Baby Get Shaky!
1035 posts

Uber Geek
+1 received by user: 130

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
2447 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!
1035 posts

Uber Geek
+1 received by user: 130

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.





2447 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!

1293 posts

Uber Geek
+1 received by user: 9


  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
49617 posts

Uber Geek
+1 received by user: 4461

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.




1293 posts

Uber Geek
+1 received by user: 9


  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

1293 posts

Uber Geek
+1 received by user: 9


  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:




News »

Trending now »
Hot discussions in our forums right now:

Moment of Truth?
Created by BarTender, last reply by Glassboy on 19-Sep-2014 01:32 (367 replies)
Pages... 23 24 25


IOS8 - Network Load
Created by FireEngine, last reply by joker97 on 18-Sep-2014 19:43 (36 replies)
Pages... 2 3


10 Iphone 128gb 6+ iphones this weekend at auckland airport
Created by frysie, last reply by TimA on 17-Sep-2014 22:02 (36 replies)
Pages... 2 3


Mr. Key to extradite Kim Dotcom?
Created by TimA, last reply by SaltyNZ on 18-Sep-2014 09:20 (126 replies)
Pages... 7 8 9


Spark DNS Issues - Amazing - Broadband Service Alert
Created by PeteS, last reply by Demeter on 15-Sep-2014 14:13 (307 replies)
Pages... 19 20 21


New On Account mobile plans - Red+
Created by NikT, last reply by paulspain on 18-Sep-2014 21:39 (18 replies)
Pages... 2


Bizarre Policy on plan change
Created by toejam316, last reply by FireEngine on 18-Sep-2014 20:22 (17 replies)
Pages... 2


2014 Holden SS (V8) or Ford XR6-T (in-line 6 turbo)
Created by joker97, last reply by ilovemusic on 16-Sep-2014 14:34 (71 replies)
Pages... 3 4 5



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.