Kunena 6.2.6 released

The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

Question [Gelöst] RSS nur für bestimmte Foren

More
15 years 1 month ago - 15 years 2 weeks ago #1 by lastboyscout
Ist es möglich, dass man über RSS nur bestimmte (Unter-)Foren anzeigen lassen kann? Oder ist das nicht implementiert? Wäre auch interessant, wenn man sich auch Foren, die nur Backend Berechtigung haben, anzeigen lassen könnte.

Falls es dafür eine Lösung geben sollte, wäre ich dankbar.

Liebe Grüße.
Last edit: 15 years 2 weeks ago by Lintzy.

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

More
15 years 1 month ago #2 by orthanc
lastboyscout wrote:

Wäre auch interessant, wenn man sich auch Foren, die nur Backend Berechtigung haben, anzeigen lassen könnte.

Das würde ich dann glatt als Bug melden!
Denn damit würdest Du ja jegliche Berechtigungen aushebeln. ;)

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

More
15 years 1 month ago #3 by lastboyscout
Naja, müsste man ja nur den RSS Link (zb. www.meineseite.com/forum?func=fb_rss&no_html=1 ) um die entsprechenden Parameter erweitern -> www.meineseite.com/forum?func=fb_rss&no_html=1 ?user=username&passwort=passwort.

Soweit ich weiß, funktioniert das bei anderen Foren auch so in der Art.

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

More
15 years 1 month ago #4 by orthanc
Wie willst Du denn sowas als Link bereitstellen? Wenn es denn gemacht würde, dürfte das PW dort keinesfalls im Klartext rein.

RSS für einzelne Foren scheint nicht drin zu sein. Hab grad mal die catid mit übergeben - wird ignoriert, man bekommt immer den Feed des gesamten Forums.

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

More
15 years 1 month ago #5 by lastboyscout
Würde schon reichen, wenn man die Option ?user=username&passwort=passwort selbst zum Link (im Feedreader) hinzufügen könnte.

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

More
15 years 1 month ago #6 by lastboyscout
lastboyscout wrote:

Naja, müsste man ja nur den RSS Link (zb. www.meineseite.com/forum?func=fb_rss&no_html=1 ) um die entsprechenden Parameter erweitern -> www.meineseite.com/forum?func=fb_rss&no_html=1 ?user=username&passwort=passwort.


Funktioniert das tatsächlich so? Oder ist dieser Beitrag irrtümlich als "hack" markiert worden?

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

More
15 years 1 month ago #7 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
15 years 1 month ago #8 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
15 years 3 weeks ago - 15 years 3 weeks ago #9 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: 15 years 3 weeks ago by Lintzy.

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

More
15 years 3 weeks ago #10 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 KB

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

Time to create page: 0.445 seconds