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.



520 posts

Ultimate Geek
+1 received by user: 34


Topic # 98539 1-Mar-2012 11:03 Send private message

I've noticed a problem in the email that tells you there's a new post in a subscribed forum topic. It appears that the page number in the link is out by one.

One email came through today with this URL to the new post: http://www.geekzone.co.nz/forums.asp?forumid=97&topicid=83026&page_no=195#588710. At the time the link came though, the thread was only up to page 194.

If I modify the page number in the URL to be 194 (http://www.geekzone.co.nz/forums.asp?forumid=97&topicid=83026&page_no=194#588710) then the link takes me to the correct post.

When you click on a link with an invalid page number, you get taken to the thread but see no posts. In order to get to the new posts, you need to click on one of the correct page number links.

I don't know if this problem affects all topics, only topics with large numbers of pages, or just this one topic. I'll try subscribing to a few threads and see what URLs come through.

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 588766 1-Mar-2012 11:14 Send private message

It happens if a reply is removed for example, and the counters are wrong. Things get fixed with time.






520 posts

Ultimate Geek
+1 received by user: 34


  Reply # 588798 1-Mar-2012 12:27 Send private message

Having deleted posts makes sense. I think the thread in question had a small number deleted at some stage.

This also explains why the first few notifications for new posts on page 195 have a correct URL, but the last few posts on page 194 had an incorrect URL.

Is it possible there's a bug in the code that figures out the page number for the post? I'm thinking something like an incorrect WHERE clause on a SQL statement, where the deleted posts are not getting ignored as they should be.

7050 posts

Uber Geek
+1 received by user: 813

Trusted
Subscriber

  Reply # 588804 1-Mar-2012 12:37 Send private message

How can I create a url link to a thread that goes to the last page always?

Foo

444 posts

Ultimate Geek


  Reply # 588851 1-Mar-2012 14:03 Send private message

The insanely long thread for the SGS Galaxy II is always a bit out, but I guess with 196 pages, that is to be expected?!? :-)

3483 posts

Uber Geek
+1 received by user: 369

Trusted
Subscriber

  Reply # 588869 1-Mar-2012 14:15 Send private message

Foo: The insanely long thread for the SGS Galaxy II is always a bit out, but I guess with 196 pages, that is to be expected?!? :-)


You wont be sayin that when they turn that thread into a movie...

BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 588872 1-Mar-2012 14:16 Send private message

I wanted to lock the thread so people could create individual discussions for each different problem... They forced me to run away from it...





Foo

444 posts

Ultimate Geek


  Reply # 588874 1-Mar-2012 14:20 Send private message

freitasm: I wanted to lock the thread so people could create individual discussions for each different problem... They forced me to run away from it...



It's tough, us Samsung people can be so demanding ;-) 

3bit.com
5876 posts

Uber Geek
+1 received by user: 189

Moderator
Trusted
Subscriber

  Reply # 588900 1-Mar-2012 15:08 Send private message

freitasm: It happens if a reply is removed for example, and the counters are wrong. Things get fixed with time.


Mod question - the Fix link that we can see, I assume this fixes the issue above? 




332 posts

Ultimate Geek
+1 received by user: 21


  Reply # 588912 1-Mar-2012 15:24 Send private message

freitasm: I wanted to lock the thread so people could create individual discussions for each different problem... They forced me to run away from it...



I would much prefer this.  It feels that the entire thread is about custom ROMs/kernels (something I know nothing about)  and basic questions about using the phone are largely ignored.




Toys:  Samsung Galaxy S4 (Telecom), iPad 4, Roku, Apple TV, iPod Touch 4, Dell Inspiron 17R SE, Sony 40CX520, TiVo x2, Snap ADSL.

BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 588913 1-Mar-2012 15:25 Send private message

Yes.




BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 588914 1-Mar-2012 15:26 Send private message

Create a new thread for specific questions then.




BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 594045 12-Mar-2012 12:20 Send private message

I have made some changes in the database query we use plus the scripts themselves, and you should see some performance improvement in topic lists (eg. http://www.geekzone.co.nz/forums.asp?forumid=48)

I will be doing some changes to the page numbers soon.

If this change is ok, I will work in the forum thread pages themselves to replicate the database query changes. If it's like the topic lists, we could see an improvement reducing page creation time around 50% in some cases.




BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 594067 12-Mar-2012 12:39 Send private message

Also, the problem with page number in links from other pages should be solved now (unless of course you try to see a reply we've hidden before you got there).





413 posts

Ultimate Geek
+1 received by user: 26

Trusted

  Reply # 596087 16-Mar-2012 12:55 Send private message

freitasm: Also, the problem with page number in links from other pages should be solved now (unless of course you try to see a reply we've hidden before you got there).



Hi freitasm,

I've been getting a LOT of incorrect mails from lately these two threads I'm active in:

 "Samsung Galaxy S II Owners Thread"
 "Come on Telecom, Samsung Galaxy S2 update"

1. The mails come in quite regularly - like once an hour - even if there have been no replies!
2. The URLs in the mails always point to the same post (the post # changes, but the post I'm taken to is the same one). I keep getting these mails regardless of whether or not there has been a new reply, regardless of whether or not I've already read all the posts in the thread. They can be quite frequent, like just a few minutes apart!

Now I've tried clicking on the unsubscribe link in the mails but it didn't work. I then went to my user preferences and changed it to send me a mail only if there's been a new unread reply per hour. (My previous setting was to always send a new mail).

Would be grateful if you can look into this soon, as the mails are spamming my inbox. Of course, I have created a filter for them for the time being.. but something, somewhere is broken badly. 




 Firefox users: It's called Fx, not FF! [Read FAQ#8]

Browser:  Opera | Web Filter:  Ad Muncher | AntiVirus: Common Sense | Automation:  AutoHotkey | Rescue CD:  Parted Magic | Distro:  Arch Linux

BDFL
49619 posts

Uber Geek
+1 received by user: 4465

Administrator
Trusted
Geekzone
Subscriber

  Reply # 596117 16-Mar-2012 14:16 Send private message

I haven't seen this anywhere... Sure the emails are different?

Could you please give me a list of #[number] you received?





 1 | 2
View this topic in a long page with up to 500 replies per page 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 joker97 on 20-Sep-2014 11:54 (405 replies)
Pages... 25 26 27


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


IOS8 - Network Load
Created by FireEngine, last reply by raytaylor on 20-Sep-2014 16:55 (45 replies)
Pages... 2 3


Computer Lounge's Zen Radical
Created by JayADee, last reply by JayADee on 19-Sep-2014 14:51 (15 replies)

Maybe some politicians should go back to school?
Created by jarledb, last reply by DarthKermit on 18-Sep-2014 18:27 (31 replies)
Pages... 2 3


FS: Server time
Created by deathslocus, last reply by CamH on 17-Sep-2014 21:31 (30 replies)
Pages... 2


6.6Mb/s "in spec" for Torbay, Auckland?
Created by theasset13, last reply by theasset13 on 20-Sep-2014 17:13 (28 replies)
Pages... 2


New On Account mobile plans - Red+
Created by NikT, last reply by Brumfondl on 20-Sep-2014 15:06 (44 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.