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.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Favorite star yellow when viewing posts which are not YOUR favorites

More
16 years 8 months ago - 16 years 8 months ago #27672 by santapec
I noticed that the "favorite star" which is gray on the list with posts when somebody else has tagged it as a favorite is yellow when viewing inside the post. Shouldn't this be gray too if it isn't your favorite?

Is there a small hack to sort this out?


Maybe change something here in view.php
Code:
<!-- Begin: Total Favorite --> <?php $kunena_db->setQuery("SELECT COUNT(*) FROM #__fb_favorites WHERE thread='{$thread}'"); $fb_totalfavorited = $kunena_db->loadResult(); echo '<div class="fb_totalfavorite">'; if ($fbIcons['favoritestar']) { if ($fb_totalfavorited>=1) echo '<img src="'.KUNENA_URLICONSPATH . $fbIcons['favoritestar'].'" alt="*" border="0" title="' . _KUNENA_FAVORITE . '" />'; if ($fb_totalfavorited>=3) echo '<img src="'.KUNENA_URLICONSPATH . $fbIcons['favoritestar'].'" alt="*" border="0" title="' . _KUNENA_FAVORITE . '" />'; if ($fb_totalfavorited>=6) echo '<img src="'.KUNENA_URLICONSPATH . $fbIcons['favoritestar'].'" alt="*" border="0" title="' . _KUNENA_FAVORITE . '" />'; if ($fb_totalfavorited>=10) echo '<img src="'.KUNENA_URLICONSPATH . $fbIcons['favoritestar'].'" alt="*" border="0" title="' . _KUNENA_FAVORITE . '" />'; if ($fb_totalfavorited>=15) echo '<img src="'.KUNENA_URLICONSPATH . $fbIcons['favoritestar'].'" alt="*" border="0" title="' . _KUNENA_FAVORITE . '" />'; } else { echo _KUNENA_TOTALFAVORITE; echo $fb_totalfavorited; } echo '</div>'; ?> <!-- Finish: Total Favorite -->
Last edit: 16 years 8 months ago by santapec.

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

More
16 years 8 months ago #27840 by Matias
Yes, all stars are yellow inside threads. That's the right place to fix this inconstency: you should query for count(*) as well as if current user has favorited the thread.

This will soon be (totally) reimplemented for K1.6..

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

More
16 years 8 months ago - 16 years 8 months ago #27844 by santapec
Unfortunately I don't know any PHP so won't be able to fix it myself. It's all greek to me :)
And I won't be able to upgrade to 1.6 right away cause I have changed too many files in my 1.5.4 install already to make it work and look the way I want it. I'm guessing it will take a couple of weeks to implement the same changes in 1.6. The downside of hacking I guess :(
Anyway, keep up the good work. I really like what you guys are doing.
Last edit: 16 years 8 months ago by santapec.

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

More
16 years 8 months ago - 16 years 8 months ago #27865 by Matias
cTheme Customization should be much easier in K1.6 thanks to MVC.
Last edit: 16 years 8 months ago by Matias.

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

Time to create page: 0.819 seconds