Forger

Member

Total Posts: 1,013
Online Status: Offline
Tue Oct 21 15:34:54 EDT 2008

Small forum glitch I noticed - browsed for about 5 minutes until finally isolated the case.

It appears that in the case of certain multi-page forum threads, there's a small bug. I've only been able to reproduce this in the case of forum threads with _exactly_ 3 pages. Go on and search a forum section (such as "Bug Reporting" for instance) to spot your first 3 pages thread. No matter how you open this thread (by clicking the thread t*tle or by clicking page 1 or 2 or 3), when you'll get to page 3 you'll get at the bottom of the page (on the red border from the default... uhm... 'skin' which I use) "Previous 1 2 [ 3 ] 4" ([ 3 ] meaning page 3 is already selected - the current page).

The link for page 4 is active and you can click on it - it will take you to http://futurerp.net/pages/board_thread.php?id=abcd&start_at=18 - but that page, of course, doesn't exist. You'll only get something such as the result in the following screenshot:



Sure, this is trivial, but nevertheless (smiley)



Battledroid12345

Member

Total Posts: 163
Online Status: Offline
Tue Oct 21 15:43:14 EDT 2008


Post deleted by admin


Forger

Member

Total Posts: 1,013
Online Status: Offline
Tue Oct 21 15:44:38 EDT 2008


Post deleted by admin


Battledroid12345

Member

Total Posts: 163
Online Status: Offline
Tue Oct 21 15:46:17 EDT 2008


Post deleted by admin


Cyberkilla

Admin

Total Posts: 5,984
Online Status: Offline
Tue Oct 21 15:50:23 EDT 2008

Aye, I've noticed this too.

It's because of the fancy pagification function. I have forgotten how it works(smiley)
I have tried on several occasions to fix it but it looks like it would just be faster to rewrite it(smiley)=


Invisible War ][

Forger

Member

Total Posts: 1,013
Online Status: Offline
Tue Oct 21 16:04:04 EDT 2008

Quote

I have tried on several occasions to fix it but it looks like it would just be faster to rewrite it(smiley)=


Hmm maybe before fully rewriting this (god help us... haha kidding) you should search whether you define a special constant regarding page 3 or 4 (or post #12 or 18 for that matter) - because so far this is the only situation where I've seen this happening. Or a special test case that you've forgotten about. Or 'something'. (smiley)