Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Latest New Topics - Blog Style
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Latest New Topics - Blog Style

 Post Reply Post Reply
Author
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Topic: Latest New Topics - Blog Style
    Posted: 14 September 2006 at 8:12pm
I am having a hard time getting latest new topics on my website.  There are several mods for latest posts, but that gives ones with the latest response.  What I want is a list of new topics created, regardless of when and if they were replied to.
 
Example:
 
Subject: Latest New Topic
Date: 9/14/2006
Message: This is the latest new topic.  And the first 40 characters would be listed here and then... (read more)
 
It would not display the message of the latest reply, but only and always show the message of the first post in a topic.
 
This is useful for when only an administrator can post new topics in a forum area, and you want to announce the new topics elsewhere on the site.  In that situation, you do not want to display the replies, only the first post.
 
Any ideas of the proper SQL to do that.  Every example I see seems to show how to get the last post in the thread (i.e. the latest reply), not the first post of a thread (the original topic-starter post).
 
Any help would be appreciated.


Edited by wistex - 14 September 2006 at 8:13pm
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2006 at 8:32pm
This ties in nicely with what i've been trying to get going.
Check the thread on 'front page news' some usefull ideas we could chop and change
Handyman man?
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2006 at 9:53pm
I just found a mod that worked and then modified it to suit my needs:
 
 
It was a "Latest News" type mod.
Back to Top
freebs View Drop Down
Groupie
Groupie


Joined: 04 March 2005
Location: South Africa
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote freebs Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 1:38pm
Please can you post your code for it, I cant seem to get it to work, and when it does, it shows the whole post.
Back to Top
javi712 View Drop Down
Senior Member
Senior Member


Joined: 22 May 2003
Location: United States
Status: Offline
Points: 488
Post Options Post Options   Thanks (0) Thanks(0)   Quote javi712 Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 1:46pm
freebs - the guys working on this script have posted several version on the other thread they have going on: http://forums.webwiz.net/forum_posts.asp?TID=21262&PN=1... you may want to check that other thread out for some code examples.
Back to Top
freebs View Drop Down
Groupie
Groupie


Joined: 04 March 2005
Location: South Africa
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote freebs Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 2:25pm
I have looked at the code, but cant get it to work to only display the headlines, and s short extract not the entire story. It also seems to display too many headlines and i want it to display from all forums. 

Edited by freebs - 19 September 2006 at 2:33pm
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 20 September 2006 at 5:14am
Originally posted by freebs freebs wrote:

Please can you post your code for it, I cant seem to get it to work, and when it does, it shows the whole post.
My version shows the whole post too.
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.