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

Idea Does JoomGallery IMG tags work in Kunena?

More
9 years 9 months ago #1 by radekgorski
Hello all,

I have problem with inserting photos from JoomGallery (Version 1.5.6.1) to Kunena posts (Version 1.6.2).

Link looks like:

but no image is visible.

Could anyone help me to sovle this, please?

Thanks in advance,
Radek

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

More
9 years 9 months ago #2 by sozzled
I cannot see anything with that link.

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

More
9 years 9 months ago - 9 years 9 months ago #3 by radekgorski
I'm sorry, correct link is:
[IMG]https://advpoland.com/index.php?view=image&format=raw&type=img&id=3642&option=com_joomgallery&Itemid=339[/IMG]
Now I inserted that link into , because in normally pasted link, Kunena adds "amp;" (that's why you couldn't see anything): [IMG]https://advpoland.com/index.php?view=image&format=raw&type=img&id=3642&option=com_joomgallery&Itemid=339[/IMG][code], because in normally pasted link, Kunena adds "amp;" (that's why you couldn't see anything):
Last edit: 9 years 9 months ago by radekgorski.

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

More
More
9 years 9 months ago #5 by radekgorski
Try now, pleaase (sorry, I forgot about user login)

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

More
9 years 9 months ago - 9 years 9 months ago #6 by sozzled
Thank you. I wanted to try your image on this website (as I did in www.kunena.org/playground/main/66126-lor...t=10&start=190#79801 ) and, as I understand, it's not possible to use Kunena to post images with that kind of URL structure.

We've had this discussion before (see the results of this search ). I was aware that the functionality had been removed (for security reasons) from K 1.5 and I was aware that the development team had been looking at some proposals to allow JoomGallery images with K 1.6 but I was not sure what the current situation was. That's why I was insisting on seeing your example for myself.

You might find that some of the discussions that I referred you to, the results of the search, will help to better understand the situation with Kunena and JoomGallery but the best answer I can give you is this :

fxstein wrote: 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 (and therefore 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.

I don't think that there's much we can do about this at present.
Last edit: 9 years 9 months ago by sozzled.

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

More
9 years 9 months ago - 9 years 9 months ago #7 by radekgorski
sozzled,
Thanks for help. It seems that only way to show images from Joomgallery in Kunena posts is to enable SEF settings in global Joomla configuration:
- Search Engine Friendly URLs - Yes
- Use Apache mod_rewrite - Yes
becasue the BBcode from Joomgallery then looks like:
[IMG]https://advpoland.com/zdjecia/kategorie/image?format=raw&type=img&id=3642[/IMG]
and it is accepted by Kunena component, if Kunena configuration BBcode settings are:
Display images with non-standard file extensions: Image

Regards,
Radek
Last edit: 9 years 9 months ago by radekgorski.

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

More
9 years 9 months ago #8 by sozzled
Sorry, but I tried your idea at this site - this site has the same SEO settings that you described - and it doesn't work either.

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

More
9 years 9 months ago #9 by radekgorski
Hmm... strange, because it works on my live site!
I'm not a programmer, so can't explain it, maybe you are able to do it.

For example - here you find user's topic (with JoomGallery inserted images). Works!
advpoland.com/forum/12-Relacje-inne/6263...ingwina---Bytom#6263

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

More
9 years 8 months ago #10 by losthillsguy

radekgorski wrote: sozzled,
Thanks for help. It seems that only way to show images from Joomgallery in Kunena posts is to enable SEF settings in global Joomla configuration:
- Search Engine Friendly URLs - Yes
- Use Apache mod_rewrite - Yes
becasue the BBcode from Joomgallery then looks like:

[IMG]https://advpoland.com/zdjecia/kategorie/image?format=raw&type=img&id=3642[/IMG]
and it is accepted by Kunena component, if Kunena configuration BBcode settings are:
Display images with non-standard file extensions: Image

Regards,
Radek


Fantastic! This worked in my Kunena forum with the Joomgallery Img tags it generates.

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