Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Does TblTopic.Last_entry_date  work at all ?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Does TblTopic.Last_entry_date work at all ?

 Post Reply Post Reply
Author
Sundsdal View Drop Down
Newbie
Newbie


Joined: 20 January 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sundsdal Quote  Post ReplyReply Direct Link To This Post Topic: Does TblTopic.Last_entry_date work at all ?
    Posted: 12 March 2008 at 1:06am
Hi


I want (like many many others) to have the latest postings on my site.

When i run this :

SELECT TOP 25 TblTopic.Forum_ID, TblTopic.Topic_ID, TblTopic.Subject, TblTopic.Last_entry_date FROM TblTopic WHERE TblTopic.Forum_ID=1 ORDER BY TblTopic.Last_entry_date DESC

It seems like when i order by Last_entry_date, it only has the startdato for the topic... and not the date/time for the latest entry on the specific topic.

I want it distinct (and have tried that.... without any luck)


Or... does anyone have a solution on the "latest topic post" issue ?
Back to Top
Sundsdal View Drop Down
Newbie
Newbie


Joined: 20 January 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sundsdal Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2008 at 6:33pm
Can someone check if your database is up-to-date ind the "TblTopic.Last_entry_date" field ?

My field does not update this field.... its only updated when someone post a new topic, and not when people reply on a topic.

 
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: 17 March 2008 at 5:29pm
The Last_entry_date field should be updated everytime someone posts, if yours is not it could be a corrupted file. Try reuploading the original files again.

In the extras folder there is a file containing code which will place the last 10 posts into another web page on your site or another web site. It uses the RSS Feed to do this.
Back to Top
Sundsdal View Drop Down
Newbie
Newbie


Joined: 20 January 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sundsdal Quote  Post ReplyReply Direct Link To This Post Posted: 17 March 2008 at 8:01pm
Bruce: Thanks for the answers...

Which files should i upload again ?   Its it only : new_post.asp ? I will not overwrite all my files coz i have made som small changes, to fit my layout. (i have the paid version)

The RSS feed does not show the output i want.    I want the latest topics with new threads in. (distinct)
Back to Top
Sundsdal View Drop Down
Newbie
Newbie


Joined: 20 January 2008
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sundsdal Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2008 at 5:03pm
Where are the Last_entry_date field updated ?

its not located in the new_post.asp
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: 31 March 2008 at 11:25am
A function is called in this file to update the forum statistics which does this update.
Back to Top
 Post Reply Post Reply

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.