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.

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 Auto-Refresh in Kunena 1.5.11

More
15 years 11 months ago - 15 years 11 months ago #47219 by mike2m
Hi,
Please help newbie do Auto Refresh pages with forum Kunena 1.5.11 every three minutes?
Last edit: 15 years 11 months ago by mike2m.

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

More
15 years 11 months ago #47324 by sozzled

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

More
15 years 11 months ago #47482 by mike2m
Hi,

please write how to insert code meta http-equiv="refresh" content="600" to auto-refresh only the page with the forum and not the entire site...

Best regards,

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

More
15 years 11 months ago - 15 years 11 months ago #47617 by sozzled
Refreshing just the pages displaying only the Kunena component is a bit trickier. The way I would approach this would be to insert a small piece of Javascript into the page you want to refresh, something like this:
Code:
<script type=text/javascript> function k_timedRefresh(timeoutPeriod) { setTimeout("location.reload(true);",timeoutPeriod); } k_timedRefresh(180000); </script>
I'll leave it to you, or others, to figure out the actual mechanics of which file(s) to modify.
Last edit: 15 years 11 months ago by sozzled.

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

More
15 years 11 months ago #47647 by mike2m
Hi,
Thank you very much!

Description:
1. Add to file /components/com_kunena/template/dafault/js/kunenaforum.js the following lines:
Code:
function kunenaRefresh (timeoutPeriod) { setTimeout ("location.reload (true);", timeoutPeriod); }

2. In the files:
/Components/com_kunena/template/dafault_ex/listcat.php
/Components/com_kunena/template/dafault_ex/showcat.php
/Components/com_kunena/template/dafault_ex/view.php
added before the <?php the following lines:
Code:
<script type="text/JavaScript"> kunenaRefresh (60000) // 1 minute </ Script>

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

More
15 years 10 months ago #49919 by nttranbao
Thank you. It works great on my Kunena 1.5.9. I only need it for latestx.php

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

Time to create page: 0.294 seconds