Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.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 Photo Resizing for "All" Posting Methods

More
15 years 3 months ago - 15 years 3 months ago #86302 by 810
Please try this:http://joomlacode.org/gf/project/kunena/scmsvn/?action=browse&path=%2Fbranches%2F1.6.3-810-bugfixes-01-01-2011%2Fcomponents%2Fcom_kunena%2Flib%2Fkunena.parser.php&r1=4176&r2=4175&pathrev=4176

change line 501 on /components/com_kunena/lib/kunena.parser.php :
Code:
$tag_new = '<a title="" rel="lightbox[gallery]" href="'.$fileurl.'"><img src="'.$fileurl.'"'.($imgtagsize ? ' width="'.$imgtagsize.'"' : '').' alt="" /></a>';
to:
Code:
$tag_new = '<a title="" rel="lightbox" href="'.$fileurl.'"><img src="'.$fileurl.'"'.($imgtagsize ? ' width="'.$imgtagsize.'"' : '')."' style='max-width:".$kunena_config->imagewidth."px; ' alt='' /></a>";


and line 504:
Code:
$tag_new = '<img src="' . $fileurl . ($imgtagsize ? '" width="' . $imgtagsize : '') . '" alt="" />';

to:
Code:
$tag_new = "<img src='" . $fileurl . ($imgtagsize ? "' width='" . $imgtagsize : '') ."' style='max-width:".$kunena_config->imagewidth."px; ' alt='' />";

regards 810
Last edit: 15 years 3 months ago by 810.

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

More
15 years 3 months ago #86303 by Banditz71
OK, what I'm talking about is this, when you go into Forum Configuration then the Uploads tab....you can set the Images "max height and width".....but this only applies to "uploaded" photos....we do "not" want the other type of photos to be taking up so much space....we want a max of 500 x 500....you're saying that the size of the other type photos are determined by how large the messaging area is set? If so, where can these settings be found?

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

More
15 years 3 months ago - 15 years 3 months ago #86304 by Banditz71
810 ..... I'm not the developer of the site, just a moderator.....I certainly don't want screw anything up.....but if you could give me a little more guidance and info on what you posted, I'll pass the info along.
Last edit: 15 years 3 months ago by Banditz71.

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

More
15 years 3 months ago #86305 by 810
ok just extract the file to: /components/com_kunena/lib/

regards 810

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

More
15 years 3 months ago #86306 by Banditz71
OK.....I'm sure this is simple enough, but again, I'm not the developer and have no clue "where" to do this.....if you could point me to where this code "is", the manual changing of those lines should be no problem.....and, what are these changes doing? Sorry to sound so clueless on all this, be we are brand new to this whole setup.

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

More
15 years 3 months ago #86307 by 810
1) download the attach
2) Extract the file to your desktop
3) Open your ftp to your site
4) Go to /components/com_kunena/lib/
5) Copy the file to that dir. and overwrite the file
6) Go to your site and see if all extenal images are shrinken to your settings.


regards 810

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

Time to create page: 0.252 seconds