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.



464 posts

Ultimate Geek
+1 received by user: 15


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

Uber Geek
+1 received by user: 3566

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.






464 posts

Ultimate Geek
+1 received by user: 15


  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.

6099 posts

Uber Geek
+1 received by user: 386

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

441 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?!? :-)

3294 posts

Uber Geek
+1 received by user: 238

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

Uber Geek
+1 received by user: 3566

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

441 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
5721 posts

Uber Geek
+1 received by user: 104

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? 




318 posts

Ultimate Geek
+1 received by user: 13


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

Uber Geek
+1 received by user: 3566

Administrator
Trusted
Geekzone
Subscriber

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

Yes.




BDFL
48002 posts

Uber Geek
+1 received by user: 3566

Administrator
Trusted
Geekzone
Subscriber

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

Create a new thread for specific questions then.




BDFL
48002 posts

Uber Geek
+1 received by user: 3566

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

Uber Geek
+1 received by user: 3566

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

Uber Geek
+1 received by user: 3566

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 new jobs are posted to our jobs board:



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:

Telecom introduces unlimited broadband data plan
Created by freitasm, last reply by kawaii on 25-Apr-2014 04:42 (100 replies)
Pages... 5 6 7


Stonedine
Created by Lizard1977, last reply by mattwnz on 24-Apr-2014 15:45 (67 replies)
Pages... 3 4 5


Auckland Transport Hop card - look out for errors
Created by robjg63, last reply by sbiddle on 24-Apr-2014 20:48 (21 replies)
Pages... 2


Windows 8 System Mechanics
Created by eme, last reply by eme on 24-Apr-2014 21:10 (20 replies)
Pages... 2


Using my Mac to ring family in the UK
Created by Geektastic, last reply by nakedmolerat on 24-Apr-2014 11:28 (19 replies)
Pages... 2


Telecom has started metering their TiVo customers' broadband usage (WITHOUT PRENOTIFICATION)
Created by Peteriv, last reply by mattwnz on 24-Apr-2014 15:11 (74 replies)
Pages... 3 4 5


Forms of government for New Zealand
Created by charsleysa, last reply by gzt on 24-Apr-2014 21:36 (176 replies)
Pages... 10 11 12


Parallel imported product
Created by Wills1, last reply by joker97 on 23-Apr-2014 21:01 (53 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.