- Posts: 7245
- Thank you received: 566
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
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
16 years 8 months ago #27389
by Matias
Replied by Matias on topic Re: IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
empty($file_ext) is true only if $file_ext is null, '' or 0. It is defined to be static (= keeps its value), so if block will get executed only once.
Please Log in or Create an account to join the conversation.
16 years 8 months ago #27474
by Ganzuelo
Replied by Ganzuelo on topic Re: IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
Matias can we get a copy of this whole code we need to fix.. I stink at php.. only good at copy and pasting in the set position?
Please Log in or Create an account to join the conversation.
16 years 8 months ago - 16 years 8 months ago #27475
by Matias
Replied by Matias on topic Re: IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
Jerry's code works, it may just show a notice for undefined variable (if notices are turned on).
The whole code looks like this:
/components/com_kunena/lib/kunena.parser.php lines: 340 ->
The whole code looks like this:
/components/com_kunena/lib/kunena.parser.php lines: 340 ->
Code:
static $file_ext = null;
$matches = null;
if (empty($file_ext)) {
$params = &JComponentHelper::getParams( 'com_media' );
$file_ext = explode(',', $params->get('upload_extensions'));
}
preg_match('/\.([\w\d]+)$/', $between, $matches);
if (!in_array(strtolower($matches[1]), $file_ext)) break;
Last edit: 16 years 8 months ago by Matias.
Please Log in or Create an account to join the conversation.
16 years 8 months ago - 16 years 8 months ago #27477
by Ganzuelo
Replied by Ganzuelo on topic Re: IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
Its working now thanks!
Last edit: 16 years 8 months ago by Ganzuelo. Reason: reread and fixed..
Please Log in or Create an account to join the conversation.
- crisscross
-
- Offline
- Junior Member
-
Less
More
- Posts: 18
- Thank you received: 0
16 years 8 months ago - 16 years 8 months ago #27682
by crisscross
Replied by crisscross on topic Re:IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
I guess this version is supposed to break tiny-url:s used inside the IMG-tag?
Last edit: 16 years 8 months ago by crisscross.
Please Log in or Create an account to join the conversation.
- crisscross
-
- Offline
- Junior Member
-
Less
More
- Posts: 18
- Thank you received: 0
16 years 8 months ago #27692
by crisscross
Replied by crisscross on topic Re:IMG Tag problem after upgrade to Kunena 1.5.5 PROPER
Just noticed another thing that is not working. Signatures with IMG-tag that points to fbfiles/images shows the bb-code and links to the image.
Please Log in or Create an account to join the conversation.
Time to create page: 0.287 seconds