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

Important Spoiler image broken + Fix

More
17 years 2 months ago #5883 by SpyderHosting
Hi,
Not sure if you've spotted it.. but first of all a fantastic product you've all made :) Well done!

I was testing our Joomla package and noticed the <Spoiler> image is broken if you install joomla into a virtual directory that isnt the website root.

I did some digging and noticed that in Kunena.parser.php the image for spoiler and woot is set to:
imgElement.src="/components/com_kunena/template/default/images/english/emoticons/pinch.png
Naturally this means that its looking for the iamge in /components rather than the virtual directory its installed in, in my case /joomla/components.

I applied a quick fix: Alter all image src lines in the file to have '.KUNENA_JLIVEURL.' before the /components. This seems to solve the problem.
eg:
imgElement.src="'.KUNENA_JLIVEURL.'/components/com_kunena/template/default/images/english/emoticons/pinch.png

This solves the problem.

Best Regards,
Mike
MD
SpyderHosting.co.uk

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

Time to create page: 0.415 seconds