Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Question How to change in Recent Discussions from Month to Since last visit?

More
17 years 6 months ago - 17 years 6 months ago #16700 by bzzik
Hi guys!

I wonder, how can I change recent discussions behavior from showing latest by "Month" (which is default) to "Since last visit"?

Thanks!
Last edit: 17 years 6 months ago by bzzik.

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

More
17 years 6 months ago #16777 by Matias
template/default_ex/latestx.php line 110: $sel="720"; where number is days. You should use value in the list.

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

More
17 years 6 months ago - 17 years 6 months ago #16884 by bzzik
Thanks, I found it. I have another template, and what I have done is moved
Code:
<option <?php if ($show_list_time =='720') {?> selected="selected" <?php }?> value="<?php echo sefRelToAbs(KUNENA_LIVEURLREL.'&amp;func=latest'); ?>"><?php echo _SHOW_MONTH ; ?></option>

further through the list of select values.

Also I changed //start the latest x to:
Code:
if ($sel == "0") { $querytime = ($prevCheck - $fbConfig->fbsessiontimeout); //move 30 minutes back to compensate for expired sessions } else { if ("" == $sel) { $querytime = ($prevCheck - $fbConfig->fbsessiontimeout); //move 30 minutes back to compensate for expired sessions } else { //$sel = 720; //take 720 hours ~ 1 month as default //Time translation $back_time = $sel * 3600; //hours*(mins*secs) $querytime = time() - $back_time; } }
Last edit: 17 years 6 months ago by bzzik.
The following user(s) said Thank You: callumgilhooly

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

Time to create page: 0.112 seconds