Icy Phoenix 1.3.0.53 - RSS Feed »  Show posts from    to     

Icy Phoenix


Old Support Topics - Icy Phoenix 1.3.0.53 - RSS Feed



christmanrd [ Tue 18 Aug, 2009 22:38 ]
Post subject: Icy Phoenix 1.3.0.53 - RSS Feed
I just noticed that the RSS Icon is being displayed in the URL Address Bar. That's Great!

The only problem is it is feed a Forum Board that I do not want displayed to the General Public.

How do I fix that?

Thanks,

Dave


Mighty Gorgon [ Wed 19 Aug, 2009 11:20 ]
Post subject: Re: Icy Phoenix 1.3.0.53 - RSS Feed
RSS will show only posts in public sections, unless you use a tool which allows login... in that case you'll be able to see all posts that your account has permissions for.

If you want to remove RSS feature... just remove rss.php and remove this code in page_header.php:

Code: [Hide] [Select]
$nav_links_html .= '<link rel="alternate" type="application/rss+xml" title="RSS" href="' . $rss_url . $rss_url_append . '" />' . "\n";
$nav_links_html .= '<link rel="alternate" type="application/atom+xml" title="Atom" href="' . $rss_url . '?atom' . $rss_a_url_append . '" />' . "\n";


spydie [ Wed 19 Aug, 2009 12:34 ]
Post subject: Re: Icy Phoenix 1.3.0.53 - RSS Feed
He just wan´ts to keep one forum out off RSS feed.

That´s a section there only MOD´s and higher can access


christmanrd [ Wed 19 Aug, 2009 14:35 ]
Post subject: Re: Icy Phoenix 1.3.0.53 - RSS Feed
Thanks everyone.

How do I show only topics subject and not the posts in the RSS Feed?


christmanrd [ Sat 22 Aug, 2009 12:07 ]
Post subject: Re: Icy Phoenix 1.3.0.53 - 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?


Code: [Hide] [Select]
// 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,




Powered by Icy Phoenix