Hey there. Hope all is well with you.
I am working on the rss.php to prevent the everything being published on the feed. In other words, what is happening is that the whole topic, etc it being displayed and I only want the Topic title, dtd pstd, etc. nothing else.
I am looking here at this code which is in the rss.php. Can you help?
// Return topics only, or all posts? Specified in the URL with "t=". Defaults to all posts (0).
$topics_only = (isset($_GET['t'])) ? intval($_GET['t']) : 1;
$topics_view = (isset($_GET['topic'])) ? intval($_GET['topic']) : 0;
$sql_topics_only_where = '';
if($topics_only == 1)
{
$sql_topics_only_where = 'AND p.post_id = t.topic_first_post_id';
}
if($topics_view != 0)
{
$sql_topic_view = 'AND t.topic_id =' . $topics_view;
}
Thanks,