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.

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

Question Atom!

More
15 years 2 months ago #85712 by DustWolf
Atom! was created by DustWolf
Hi,

I worked out an Atom feed generator for Kunena (not sure if there was planned support for this or not, etc, bottom line I couldn't find anything and I needed it). It's a hack as I can't find any docs on how to install these "Kunena components" properly.

You can find it here:
pritisni.ctrl-alt-del.si/fajli/kunenaAtom.zip

Consider it GPLv3.

To install, copy file to components/com_kunena/lib/ and add:
Code:
if ($func == 'fb_atom') { include (KUNENA_PATH_LIB .DS. 'kunena.atom.php'); $app->close(); }
...to your components/com_kunena/kunena.php file, right under line 186 or wherever a similar block for fb_rss is located.

LP,
Jure

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

More
14 years 9 months ago - 14 years 9 months ago #101172 by DustWolf
Replied by DustWolf on topic Re: Atom!
With 1.6 plugin system is completely revamped and doesn't work.

Built in Kunena Atom output is BROKEN!

Way the go...
Last edit: 14 years 9 months ago by DustWolf.

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

More
14 years 9 months ago #101228 by xillibit
Replied by xillibit on topic Re: Atom!
Kunena 1.6.x is able to generate itself a feed in atom format :



I don't provide support by PM, because this can be useful for someone else.

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

More
14 years 9 months ago - 14 years 9 months ago #101231 by DustWolf
Replied by DustWolf on topic Re: Atom!

xillibit wrote: Kunena 1.6.x is able to generate itself a feed in atom format :



That option doesn't do anything, selected and my feed is still RSS 2.0.

EDIT: Adding "&type=atom" to feed URL creates ATOM feed. I wish I didn't have to reverse engineer half of Joomla to find that out ( docs.joomla.org/JDocumentFeed::addItem/1.5 ).

LP,
Jure
Last edit: 14 years 9 months ago by DustWolf.

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

More
14 years 9 months ago #101236 by DustWolf
Replied by DustWolf on topic Re: Atom!
To make feed always ATOM apply the following changes (left is new) to components/com_kunena/kunena.php:
Code:
794,795c794,795 < $document->addCustomTag ( '<link rel="alternate" type="application/atom+xml" title="' . JText::_('COM_KUNENA_LISTCAT_RSS') . '" href="' . CKunenaLink::GetRSSURL($rss_params) . '&type=atom" />' ); < echo CKunenaLink::GetRSSLink ( CKunenaTools::showIcon ( 'krss', JText::_('COM_KUNENA_LISTCAT_RSS') ), 'follow', $rss_params.'&type=atom' ); --- > $document->addCustomTag ( '<link rel="alternate" type="application/rss+xml" title="' . JText::_('COM_KUNENA_LISTCAT_RSS') . '" href="' . CKunenaLink::GetRSSURL($rss_params) . '" />' ); > echo CKunenaLink::GetRSSLink ( CKunenaTools::showIcon ( 'krss', JText::_('COM_KUNENA_LISTCAT_RSS') ), 'follow', $rss_params );

LP,
Jure

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

More
14 years 9 months ago #101256 by xillibit
Replied by xillibit on topic Re: Atom!
Thanks to have reported it, i will make a fix for k1.6.5

I don't provide support by PM, because this can be useful for someone else.

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

Time to create page: 0.250 seconds