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!
1056 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
2448 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!
1056 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.





2448 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
50002 posts

Uber Geek
+1 received by user: 4650

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:

Got a good ol parking fine
Created by Lyderies, last reply by freitasm on 1-Nov-2014 23:06 (31 replies)
Pages... 2 3


Government Limos
Created by networkn, last reply by Bung on 31-Oct-2014 12:39 (94 replies)
Pages... 5 6 7


How good is your general Science Knowledge?
Created by Aredwood, last reply by Hobchild on 1-Nov-2014 23:24 (49 replies)
Pages... 2 3 4


Shutup and take my money (via NFC on my mobile phone)
Created by sxz, last reply by sonyxperiageek on 31-Oct-2014 22:34 (24 replies)
Pages... 2


OneDrive code giveaway - go!
Created by freitasm, last reply by PhantomNVD on 1-Nov-2014 10:31 (36 replies)
Pages... 2 3


Uber: a cheaper taxi ride?
Created by kingdragonfly, last reply by livisun on 31-Oct-2014 14:47 (34 replies)
Pages... 2 3


Sky will be 'upgrading software' of My Sky to connect to internet. What does that mean?
Created by Geektastic, last reply by TwoSeven on 1-Nov-2014 17:43 (30 replies)
Pages... 2


DDos Protection from ISP
Created by charsleysa, last reply by freitasm on 31-Oct-2014 12:11 (46 replies)
Pages... 2 3 4



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.