×
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.

× 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 [Solved by hack] JoomGallery IMG tags don't work in Kunena

More
10 years 7 months ago - 10 years 6 months ago #1 by radekgorski
Hi all,

I have some problem with inserting images into Kunena posts.
It doesn't interpret the bb code correctly, my code looks like (comes from Joom::Gallery):
https://advpoland.com/index.php?view=image&format=raw&type=img&id=1479&option=com_joomgallery&Itemid=54[IMG] and as you see there is only code/text, not image visible. Can anyone help to solve this? Regards, Radek[IMG] advpoland.com/index.php?view=image&forma...oomgallery&Itemid=54 and as you see there is only code/text, not image visible. Can anyone help to solve this? Regards, Radek[IMG]
and as you see there is only code/text, not image visible.

Can anyone help to solve this?

Regards,
Radek
Last edit: 10 years 6 months ago by sozzled. Reason: Topic closed

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

More
10 years 7 months ago #2 by xillibit
Hello,

This is an image url not convnetional, an image url which will be parse correctly is :

www.kunena.com/components/com_kunena/tem...ages/kunena.logo.png

I don't know joomgallery, maybe there is a way to generate other kind of urls.

I don't provide support by PM, because this can be useful for someone else.

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

More
10 years 7 months ago - 10 years 7 months ago #3 by LittleJohn
I think this is a direct bug. (edit; even though its a security measure)

There are PLENTY of galleries and sites out there, that serves images by url parameters through scripts. :S (and there are plenty of reasons to do so)
We cant dictate how the url should be on every image on the web.

radekgorski,
Have you tried cutting down your image url to see which part makes the trouble?
Have you tried if the url is working on other forums that supports bb-code? (if so, which?)

Edit; A whitelist pattern, as someone kindly suggested, would deal with some of these issues, but lets see if its doable first...
Last edit: 10 years 7 months ago by LittleJohn.

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

More
10 years 7 months ago - 10 years 7 months ago #4 by sozzled
I use JoomGallery ( www.en.joomgallery.net/ ). The Joomgallery IMG tags do not work in Kunena.

You can't display JoomGallery images in the forum because they are built on-the-fly with PHP. You can, however, post a link to your gallery, like this:
[URL]https://advpoland.com/index.php?option=com_joomgallery&view=detail&id=1479&Itemid=54#joomimg[/URL]
Here's the picture! :cheer:
Last edit: 10 years 7 months ago by sozzled.

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

More
10 years 7 months ago #5 by fxstein
Gentlemen,

You are hitting a security barrier we have built into kunena.

The problem is that all browsers will perform a GET request on any URL placed inside of html < img > tags (ad therefor coming from [ img ] tags).

In the case of a gallery this is the right thing to do, unfortunately hackers around the globe have learned to misuse this in various ways.

A very simple and none critical misuse would be to stick the url of the logout link into and [ img ] tag. Whenever somebody gets to look at that page, the logout would get executed. Now a logout is nothing extremely ugly, but you get the point, you can do a lot of other things.

Therefore Kunena performs a security check if the [ img ] tag truly contains an image file by looking at file name and extension.

We are discussion on how to provide an override feature that would allow you to whitelist certain urls or domains.

We love stars on the Joomla Extension Directory . :-)

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

More
10 years 7 months ago #6 by radekgorski
sozzled wrote:

... however, post a link to your gallery, ...

I know, I can post the link but I need pictures to be displayed.
Take a look here, some solution (Joom::Gallery forum):
www.forum.en.joomgallery.net/index.php?topic=2586.0

Regards,
Radek

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

More
10 years 7 months ago #7 by GenetiX
I have the same problem too.

Is there some hack I can do myself to override the security setting?

This problem is somewhat difficult for me, because a lot of these images are going to get posted.

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

More
10 years 7 months ago #8 by sozzled
See my comments in blue below:

GenetiX wrote:

I have the same problem too.

Is there some hack I can do myself to override the security setting? User modifications to source code ("hacks") are not supported. User modifications that try to bypass the security features implemented in Kunena are not encouraged.

This problem is somewhat difficult for me, because a lot of these images are going to get posted. I sympathise with your situation. I use JoomGallery, too. I have told my users that they cannot use the JoomGallery "BBCode" tags with the forum; I don't have a problem at all.

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

More
10 years 7 months ago - 10 years 7 months ago #9 by GenetiX
I understand these hacks are not encouraged. But it's my own responsibility to do so. I'm not using joomgallery myself, but want to use Yahoo charts. This is such an example:

ichart.finance.yahoo.com/z?s=DOW&t=5d&q=...GSPC,%5EIXIC&a=v&p=s

Any help to override certain BB settings would be very helpfull.
Last edit: 10 years 7 months ago by GenetiX.

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

More
10 years 2 months ago #10 by rizmedh

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.143 seconds