Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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.

Question A simple alternative to the "latest posts module"

More
17 years 1 month ago - 17 years 1 month ago #11656 by sozzled
The Kunena latest posts module is a great idea but it still has a few teething problems and it's not a core Kunena plugin at this time. As an alternative, you can make use of an RSS feed to deliver almost the same functionality without all the bells and whistles of (or the hassles of installing) the extra module.
  1. Go to your forum's "Recent Discussions" page, click the image and make a note of the URL (it will look something like domain-name/forum?func=fb_rss&no_html=1)
  2. Use the Joomla Module Manager
  3. Add New module of type "Feed Display"
  4. Copy the URL of the feed display from step 1 into the "Feed URL"
  5. Assign the module position, menu assignment, etc., and enable the new module
An example is shown here at www.enduring.com.au/40P_demo/ . I've made one minor change to the standard Kunena RSS display. If you are interested, they are:

../components/com_kunena/lib/kunena.rss.php, change line 145 from:
Code:
echo " <title>" . _GEN_SUBJECT . ": " . stripslashes(htmlspecialchars($row->subject)) . " - " . _GEN_BY . ": " . stripslashes(htmlspecialchars($row->lastpostname)) . "</title>" . "\n";
to
Code:
echo " <title>" . stripslashes(htmlspecialchars($row->subject)) . " &#164; " . date('d M H:i',$row->lastposttime) . " (" . stripslashes(htmlspecialchars($row->lastpostname)) . ")". "</title>" . "\n";
Last edit: 17 years 1 month ago by sozzled.
The following user(s) said Thank You: dglite

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

More
16 years 9 months ago #26445 by wvrapscene
Can you make the links in the module open in the same window and not open in a new window?

Thanks,
WVRapScene

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

More
16 years 9 months ago #26449 by sozzled
wvrapscene wrote:

Can you make the links in the module open in the same window and not open in a new window?

I'm sorry but that's a feature of the standard Kunena RSS module, but it ought to be possible to modify it so that the links open in the same window, if that is what you want to do. There are many tutorials here at www.kunena.com on how to change the way that links operate.

Thanks for your comments :)

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

More
16 years 9 months ago - 16 years 9 months ago #26452 by wvrapscene
I was hoping you would tell me how... :(

I'll take a look at the tutorials, but I dont know much about PHP code.

btw: This is a great alternative to a "latest posts" module! I think it loads the page faster when you use this method compared to using the module. If I can figure out how to make the link open in the same window and not a new window... It would be awesome!

Thanks for the help!

www.wvrapscene.com/website
Last edit: 16 years 9 months ago by wvrapscene.

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

More
16 years 9 months ago #26455 by sozzled
This is just a guess:

Edit the file ../components/com_kunena/lib/kunena.link.class.php at about line 56:
From
Code:
function GetRSSLink($name , $rel='follow') { return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&amp;func=fb_rss&amp;no_html=1', $name, '', $rel, '', '', 'target="_blank"'); }
To
Code:
function GetRSSLink($name , $rel='follow') { return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL.'&amp;func=fb_rss&amp;no_html=1', $name, '', $rel, '', '', 'target="_self"'); }
But that is just a guess and I haven't tested it.

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

More
15 years 10 months ago - 15 years 10 months ago #53644 by sozzled
There hasn't been any significant change in K 1.6 that has needs much modification to the general principles that I wrote about over a year ago. About the only real change is K 1.6's URL structure.
  1. Go to your forum's "Recent Topics" page, click the image and make a note of the URL. If you are using SEF URLs, the link will look something like http://domain-name/forum/rss; if you are not using SEF URLs, the link will look something like http://domain-name/index.php?option=com_kunena&func=rss&Itemid=2.
  2. Use the Joomla Module Manager
  3. Add New module of type "Feed Display"
  4. Copy the URL of the feed display from step 1 into the "Feed URL"
  5. Assign the module position, menu assignment, etc., and enable the new module
It's not a perfect one-for-one replacement for the latest posts module but, with a a basic understanding of Joomla and with (or without) a few minor adjustments to the file ../components/com_kunena/lib/kunena.rss.php, you can have a very usable, simple "latest posts" display on your site in almost no time.
Last edit: 15 years 10 months ago by sozzled.

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

Time to create page: 0.258 seconds