- Posts: 48
- Thank you received: 2
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.
This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.
The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Question Enhanced Kunena RSS Feed
17 years 1 month ago #9523
by Garibaldi
Replied by Garibaldi on topic Re:Enhanced Kunena RSS Feed
Lintzy wrote:
Yes, this can be done. I don't know the inner workings of Kunena very well so I can't create something for you in the Joomla backend configuration of Kunena, but I can have you edit the file to select only the categories you want.
I haven't had time to test this so please let me know if it works. Otherwise we can adjust it.
Look at the beginning of the new file attached to this post. You will see a part that looks like this:
To only show posts in the feed from select categories,
FIND:
REPLACE WITH:
Now, go into your forum and find the category IDs of the categories you wish to include. Once you have them,
FIND:
REPLACE '5','12','15','44' with your category ID numbers. You can enlarge or shrink the list of numbers as necessary.
When done, save the file, upload it, and check the feed output. Let me know how it works.
Garibaldi wrote:
What feature are you looking for exactly?
Awesome, thank your for sharing! In german childboard have been asked for this feature: to reduce RSS to special forums only, that the user can choose.
Yes, this can be done. I don't know the inner workings of Kunena very well so I can't create something for you in the Joomla backend configuration of Kunena, but I can have you edit the file to select only the categories you want.
I haven't had time to test this so please let me know if it works. Otherwise we can adjust it.
Look at the beginning of the new file attached to this post. You will see a part that looks like this:
Code:
$selectCategories = false; // set this to true to enable output of only select categories
// determines if a category should be outputted or not
function goodCategory($id) {
$goodCatIDs = array('5','12','15','44'); // enter the IDs of the cateogires you want included here (only for outputting select categories)
foreach ($goodCatIDs as $index => $value) {
if ($value == $id) {
return true;
}
}
return false;
}
FIND:
Code:
$selectCategories = false;
REPLACE WITH:
Code:
$selectCategories = true;
Now, go into your forum and find the category IDs of the categories you wish to include. Once you have them,
FIND:
Code:
$goodCatIDs = array('5','12','15','44'); // enter the IDs of the
REPLACE '5','12','15','44' with your category ID numbers. You can enlarge or shrink the list of numbers as necessary.
When done, save the file, upload it, and check the feed output. Let me know how it works.
Please Log in or Create an account to join the conversation.
17 years 1 month ago #9528
by Lintzy
Replied by Lintzy on topic Re:Enhanced Kunena RSS Feed
Thank you so much for the trouble. I don't know, if this is exactly what was asked for. I guess, the feature is requested too, that users can choose the categories, they want to subscribe.
I have told your solution in german childboard, hoping it will be tested soon. Myself can not test it, because my forum is not online yet. I'll give feedback here, asap. thx.
I have told your solution in german childboard, hoping it will be tested soon. Myself can not test it, because my forum is not online yet. I'll give feedback here, asap. thx.
Please Log in or Create an account to join the conversation.
17 years 1 month ago #9647
by Garibaldi
Replied by Garibaldi on topic Re:Enhanced Kunena RSS Feed
I see now what you were asking for. The solution I posted above, however, can be built upon to create the solution you are looking for. Give me a couple days to go through it and see if I can come up with a solution for you.
Please Log in or Create an account to join the conversation.
17 years 1 month ago #9716
by Lintzy
Replied by Lintzy on topic Re:Enhanced Kunena RSS Feed
User lastboyscout will discuss this with you furthermore, he'll test your plugin, too. Thanks
Please Log in or Create an account to join the conversation.
- Netthandel
-
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 2
17 years 1 month ago #9879
by Netthandel
Replied by Netthandel on topic Re:Enhanced Kunena RSS Feed
Thank you for answering and making this RSS feed!
The sh404sef urls are not made on the fly, but stored in the database. However the other RSS feeds on my site that gets the sef urls.
Probably there is only a little difference in between the two ways to get the urls..
The sh404sef urls are not made on the fly, but stored in the database. However the other RSS feeds on my site that gets the sef urls.
Probably there is only a little difference in between the two ways to get the urls..
Please Log in or Create an account to join the conversation.
17 years 1 month ago #9887
by Baze
Replied by Baze on topic Re:Enhanced Kunena RSS Feed
it's not working for me 
j1.0.15, kunena 1.0.8
j1.0.15, kunena 1.0.8
Please Log in or Create an account to join the conversation.
Time to create page: 0.270 seconds