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!
1032 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
2446 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!
1032 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.





2446 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: 8


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

Uber Geek
+1 received by user: 4369

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


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


  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:

Orcon Global Mode launched
Created by freitasm, last reply by deadlyllama on 30-Aug-2014 15:25 (117 replies)
Pages... 6 7 8


Suddenly limited to 1mbps download speed on spark VDSL
Created by Jase2985, last reply by hio77 on 30-Aug-2014 17:39 (45 replies)
Pages... 2 3


Vodafone TV multicast settings on pfSense?
Created by kenkeniff, last reply by kenkeniff on 27-Aug-2014 10:32 (182 replies)
Pages... 11 12 13


Lightbox press event release
Created by freitasm, last reply by IcI on 30-Aug-2014 17:54 (562 replies)
Pages... 36 37 38


Lightbox quality comments
Created by ronw, last reply by redmouse on 30-Aug-2014 09:35 (52 replies)
Pages... 2 3 4


Recommendations for soundbar or similar for <$1k?
Created by jonathan18, last reply by michaelmurfy on 29-Aug-2014 21:11 (17 replies)
Pages... 2


Judith Collins: I am resigning
Created by Presso, last reply by driller2000 on 30-Aug-2014 18:17 (16 replies)
Pages... 2


Recommend a good value router with strong WiFi
Created by timmmay, last reply by timmmay on 27-Aug-2014 07:21 (32 replies)
Pages... 2 3



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.