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

More
17 years 1 month ago #7896 by Lintzy
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.

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

More
17 years 1 month ago #7908 by lastboyscout
achso ;)

bin ja gespannt, ob's dafür mal ne lösung geben wird.

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

More
17 years 1 month ago - 17 years 1 month ago #9415 by Lintzy
Ich hab Garibaldi mal gefragt, ob er das Feature einbauen kann:

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.

More
17 years 1 month ago #9526 by Lintzy
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:

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:
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; }
To only show posts in the feed from select categories,

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.

File Attachment:

File Name: kunena-1c8...3719.zip
File Size:8.46 KB

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

Time to create page: 0.245 seconds