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!
1054 posts

Uber Geek
+1 received by user: 134

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!
1054 posts

Uber Geek
+1 received by user: 134

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!

1295 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
49914 posts

Uber Geek
+1 received by user: 4621

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.




1295 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

1295 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:





Trending now »

Hot discussions in our forums right now:

Who Audits IRD?
Created by gundar, last reply by charsleysa on 22-Oct-2014 15:52 (18 replies)
Pages... 2


22nd Only: PB Tech BROTHER HL1110 Mono laser Printer $15 shipped(after $30 cashback)
Created by loceff13, last reply by Jaxson on 22-Oct-2014 15:44 (17 replies)
Pages... 2


American legal jurisdiction in New Zealand
Created by ajobbins, last reply by gzt on 21-Oct-2014 14:58 (30 replies)
Pages... 2


Another Trade Me competitor: SellShed
Created by freitasm, last reply by SellShed on 22-Oct-2014 11:54 (42 replies)
Pages... 2 3


Spark Socialiser
Created by freitasm, last reply by old3eyes on 22-Oct-2014 10:37 (26 replies)
Pages... 2


Snap have failed our company!
Created by dafman, last reply by toejam316 on 22-Oct-2014 13:03 (25 replies)
Pages... 2


Overcharged by Slingshot for months - warning to existing customers
Created by dusty42, last reply by DravidDavid on 22-Oct-2014 16:11 (35 replies)
Pages... 2 3


Abnormal upstream data usage - Vodafone Cable Wellington
Created by otherside, last reply by freitasm on 22-Oct-2014 15:33 (11 replies)


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.