| Author |
Topic Search Topic Options
|
rowdyvdveen
Newbie
Joined: 24 February 2006
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
Topic: Last post doesnt always work (RC1) Posted: 23 March 2006 at 10:26am |
|
If you go to this page: http://www.starbase74.nl/forum80/forum_topics.asp?FID=2
and then click on the 'last post' icon of the topic:
'Gaat dit forum ook al dood?
1 2 3 4 5 6 7 8'
(I mean clicking on the arrow-icon to the right), you end up on page 4 instead of page 8.
I'm also looking in to this, trying to find what's causing this.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 March 2006 at 11:43am |
|
A few other users have reported this problem, and it would be in the code that calculates the page the post is on within the 'forum_posts.asp' page.
The problem is that at the moment I have been unable to replicate the problem so that I can find a solution.
Could you please tell me your forum setup of how many posts and topics you have set it to display per page as this may help workout where the page calculation code is going astray as hopefully I can then replicate the error.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 March 2006 at 11:48am |
|
I had a look at your forum and it seems it only happening on the one topic because for some reason it has the last post data incorrect on the forum index page.
This may have happened in the update process, to fix this, put a new post in the topic, then delete it, this should reset the 'Last Post' data for that topic.
|
 |
rowdyvdveen
Newbie
Joined: 24 February 2006
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
Posted: 23 March 2006 at 6:52pm |
|
Thanks for your quick response.
I've had reports from other users as well, I will ask them which topics have these problems besides this one. (if any, it is possible they all mean this topic)
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 March 2006 at 12:36pm |
|
I have found the issue, it was in the calculation for working out which page.
I have fixed it for the next version by using the VbScript built in function 'FIX' when doing the calculation so that the correct page is always returned.
|
 |
rowdyvdveen
Newbie
Joined: 24 February 2006
Status: Offline
Points: 24
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 March 2006 at 9:59am |
|
Okay, thanks!
Wonder what else we can fix with the FIX instruction... Sounds very useful to me ;-)
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 27 March 2006 at 11:16am |
|
I wish 'FIX' was a universal 'FIX' solution but it's not.
It is used to return the whole integer number when doing a calculation.
|
 |