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

Question 2 bugs: [ causes fatal error and www makes a link even when its not a url

More
16 years 11 months ago #18789 by tamerax
so we found two weird little issues. one of them is a bit more serious than the other.

if you finish your post with "[", it causes this:

"Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 43 bytes) in /xxxxxxxxxx/components/com_kunena/class.kunena.php on line 1296"

so in other words, if someone finnishes there last post with this =[, it crashes.

the other issue is that if someone writes something like "awwwww", it will try to parse the word as a link because it has "www" in it. kinda weird :P

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

More
16 years 11 months ago #18790 by grumblemarc
Both of these issues have been reported prior.

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

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

More
16 years 11 months ago #18849 by bostar
is there a solution?? Can you give me a link to the solution for this?

Thanx,
Tony.

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

More
16 years 11 months ago - 16 years 11 months ago #18985 by Matias
Yes, I've just made up one:

Edit: components/com_kunena/template/default/smile.class.php line ~64 and replace function smileReplace() by this:
Code:
function smileReplace($fb_message, $history, $emoticons, $iconList = null) { $fb_message_txt = $fb_message; //implement the new parser $parser = new TagParser(); $interpreter = new KunenaBBCodeInterpreter($parser); $task = $interpreter->NewTask(); $task->SetText($fb_message_txt.' _EOP_'); $task->dry = FALSE; $task->drop_errtag = FALSE; $task->history = $history; $task->emoticons = $emoticons; $task->iconList = $iconList; $task->Parse(); // Show Parse errors for debug //$task->ErrorShow(); return substr($task->text,0,-6); }
Last edit: 16 years 11 months ago by Matias.

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

More
16 years 11 months ago #18992 by tamerax
the "[" bug is fixed but my second test didn't come out so well.

I type "awwww" and it posted this "awww _EO" and still made it a link.

thank you though! :D

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

More
16 years 11 months ago #19092 by Matias
Yes, that does not fix www issue. Haven't looked at it yet.

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

Time to create page: 0.315 seconds