×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

× This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 2.0, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question RSS Category Feed

More
7 years 3 months ago #1 by sohopros
RSS Category Feed was created by sohopros
Using K2.0.4 - When we enable RSS feeds, we see a single feed of all category postings. Is there a way to get an RSS feed of only a specific Category?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #2 by rich
Replied by rich on topic RSS Category Feed
In "Backend > Kunena Configuration > RSS > Include Categories"
Specify a list of categories (separated by comma) to be included exclusively in global feeds.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #3 by sohopros
Replied by sohopros on topic RSS Category Feed
right, but we want users to be able to subscribe to only the categories they are interested in. For example user A may want a feed to Category 1 and user B a feed to Category 5, etc. We were hoping that if a user was viewing a specific category, we could show them an RSS link to a feed for just that category. Any way to do that?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #4 by TKtemp
Replied by TKtemp on topic RSS Category Feed
Hi,

this is possible only with hack.
It is not implemented in Blue Eagle template.

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #5 by sohopros
Replied by sohopros on topic RSS Category Feed
Can you given any guidance on the required hack?

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #6 by TKtemp
Replied by TKtemp on topic RSS Category Feed
Hi,

you just need to add category link + "&format=feed"

example:
open the file
components / com_kunena / template / blue_eagle / html / category / default.php

about line 48 find and replace this code:
<div class="kheader">
		<?php if (!empty($this->topicActions)) : ?>
		<span class="kcheckbox select-toggle"><input class="kcheckall" type="checkbox" name="toggle" value="" /></span>
		<?php endif; ?>
		<h2><span><?php echo $this->escape($this->headerText); ?></span></h2>
	</div>

with this code:
<div class="kheader">
		<?php if (!empty($this->topics)) : ?>
		<a href="<?php echo KunenaRoute::_ ( "index.php?option=com_kunena&view=category&catid=".$this->category->id."&format=feed"); ?>" title="<?php echo JText::sprintf('COM_KUNENA_LISTCAT_RSS') ?>">
			<span class="kicon krss" style="float: right;margin: 1px -5px 0 10px;"></span>
		</a>
		<?php endif ?>
		<?php if (!empty($this->topicActions)) : ?>
		<span class="kcheckbox select-toggle"><input class="kcheckall" type="checkbox" name="toggle" value="" /></span>
		<?php endif; ?>
		<h2><span><?php echo $this->escape($this->headerText); ?></span></h2>
	</div>

this will show rss icon in the header of category topics list and when you click it will open a new window with rss.

Hope this helps
Last edit: 7 years 3 months ago by TKtemp.
The following user(s) said Thank You: pendley, salemnguyen

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago - 7 years 3 months ago #7 by pendley
Replied by pendley on topic RSS Category Feed
or,
nZambi makes a plugin you can use.
Last edit: 7 years 3 months ago by pendley. Reason: sp

Please Log in or Create an account to join the conversation.

More
7 years 3 months ago #8 by sohopros
Replied by sohopros on topic RSS Category Feed
OK - we'll try that. Another thing we see with the RSS page is that the user that clicks the RSS icon only sees their own postings in the feed, but would like to see all. The URL looks like: www.domain-name.com/index.php?option=com...&type=rss&Itemid=540

Is there something wrong or something that needs to be changed?

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.141 seconds