
Code: Select all
$sql = "SELECT f.forum_name, t.topic_title, u.user_id, u.username, u.user_sig, u.user_sig_bbcode_uid, p.post_id, pt.post_text, pt.post_subject, pt.bbcode_uid, p.post_time, t.topic_replies, t.topic_first_post_id
FROM " . FORUMS_TABLE . " AS f, " . TOPICS_TABLE . " AS t, " . USERS_TABLE . " AS u, " . POSTS_TABLE . " AS p, " . POSTS_TEXT_TABLE . " as pt
WHERE
t.forum_id = f.forum_id
AND f.auth_view = " . AUTH_ALL . "
AND p.poster_id = u.user_id
AND pt.post_id = p.post_id
AND p.topic_id = t.topic_id
$sql_topics_only_where
$sql_forum_where
ORDER BY p.post_time DESC LIMIT $count";Code: Select all
$sql = "SELECT f.forum_name, t.topic_title, u.user_id, u.username, u.user_sig, u.user_sig_bbcode_uid, p.post_id, pt.post_text, pt.post_subject, pt.bbcode_uid, p.post_time, t.topic_replies, t.topic_first_post_id
FROM " . FORUMS_TABLE . " AS f, " . TOPICS_TABLE . " AS t, " . USERS_TABLE . " AS u, " . POSTS_TABLE . " AS p, " . POSTS_TEXT_TABLE . " as pt
WHERE
t.forum_id = f.forum_id
AND f.auth_read = " . AUTH_ALL . "
AND p.poster_id = u.user_id
AND pt.post_id = p.post_id
AND p.topic_id = t.topic_id
$sql_topics_only_where
$sql_forum_where
ORDER BY p.post_time DESC LIMIT $count";elspanko wrote: And my users love it - since installing it our overall forum traffic has increased from clickthroughs and about 5 percent of our apache server clients are now news aggregators.
I recently added RSS/XML graphics at the bottom of our forum to publicize the availability of feeds via this MOD, linking them to a sticky which explains how to use the feed.
Thanks again nschindler!
elspanko
nschindler wrote: For people who want aggregators installed on their desktop, I'd suggest:
Win32 - Feed Reader
Linux - Liferea
Matthijs wrote: Just noticed about this, seems the email subscription to my original topic didn't work anymore... anyway, since there seem to be several additions and the original authors are listed, this validates a new release. It might have been better to contact me via email, so we could make this a newer version of my RDF/RSS Content Syndicator, but well...
I currently don't have the time to do any PHP coding, so I always welcome those wo want to enhance my scripts.
Link back to the original post here (for reference and such): http://www.phpbb.com/phpBB/viewtopic.php?t=75316
hartlijn wrote: wwoowww, this is really a nice one!
is it also possible to get the phpbb security in it? for example I have all my forums open to registered users only, so I would like to open the feed only to logged in members.
the feedreader can ask for a user/pass.
like this we can also show all posts from private forums depending on the user who is asking them to show.
wanted wrote: Hi,
I wanted to know as I could make in order to only visualize the topic with determining title or with a specific word of the title.
For Example:
visualize only the topic with word NEWS in the title.![]()
Code: Select all
WHERE
t.forum_id = f.forum_id
AND f.auth_view = " . AUTH_ALL . "
AND t.topic_title LIKE '%NEWS%' //line added
AND p.poster_id = u.user_id
AND pt.post_id = p.post_id
AND p.topic_id = t.topic_id
$sql_topics_only_where
$sql_forum_where