- Posts: 4
- Thank you received: 0
Kunena 6.3.0 released
The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3
Question Inserting Code (Alternative Language)
I've searched the forums but have not found a similar topic. I recently got Kunena 1.7.2 installed on my site and LOVE IT. Thank you Kunena team! My question is, my community members typically use C++, C# & VB(.NET) but they don't have those options when inserting code snippets in a post. Can anyone point me in a direction of enabling those languages? I can't find an existing solution but am willing to create one with a little guidance.
Thanks so much!
Please Log in or Create an account to join the conversation.
As you would be aware, if people allow the unrestricted use of programming code in the forum this opens up the question of securing your website from untrustworthy sources, sources that may not share the desire that you and your community should have to have a forum that works smoothly and reliably. It is possible with the use of the "code" BBcode tag to display source code (that could be written in virtually any language). It is not, however, possible to exercute that code in Kunena.
That is to say, while it would be possible for me to display the following VBscript code
I hope this helps you to understand how Kunena works and what are some of the limitations in how you and your community may be able to use Kunena.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
which tells me that it's defaulting to php style formatting which is not desired for the languages I listed. Not at all complaining, just looking for a solution.
Thanks again!
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
I think that I've figured it out on my own. The solution that I figured out is to download GeSHi and look in the extracted geshi\geshi folder for the desired language.php file. I uploaded one to my server as a test in the plugins/content/geshi/geshi/geshi folder. Refreshed my Kunena editor and the new language automagically showed up and worked as expected.
Hopefully one of the Kunena devs can confirm or deny that this is the correct solution.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
- Jiminimonka
- Offline
- Elite Member
- YBAS!
Please Log in or Create an account to join the conversation.
What I'm finding is that the rendered code does not look exactly like what you get when you use their GeSHi Demo page. I'm no Kunena or php expert but I have dug into the Kunena php and it looks like to me it will require some core Kunena php changes to implement some of the additional functionality listed in the GeSHi Documentation .
Would love to hear from a Kunena dev on this topic.
*Just noticed this thread got moved into the archive. I don't think we were done with the discussion.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.