Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

Idea SOLVED html added to URL in forum post

More
17 years 5 months ago - 17 years 5 months ago #18599 by JComeskey
OK, I'm not sure exactly how to ask this, so I will provide the complete story.

I am trying to use the Mike Reumer google map plugin as a way to allow site users to share running routes in the forums.

By switching on the 3rd party plugin parameter, the plugin itself works fine.

But in order to create a running route with a visible polyline, you need to save the map as a kml file, upload the kml file to the server, and then use a syntax that looks like this:
Code:
{mosmap kml='http://www.yoursite.com/folder/filename.kml'}

So far, all of this is easy. My problem is how Kunena handles the kml location. It recognizes the URL syntax and adds html around it to be:
Code:
kmlurl = '&#039;<a href="http://www.orrrc.org/media/kunena/attachments/legacy/files/gng_course_2009.kml&#039;" target="_blank" rel="nofollow">www.orrrc.org/media/kunena/attachments/legacy/files/gng_course_2009.kml&#039;</a>'

39 is the thread ID. I think I could execute the plugin command if I could get rid of the "<a>" and the "&#039;".

Is there any way to do this?

Thanks!
Last edit: 17 years 5 months ago by JComeskey.

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

More
17 years 5 months ago #18983 by Matias
Try to remove "http://www." if it works..

Unfortunately Kunena does not escape {}. :(

One way would be to replace content between { and } with some temporal word and put it back after it has been parsed.

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

More
17 years 5 months ago #19078 by JComeskey
Thanks for the reply!!

Removing the www appears to have no effect. :(

As far as assigning a variable within the brackets, do you believe that this is something that can be commanded within the forum post itself, or would it require modifications to the plugin's PHP files?

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

More
17 years 5 months ago #19095 by Matias
Brackets are ok. Urls are not. They are always intepreted as links by Kunena. Hmm.. Need to fix that sooner or later..

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

More
17 years 5 months ago #19149 by JComeskey
Right, the plugin works fine if I use a different syntax, such as:
Code:
{mosmap address='2312 Far Hills Ave, Dayton, Ohio 45419'}

But that delivers only a single marker point. If I want a complete running route with a polyline, then I need to use the kml file location as referenced above. If we could just get Kunena to treat the file location as text instead of a link...

FYI, my experiments with this are here:
www.orrrc.org/runners/forum.html?func=view&catid=13&id=39

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

More
17 years 5 months ago #19211 by Matias
Hmm.. After looking at the code, I've found [noparse] tag. It may work for you.

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

Time to create page: 0.125 seconds