×
Kunena 5.2 Beta 1 Released (24 Sep 2020)

The Kunena team is thrilled to announce the first public beta release of Kunena 5.2, a native Joomla extension for Joomla 3.9. This is a development release and should be only be used for testing; this version is not recommended for live websites at this stage.

The purpose of this release is to encourage testing by downloading, installing and identifying any problems or shortcomings that people may discover. K 5.2.0 B1 is stable and we are aware that people will discover defects. We encourage you to use the forum to report defects, as soon as they are discovered, so that the development team can work through the problems before the release of K 5.1 as a stable product. Reporting defects does not mean that the problems can or will be fixed. The Kunena team is looking forward to hearing your feedback on how well we have achieved our design goals.

× If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

Question where has the file kunena.parser.php gone

More
8 years 3 months ago #1 by Groenteman
First of all ... thank you so much for this Kunena 2.0 version.

Second .. I can't find the kunena.parser.php

Where has it gone?

Thanks in advance,

Groenteman

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

More
8 years 3 months ago #2 by 810
What do you want to add or change.

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

More
8 years 3 months ago #3 by Groenteman
Hello 810,

I want videos to show in the forum and not the link

documentation.hwdmediashare.co.uk/wiki/A..._in_the_Kunena_forum

Thanks for the question ... but whats the answer :)

Groenteman

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

More
8 years 3 months ago #4 by 810
everything is changed:

you can try here: \administrator\components\com_kunena\libraries\bbcode\bbcode.php
The following user(s) said Thank You: Groenteman

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

More
8 years 2 months ago #5 by Groenteman
Thanks for the reply 810

I added this to the bbcode.php


}
if ($config->autoembedyoutube)
{
$runinsert=false;
preg_match('/viewvideo\/(.*?)\//', $task->text, $match);
if (empty($match[1])) {
$sef=false;
preg_match('/video_id=(.*?)"/', $task->text, $match);
if (!empty($match[1])) {
$runinsert=true;
}
} else {
$sef=true;
$runinsert=true;
}

if ($runinsert) {
require_once(JPATH_SITE.DS.'administrator'.DS.'components'.DS.'com_hwdvideoshare'.DS.'helpers'.DS.'initialise.php');
hwdvsInitialise::coreRequire();
hwdvsInitialise::language();
hwdvsInitialise::template();

$db =& JFactory::getDBO();
$query = 'SELECT * FROM #__hwdvidsvideos WHERE id = '.(int)$match[1];
$db->SetQuery( $query );
$row = $db->loadObject();

$player = hwd_vs_tools::generateVideoPlayer($row);
}

// to add a return link under the player then comment out the next line
// $player.= "<div>".hwd_vs_tools::generateVideoLink($row->id, $row->title)."</div>";

if ($runinsert && $sef) {
$task->text = preg_replace('/<a href=(.*?)\/viewvideo\/(.*?)<\/a>/', $player, $task->text);
} else if ($runinsert && !$sef) {
$task->text = preg_replace('/<a href=(.*?)task=viewvideo(.*?)<\/a>/', $player, $task->text);
}
}
if ($config->autoembedebay && isset($params) && strstr($params, '.ebay.')) {
parse_str($params, $query);

I didn't get it working as in the previous Kunena version.

Could anyone give me a lead?

Thanks in advance,

Groenteman

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

More
8 years 2 months ago #6 by Wild Duck
Hello

First of all, thank you for your hard work and interest in helping the community.

I want to know where to change the config lines of size of youtube videos, previously located on kunena.parser.php

In my old K 1.7.2 version it worked very well, and was in components/com_kunena/lib/

I´m now with K 2.0.1, and can´t find bbcode.php on components\com_kunena\libraries\bbcode\

I´m trying to do like this:
www.kunena.org/forum/154-Miscellaneous-o...deo-on-youtube#86287

Thank you in advance.

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

More
8 years 2 months ago #7 by Jiminimonka

Wild Duck wrote: Hello

First of all, thank you for your hard work and interest in helping the community.

I want to know where to change the config lines of size of youtube videos, previously located on kunena.parser.php

In my old K 1.7.2 version it worked very well, and was in components/com_kunena/lib/

I´m now with K 2.0.1, and can´t find bbcode.php on components\com_kunena\libraries\bbcode\

I´m trying to do like this:
www.kunena.org/forum/154-Miscellaneous-o...deo-on-youtube#86287

Thank you in advance.


I think the answer you are looking for is a couple of posts above this one.

Please read the FAQ.
Only one question per topic.
Search before you ask a question.
The following user(s) said Thank You: Wild Duck

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

More
8 years 2 months ago #8 by Wild Duck
Thank you for your quick answer Jiminimonka... :cheer:

Did you mean this?:

810 wrote: everything is changed:

you can try here: \administrator\components\com_kunena\libraries\bbcode\bbcode.php


My problem is that I can´t find kunena.parser.php or bbcode.php in K 2.0.1 where is supposed to be.

In "com_kunena" folder I have:
controllers
languaje
lib
models
template
views

and in "lib" folder I only have *.class.php and *.js.php archives


Maybe Im looking for this line?:
$player = hwd_vs_tools::generateVideoPlayer($row);

Thank you again.

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

More
8 years 2 months ago #9 by Matias
Did you skip administrator in the file path?
The following user(s) said Thank You: Wild Duck

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

More
8 years 2 months ago - 8 years 2 months ago #10 by Wild Duck

Matias wrote: Did you skip administrator in the file path?

:blink: :blink:

OOps!!... sorry... was my mistake. :blush: :whistle:

Now it works again!! :woohoo:

A big THANK YOU Jiminimonka & Matias!
Last edit: 8 years 2 months ago by Wild Duck.

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.131 seconds