- Posts: 73
- Thank you received: 2
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
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
- Groenteman
- Topic Author
- Offline
- Junior Member
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.
Please Log in or Create an account to join the conversation.
- Groenteman
- Topic Author
- Offline
- Junior Member
- Posts: 73
- Thank you received: 2
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.
you can try here: \administrator\components\com_kunena\libraries\bbcode\bbcode.php
Please Log in or Create an account to join the conversation.
- Groenteman
- Topic Author
- Offline
- Junior Member
- Posts: 73
- Thank you received: 2
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.
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.
- Jiminimonka
- Offline
- Elite Member
- YBAS!
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 Log in or Create an account to join the conversation.
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.
Please Log in or Create an account to join the conversation.
:blink: :blink:Matias wrote: Did you skip administrator in the file path?
OOps!!... sorry... was my mistake. :blush: :whistle:
Now it works again!! :woohoo:
A big THANK YOU Jiminimonka & Matias!
Please Log in or Create an account to join the conversation.