Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, these ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Question preview with shadowbox ver 3.0b

More
17 years 5 months ago #18752 by JBHawaii
this is not work at all, using kunena 1.0.10.

Mahalo,
JBHawaii

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

More
17 years 5 months ago #18770 by 810
JBHawaii wrote:

this is not work at all, using kunena 1.0.10.

It it working for me, just copy the shadowbox folder to you default/plugins and copy the write_fb to the default and it working.

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

More
17 years 5 months ago - 17 years 5 months ago #18831 by guerilla
here i updated for kunena 1.0.10

if you already have hack, just overwrite fb_write.html.php to older. shadowbox folder is same. yo dont need to overwrite it.

File Attachment:

File Name: sbox_for_kunena.zip
File Size:22.55 KB
Last edit: 17 years 5 months ago by guerilla.

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

More
17 years 5 months ago - 17 years 5 months ago #18862 by JBHawaii
I already have a pre-modified version of fb_write.html.php is there anyway you can just post the raw code so I can add it into my current version?

I have tried your version here but it still does not work. I use your modalbox hack which I ported to k1.0.10 so I don't see why this one refuses to work.

Thanks,

Mahalo,
JBHawaii
Last edit: 17 years 5 months ago by JBHawaii.

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

More
17 years 5 months ago - 17 years 5 months ago #18873 by guerilla
find this code:
Code:
include_once(KUNENA_ABSSOURCESPATH . 'kunena.bbcode.js.php'); ?>

and add this code under it:
Code:
<link rel="stylesheet" type="text/css" href="<?php echo KUNENA_DIRECTURL . '/template/default';?>/plugin/shadowbox/shadowbox.css"> <script type="text/javascript" src="<?php echo KUNENA_DIRECTURL . '/template/default';?>/plugin/shadowbox/shadowbox.js"></script> <script type="text/javascript"> Shadowbox.init({ language: "tr", players: ["html"] }); function msgpreview() { var kunenaPath = document.postform.kunenaPath.value; jQuery.ajax({url:kunenaPath, data : { msgpreview : encodeURIComponent(document.getElementById('message').value), Itemid: <?php echo KUNENA_COMPONENT_ITEMID ;?> , option: "com_kunena" , func: "getpreview" , no_html: 1}, type: "POST", beforeSend : function (req){ Shadowbox.init({ skipSetup: true }); }, success : function (req){ Shadowbox.open({ player: 'html', title: '<?php echo ' '._PREVIEW.' ';?>', content: req, height: 480, width: 640 }); } }); } </script>

then find this part:
Code:
<input type="button" name="preview" class="fb_button" value="<?php @print(' '._PREVIEW.' ');?>" onClick="fbGetPreview(document.postform.message.value,<?php echo KUNENA_COMPONENT_ITEMID?>);" onmouseover = "javascript:jQuery('input[name=helpbox]').val('<?php @print(_KUNENA_EDITOR_HELPLINE_PREVIEW);?>')" />

and change to this:
Code:
<input type="button" name="preview" class="fb_button" value="<?php @print(' '._PREVIEW.' ');?>" onClick="return msgpreview();" onmouseover = "javascript:jQuery('input[name=helpbox]').val('<?php @print(_KUNENA_EDITOR_HELPLINE_PREVIEW);?>')" />



by the way;

language: "tr",

part specifies language file, so you can change it to your own language, but your language file must be installed under shadowbox language folder. you can download it from shadowbox official site.

you can change shadow box sizes from theese parameters:

height: 480,
width: 640

good luck...
Last edit: 17 years 5 months ago by guerilla.

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

More
17 years 5 months ago - 17 years 5 months ago #18916 by JBHawaii
Guerilla, Thanks so much. I have added this code but it's as if the code isn't even in the file. It does not break my kunena, but it does not work either I have tested this on three sites modified and un-modified something is missing or I am doing something wrong.

Mahalo,
JBHawaii
Last edit: 17 years 5 months ago by JBHawaii.

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

Time to create page: 0.146 seconds