FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » "News"
Show: Today's Messages :: Unread Messages :: Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
"News" [message #37899] Sun, 01 July 2007 16:02 Go to next message
Starcitsura is currently offline  Starcitsura   Canada
Messages: 9
Registered: February 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Before I switched to FUD, I was using phpBB, and I had a "News Feed" on the main page of my site, which took the 5 most recently made threads in a particular board. From those 5 threads it took the first post of each, showed the title, the post, and how many responses had been made to it.

I would like to do the same with FUD, but I really have no idea where to start.
Re: "News" [message #38651 is a reply to message #37899] Tue, 21 August 2007 15:24 Go to previous messageGo to next message
zushiba is currently offline  zushiba   United States
Messages: 20
Registered: May 2003
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I wrestled with it for months, the RDF feed just won't do it :/
It's easier just to use another system for your news.

The RDF Feed thinger will grab the most recent posts but that includes replies.

[Updated on: Tue, 21 August 2007 15:25]

Report message to a moderator

Re: "News" [message #39077 is a reply to message #38651] Tue, 25 September 2007 11:10 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
I've always not cared for this. I would rather distinguish a new topic from its replies so that a popular title doesn't fill up the max slots in a "latest topics" listing. That and the fact that rdf seems to include topics in non-public forums as well as restricted I find very irritating.
Re: "News" [message #39189 is a reply to message #37899] Mon, 08 October 2007 14:56 Go to previous messageGo to next message
Starcitsura is currently offline  Starcitsura   Canada
Messages: 9
Registered: February 2007
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
Months later and still no solution? Sad
Re: "News" [message #39206 is a reply to message #39189] Tue, 09 October 2007 20:00 Go to previous messageGo to next message
pgregg is currently offline  pgregg   United Kingdom
Messages: 14
Registered: July 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
maybe half a solution - I posted this a few days in the (previously) most recently updated thread in this section:
http://fudforum.org/forum/index.php?t=msg&th=7701&start=0#msg_num_6

It'll post the most recent messages in a forum/category, and ignore subsequent messages from the same thread. Kinda the reverse of what you want - but it could be something worth looking further into - such as using the RDF to pull mode t to just get topics, then loop and count the number of messages in that topic.

Regards,
PG
Message by Ernesto is ignored  [reveal message]  [reveal all messages by Ernesto]  [stop ignoring this user] Go to previous messageGo to next message
Re: "News" [message #160560 is a reply to message #38651] Tue, 29 September 2009 06:54 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
zushiba wrote on Tue, 21 August 2007 21:24
The RDF Feed thinger will grab the most recent posts but that includes replies.


Replies are excluded in topics mode (mode=t). As a result you can use any aggregator program to show your news or quickly roll your own.
Re: "News" [message #160566 is a reply to message #160560] Tue, 29 September 2009 15:43 Go to previous message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 27
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Yet another solution would be to use FUDAPI. See example at http://cvs.prohost.org/index.php/FUDAPI
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Zshare Embedding Plugin
Next Topic: API hooks into post moderation?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Aug 14 20:17:03 EDT 2022

Total time taken to generate the page: 0.00850 seconds