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

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

More
16 years 11 months ago - 16 years 11 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: 16 years 11 months ago by bzzik.

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

More
16 years 11 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
16 years 11 months ago - 16 years 11 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: 16 years 11 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.313 seconds