Re: Icy Phoenix 184.108.40.206 - RSS Feed
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;
____________Another Pro Bono
Version of Icy Phoenix: 220.127.116.11a
Version of PHP: 5.2.9
Version of MySQL: 5.0.81-community-log
Board started: 2009/07/18 - 11:50
Registered Users: 123 as of 17 Sep 09