Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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
Merged How to create category and sub-category icons in K 3.0
You cannot use this in K 3.0.I want [to use] ../media/kunena/category_images/19_notlogin.png
If you read footnote #2 of Category icons you will see that the "feature" that displayed a different category icon when users are not logged-in to your forum (which was done by having a file called <cat_id>_notlogin.gif uploaded to the folder ../media/kunena/category_images), this feature was removed in K 2.0.
Therefore, the question of whether you can use a .PNG file instead of a .GIF file for this third [not logged-in] state is irrelevant.
In terms of the general question about using .PNG files instead of .GIF files for custom category icons, the information given in the Wiki article (and which I reproduced, in part, in my reply in msg #4 of this topic) is out of date and incorrect.
In a future version of Kunena we would like to allow users to upload either .PNG or .GIF files. Obviously, though, if you had two files, for example
- 19_on.gif
- 19_off.png
As a temporary workaround, a simple way to use .PNG files instead of .GIF files is to look at the code in the file ../components/com_kunena/views/category/view.html.php between lines 156 and 164. The original source code is this:
===========This is untested and may result in your forum not functioning properly===========
(1) Download the attached file
(2) Extract the file view.html.php to your personal hard drive.
(3) Using your favourite FTP program, rename the file ../components/com_kunena/views/category/view.html.php as ../components/com_kunena/views/category/view.html.old
(4) Using your favourite FTP program, copy the file you extracted in step (2) above to the folder ../components/com_kunena/views/category/
(5) This change will allow you to use any one (but only one) of the similarly named files:
- .GIF
- .PNG
- .JPG
I hope this helps.
(Thanks to LittleJohn for providing me with the solution)
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- YonisHobby
-
- Offline
- Junior Member
-
I'm using the latest version of Kunena installed on the latest version of Joomla.
I would like to have a different icon for every category. The solution I found is for early Kunena versions.
How do I implement it on the latest?
Many thanks!
Edit:
Placed it here by mistake. The solution found here:
Found the solution here:
www.kunena.org/docs/Category_icons
And this is my forum .
Please Log in or Create an account to join the conversation.
You will find the answer to your question in this topic.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- Ancientwolf
-
- Offline
- New Member
-
- Posts: 6
- Thank you received: 0
Already looked at the post in the 1.7 forums other have referred to before- it works on K2.0, but not 3.
www.kunena.org/forum/170-K-17-Templates-...ategory-icons#101195
Any way to do this once again? I'm surprised this still hasn't made it into the default setup.
Please Log in or Create an account to join the conversation.