Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Strange Error when posting message.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strange Error when posting message.

 Post Reply Post Reply Page  <12
Author
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2006 at 3:24pm
Looking at it again you could get away with using the ID number, but as you want the order to be from the first posted date to the last posted date, by using the ID number there is some room for problems if for whatever reason the dates of the posts don't exactly match the ID order.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2006 at 5:39pm
do you mean becose the thread is ordered by date and the "last posted" works of ordering by ID?

i intend to change the thread ordering by ID too - so there should be no problems

am just curious as to why threads are ordered by date rather than id
since (as i stated) problems arise from ordering by date.

as far as am aware the higher the ID, the later it was posted, so i assume its impossible to acctually change the ordering of IDs when posting (eg you cant get a lower ID than any post before you)

but with ordering by date, if the server time messes up, you can get your post before the others in the thread (if it went back in time) or if it goes forward, newer posts will go before the older posts once the server time is corrected (i had this problem so i changed it on my V7)

i personally am not aware of any benefits for ordering by Date, but am assure you have a reason

(again, am not trying to be annoying, just trying to find out why you use Date, if theres a reason i'll keep it otherwise if its just something you've done id rather change it to ID)
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 April 2006 at 5:50pm
The only reason is that the part in question gets the stats for the topic, which means that it needs to get the details of the first post posted and the last post posted in the topic.

The ID field should be OK, as in theory the newer posts should have a new ID number. The only time it would mess up is if some how the latest post in a topic doesn't have the highest ID number, if a post has been edited or moved from another topic.
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2006 at 3:23pm
urr - i just found out that delete_post.asp doesnt use the function

could you tell me ALL the pages that use the "order by date" ?

so far i got:
functions_common.asp
delete_post.asp
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2006 at 9:10am
Sorry I can't remember without going through each and every individual file.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.