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 Code change query re "mark this forum as read" but

More
17 years 2 months ago #1749 by YBA
I want to change the code on com_kunena/template/default_ex/showcat.php Lines 338-349 to be the same as from com_kunena/template/default_ex/fb_category_list_bottom.php with regards to the "mark this forum as read" button.

BUT

I want to amend the code so it will only mark the threads in a particular category as read.

The reason for this change is that in a forum category, the link at the bottom "mark this forum as read" is only appearing as a standard link, and I want it to be a button the same as on the category home page.

Can anyone please advise what code changes I would need to make?

I know I need to change the last input type to be GEN_MARK_THIS_FORUM_READ but I am not sure what else needs changing.
Code:
<?php if ($my->id != 0) { ?> <form action = "<?php echo $mainframe->getCfg("live_site")."/index2.php";?>" name = "markAllForumsRead" method = "post"> <input type = "hidden" name = "markaction" value = "allread"/> <input type = "hidden" name = "Itemid" value = "<?php echo FB_FB_ITEMID?>"/> <input type = "hidden" name = "option" value = "com_kunena"/> <input type = "hidden" name = "no_html" value = "1"/> <input type = "submit" class = "button<?php echo $boardclass ;?> fbs" value = "<?php echo _GEN_MARK_THIS_FORUM_READ ;?>"/> </form> <?php } ?>



Cheers
Danielle

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

More
17 years 2 months ago #1756 by Matias
I've already done this in my own template -- just need to inject the code into default_ex.

Not sure if this gets into 1.0.8, though as there are still some real bugs out there.

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

Time to create page: 0.241 seconds