Kunena 6.4.9 & Kunena 7.0.1 Released

The Kunena team has announce the arrival of Kunena 6.4.9 [K 6.4.9] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/5.4.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 6.4

The Kunena team has announce the arrival of Kunena 7.0.1 [K 7.0.1] in stable which is now available for download as a native Joomla extension for J! 5.0.x/5.1.x/5.2.x/5.3.x/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 note: Go to the Kunena Dashboard after an upgrade so that the Kunena database tables are also updated. This is particularly necessary for major version jumps so that the table changes are adapted.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question Disallowing links within messages

More
15 years 2 months ago #71248 by Ton87
Replied by Ton87 on topic How to disable linking
that is too bad, hacking core files is not really my best quality :p

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

More
15 years 2 months ago #71350 by Ton87
Isn't there a way to set blocking URLs from Joomla?
I could use a content blocker like Wordcensor to block http and www, but I only want it to affect the forum and not my entire Joomla based site.

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

More
15 years 2 months ago - 15 years 2 months ago #71558 by Mr Livered

Ton87 wrote: Good day,

I am looking for a way to disable all clickable links in posts on my Kunena board. So whenever somebody writes down an url or uses the code, I do not want it to be clickable so users need the copy-paste the adress into their adress bar.

Is there any possibility to set this with Kunena?

Regards, Ton

Hi Ton

Yes, I think we're trying to do pretty much the same thing. This is what I did in the end:

In kunena.parser.php, look for
Code:
$text = preg_replace ( '/(?<!S)((http(s?):\/\/)|(www\.[a-zA-Z0-9-_]+\.))+([a-zA-Z0-9\/*+-_?&;:%=.,#]+)/u', '<a href="http$3://$4$5" target="_blank" rel="nofollow">$4$5</a>', $text );

and replace it with:
Code:
text = preg_replace ( '/(?<!S)((http(s?):\/\/)|(www\.[a-zA-Z0-9-_]+\.))+([a-zA-Z0-9\/*+-_?&;:%=.,#]+)/u', '***please copy and paste: http$3://$4$5***', $text );

Edit: you'll also need to disable the parsing of the url bbcode as a link. I changed the relevant section of the parser file to:
Code:
case 'url' : $task->autolink_disable --; // www. > http://www. if (isset ( $tag->options ['default'] )) { $tempstr = $tag->options ['default']; if (substr ( $tempstr, 0, 4 ) == 'www.') { $tempstr = 'http://' . $tempstr; } $tns = "***link banned***"; $tne = ''; return TAGPARSER_RET_REPLACED;
Last edit: 15 years 2 months ago by Mr Livered. Reason: ps

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

More
13 years 11 months ago - 13 years 11 months ago #119766 by numerus
Hello,

Is it possible to disable automatic transformation URL address into clickable URL links (in posts)?
I need to disable this function in posts in order to bring working mp3 player in Kunena.
I'm using latest Kunena 1.7.2 with default template on Joomla 2.5.

P.S. Excuse me, i posted this post into the wrong section. You can change it.
Last edit: 13 years 11 months ago by numerus.

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

More
13 years 11 months ago #119782 by sozzled

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

More
13 years 10 months ago #121185 by sunny33days
Hi, I have problems with spammers just posting links in my forum. I don't need clickable links. I am using Kunena 1.7.2 Is there a way I can "disable" clickable links or html? If there is a hack to do this, please let me know.


Please help, as this will really help me reduce spam links on my site.

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

Time to create page: 0.345 seconds