×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× Before posting in this category, please read sticky topics and, as general background, My Joomla site template makes a mess of Kunena .

If you have questions about third-party templates, please use the User-written Templates category or contact the author directly. This category should only be used for questions about templates developed and supported by the Kunena project.

Idea [Merged topic] Category Images - PNG or GIF?

More
9 years 3 months ago #1 by wysiwyg
Hi,

I searched forum and could'nt find the exact answer... thanks to sozzled there are some suggestions but no use for me :(

I would like to add seperate category images to each forum, I would like to add custom .png images, as we are expecting large amount of visitors, it is important for us to us .png's instead of .gif's

How can I do that?

My kunena version is 1.6.4 running joomla 1.6.3...

I change forum category images to my own path... Is that make a problem?

Thank You

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

More
9 years 3 months ago - 9 years 3 months ago #2 by sozzled
Category images. I have probably answered this question a few dozen times: see msg #2 in How to change category icons on K1.6.x .

As far as I know, the image files for your category icons/images must be .gif format. It's possible - of course it's possible: anything's possible if you're prepared to invest your time or money into it - to change this. To change this requires changing the PHP code that looks for this information. Of course, if you change the PHP source code then you're going to have to remember to do this whenever you upgrade Kunena in future.

So, if it's important that you use .png format then you can accommodate these things, for a price - your time to change the source code and remember to make the same changes in future or pay for someone else to do the job for you (and maintain your site for you). At this very moment, I don't know which particular file contains the line of code you need to change but that shouldn't be too difficult to search for.

On the other hand, converting your .png to .gif may not take a lot of time and you'll never have to worry in future about maintaining your own customised PHP hacks?
Last edit: 9 years 3 months ago by sozzled.
The following user(s) said Thank You: TBC, wysiwyg

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

More
9 years 3 months ago #3 by wysiwyg
thank you once again... you are so helpful...

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

More
8 years 7 months ago #4 by Vue
Hi,

I know i can create notlogin.gif and so on,
But how can i use other formats, preferably .png?

Thanks

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

More
8 years 7 months ago #5 by sozzled
You can use other image types. The current version of Kunena does not have an easy-to-configure way of choosing alternative image types, however. You can change the PHP source code to use different image types; I can't remember where to find information that tells you what, specifically, you need to change. I'm sure though, if we all looked around we would find the answer.

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

More
8 years 3 months ago #6 by c_schmitz
It might help someone else.

To change .gif to .png just edit /components/com_kunena/funcs/listcat.php . Around line 128-160 you will find three occurences of '.gif'. (_on.gif, _off.gif and _notlogin.gif)

Just replace with .png and you are good to go.

Hopefully Kunena 2.0 will have this fixed to .png for good. Seriously, which browser does not support .png yet (and is not >10 years old).
The following user(s) said Thank You: sozzled

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.108 seconds