- Posts: 4
- Thank you received: 0
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Merged How to create category and sub-category icons in K 3.0
I wanna change this path
kunena/category_images//19_notlogin.gif
to this path
kunena/category_images//19_notlogin.png
how i can do it ?
Thanks in advanced.
Best,
Nick
Please Log in or Create an account to join the conversation.
If I correctly understand your question, you want to use .PNG images instead of .GIF images.
Some help is available here: Category icons .
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Please answer me ! Thank you !
Please Log in or Create an account to join the conversation.
Change all occurences of '.gif' (_on.gif, and _off.gif), replace with '.png', and this will probably do the job. I haven't tested the solution. Good luck. Let us knw hw you go.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
No, there is no longer this path. But it works if you change the ending of images from png to gif. It does not matter whether the ending is correct. The browsers display the image with quality png.../components/com_kunena/funcs/listcat.php
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
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.