Kunena 7.0.8 Released

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

This category is for general discussion about the Kunena Project or this website.

Please use other categories for questions about problems that you may be having with your website.

Merged WYSIWYG editor for Kunena: How to allow HTML tags?

More
13 years 6 months ago #139962 by sozzled

chris_z wrote: How can I render the HTML inside a post without hacking Kunena?

You cannot, Unless you hack the source or write your own plugin, you cannot.

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

More
13 years 6 months ago #140207 by chris_z

sozzled wrote:

chris_z wrote: How can I render the HTML inside a post without hacking Kunena?

You cannot, Unless you hack the source or write your own plugin, you cannot.


Indeed. I am writing my own plugin and I am asking for advice on what function call or technique to use to allow HTML to be inserted. That is why I posted in the Forum > Community self help > Customising Kunena >User-written Plugins section before somebody moved my post here.

Here is the code I have so far:
Code:
public function onKunenaPrepare($context, &$item, &$params, $page = 0) { if ($context == 'kunena.messages') { for ($i = 0; $i < count($item); $i++) { if (JAccess::check($item[$i]->userid, 'core.admin')) { $item[$i]->message = str_replace('SPECIALTAG', '<h1>Here is some <em>HTML</em></h1>', $item[$i]->message); } } } }

However, when I actually put SPECIALTAG in an administrator's post, the HTML is not rendered. I literally get the following as output to the web browser:

<h1>Here is some <em>HTML</em></h1>

I am asking other programmers familiar with Kunena if there is a way to keep the HTML tags from being converted to have & gt; and & lt;

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

More
13 years 6 months ago - 13 years 6 months ago #140218 by sozzled

chris_z wrote: How can I render the HTML inside a post without hacking Kunena

This was your earlier message. The answer to this question is that you cannot do this without (a) hacking or (b) writing a plugin.

Because you did not indicate that you were in the process of writing a plugin, I thought you were asking "how can I do this without hacking Kunena?" (and that is why I merged your topic here).

If you are considering writing a plugin, that is great to hear. I am sure that there will be a lot of people interested in following your progress.

The Kunena team considered the effort involved in similarly writing a plugin but, because no-one was willing to pay the development costs to build it, the idea was shelved. We estimated that it would probably take one person about one week to do this job (if that person did nothing else) and it could be useful as something that people may want to buy as an add-on for Kunena. Please bear in mind that the K 2.0 is at end-of-life and that there will be no further enhancements made by the Kunena team to K 2.0 as the team focuses its energy on building K 3.0. You may want to consider this in your plans.

Thank you for your input and ideas. We wish you every success. As the team is fully committed to the development of K 3.0, however, I would not expect that there will be a significant amount of feedback on the forum from the team in relation to what you are trying to do. But we sincerely wish you the very best and we look forward to hearing more about your success in the User-Written Plugins category. :)
Last edit: 13 years 6 months ago by sozzled.

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

More
13 years 6 months ago #140252 by GJSchaller
A client of mine is looking for a WYSIWYG editor that will allow him to compose a message easily using WYSIWYG, and then copy & paste the BBcode into Kunena.

I've googled around for one, but the top hits all point to www.ecardmax.com/hoteditor/ which seems to have some bugs in it, and the Ordered Lists code is not the same as Kunena's code.

Anyone seen one I can point to?

Geoffrey Schaller
Technical Officer
Knight Realms

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

More
13 years 6 months ago #140271 by GJSchaller
Someone pointed this out to me, if it helps future people:

www.sceditor.com/

Geoffrey Schaller
Technical Officer
Knight Realms

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

More
13 years 4 months ago #141833 by rcastellet
Hi,

I woould like to know how this is subject is going on?
It seemed to me that about mid 2012 a WYSISYG editor for Kunena was going to be released.
I have installed the forum but I can't see the option.
Is there a paid option?
If it is not possible, is there any workaround (perhaps with JCK or similar)?
Any idea?

Thanks in advance. Regards.

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

Time to create page: 0.254 seconds