- Posts: 2144
- Thank you received: 4
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
Question [Gelöst] RSS nur für bestimmte Foren
17 years 1 month ago #7896
by Lintzy
Replied by Lintzy on topic Re:[Hack] RSS nur für bestimmte Foren
Dann wäre er im Solved-Thread.
Hier wird noch nach einem [Hack] gesucht.
Ist ne kleine Hilfe für die englischsprachigen Devs vom Kunenateam, dass sie schnell die threads finden, wo Probleme aufgetaucht sind.
Hier wird noch nach einem [Hack] gesucht.
Ist ne kleine Hilfe für die englischsprachigen Devs vom Kunenateam, dass sie schnell die threads finden, wo Probleme aufgetaucht sind.
Please Log in or Create an account to join the conversation.
- lastboyscout
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 19
- Thank you received: 0
17 years 1 month ago #7908
by lastboyscout
Replied by lastboyscout on topic Re:[Hack] RSS nur für bestimmte Foren
achso 
bin ja gespannt, ob's dafür mal ne lösung geben wird.
bin ja gespannt, ob's dafür mal ne lösung geben wird.
Please Log in or Create an account to join the conversation.
17 years 1 month ago - 17 years 1 month ago #9415
by Lintzy
Replied by Lintzy on topic Re:[Hack wanted] RSS nur für bestimmte Foren
Ich hab Garibaldi mal gefragt, ob er das Feature einbauen kann:
www.kunena.com/forum?func=view&catid=6&id=2393
www.kunena.com/forum?func=view&catid=6&id=2393
Last edit: 17 years 1 month ago by Lintzy.
Please Log in or Create an account to join the conversation.
17 years 1 month ago #9526
by Lintzy
Replied by Lintzy on topic Re:[Hack wanted] RSS nur für bestimmte Foren
Ich kopiere einfach mal Garibaldis Antwort hier hinein. Bitte testen und mitteilen, ob es funktioniert.
Bin mir allerdings nicht sicher, ob dies exakt das gewünschte Feature ist. Der User selbst kann nichts auswählen, sondern es werden bestimmte Kategorien vom Admin freigegeben und eine Lösung für RSS aus dem Backend ist es wahrscheinlich nicht.
Garibaldi wrote:
Bin mir allerdings nicht sicher, ob dies exakt das gewünschte Feature ist. Der User selbst kann nichts auswählen, sondern es werden bestimmte Kategorien vom Admin freigegeben und eine Lösung für RSS aus dem Backend ist es wahrscheinlich nicht.
Garibaldi wrote:
Lintzy wrote:
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:To only show posts in the feed from select categories,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.
Time to create page: 0.225 seconds