SOLVED Icy Phoenix 1.3.0.53 - RSS Feed


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

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: [Download] [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";

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

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?

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: [Download] [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,


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.925s (PHP: 2% SQL: 98%)
SQL queries: 10 - Debug Off - GZIP Enabled