Kunena 7.0.4 Released

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

Question PDF handling seems broken in 5.1.5

More
7 years 6 months ago #204678 by Goldie
And by changing bbcode/pdf.php as follows it both works in Firefox and IE. I changed your method of using attachment->mesid and directly use filename in folder attachments. Brute force and I am sure you can do better than my programming.

$attachment = $this->attachment;
// $location = $attachment->getUrl();
$location = "media/kunena/attachments/" . $attachment->userid . "/" . $attachment->filename;

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

More
7 years 6 months ago #204679 by 810
the different now is:
'media/kunena/attachments/984/Verzendinstructies.pdf'

vs image
'/develop/index.php?option=com_kunena&view=attachment&id=54&format=raw&Itemid=333'

OK so I need to fix that. but it is working fine for me. Need to check it.

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

More
7 years 6 months ago #204680 by Goldie
Hi,

well close. I use the filename and not realfilename. So it is something like

'media/kunena/attachments/984/3d61bebe675c6c62c8922eee31d410a'

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

More
7 years 6 months ago #204683 by 810
for the attachments on the bottom its correct.

But the pdf embed needs a extension like .pdf to show up. Else the object doesn't know its a pdf object.

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

More
7 years 6 months ago #204684 by 810
ok I have now changed the code to use the full address, please check if its working for you now.

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

More
7 years 6 months ago #204685 by Goldie
Hi,

at least in FF and IE it has worked without .pdf as <object> contains type="application/pdf" .

I have downloaded pkg_kunena_v5.1.5-DEV_2018-10-14.zip followed by pkg_kunena_v5.1.5_2018-10-14.zip as I first did not see that there was a developer and normal nightly version. With that embedding works both in FF and IE.

Great support!

Best regards, Goldie

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

Time to create page: 0.334 seconds