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

Question New problem with 1.0.8

More
15 years 2 months ago #1 by rinuccio
Problem with 1.0.8

I just updated. I immediately noticed a fault.

If the user is signing an image, it moves the whole layout of the site: (

If I delete the signature still works properly

[img

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

More
15 years 2 months ago #2 by Matias
Replied by Matias on topic Re:New problem with 1.0.8
This is known issue (not new one) and is not so easy to fix because of the limits of css2. You can try to move those reply etc icons to the next row in mesage.php, but it won't fix the whole problem.

You have the same problem when you have a very long word, like aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.

We are working for a better solution. If you have any ideas how to force width of the page to static, I would like to know them. ;)

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

More
15 years 2 months ago - 15 years 2 months ago #3 by Lintzy
Replied by Lintzy on topic Re:New problem with 1.0.8
Maybe this could be the solution (i'll try to explain it, with my bad english :unsure: )

Put message and buttons in 1 td (not two), make two <p> and change a little bit the css. I have done so in template default_ex. And i put the changed files (out of template default_ex!) in attachment, give it a try.

change in message.php line 312 - 407

<table width="100%" cellpadding="0" cellspacing="0"><tr>
<?php
if ($msg_signature) {
echo '<td class="msgsignature"><div>';
echo $msg_signature;
echo '</div></td>';
}
?>
<td valign="bottom">
<div class="fb_message_buttons_cover">
<span id = "fb_qr_sc__<?php echo $msg_id;?>" class = "fb_qr_fire" style = "cursor:hand; cursor:pointer">

<?php
//we should only show the Quick Reply section to registered users. otherwise we are missing too much information!!
/* onClick="expandcontent(this, 'sc<?php echo $msg_id;?>')" */
if ($my->id > 0 && !$msg_closed)
{
?>

<?php echo
$fbIcons
? '<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />' . '' : ' <img src="' . KUNENA_URLEMOTIONSPATH . 'quickmsg.gif" border="0" alt="' . _KUNENA_QUICKMSG . '" />'; ?>
<?php
}
?>
</span>

<?php
if ($fbIcons)
{
if ($msg_closed == "")
{
echo " " . $msg_reply;
echo " " . $msg_quote;

if ($is_Moderator) echo ' </div><div class="fb_message_buttons_cover">';

if ($msg_merge) {
echo " " . $msg_merge;
}

if ($msg_split) {
echo " " . $msg_split;
}
if ($msg_delete) {
echo " " . $msg_delete;
}
if ($msg_edit) {
echo " " . $msg_edit;
}

}
else {
echo $msg_closed;
}

}
else
{
if ($msg_closed == "")
{
echo $msg_reply;
?>

|

<?php
echo $msg_quote;

if ($msg_delete) {
echo " | " . $msg_delete;
}

if ($msg_move) {
echo " | " . $msg_move;
}

if ($msg_edit) {
echo " | " . $msg_edit;
}

if ($msg_sticky) {
echo " | " . $msg_sticky;
}

if ($msg_lock) {
echo "| " . $msg_lock;
}
}
else {
echo $msg_closed;
}
}
?>
</div>
</td></tr></table>


changed (is marked with red color if possible)

<table width="100%" cellpadding="0" cellspacing="0"><tr>
<?php
if ($msg_signature) {
echo '<td><div class="msgsignature"><div>';
echo '<p>';
echo $msg_signature;
echo '</p>';
echo '</div></div>';

}
?>
<p>
<div class="fb_message_buttons_cover">
<span id = "fb_qr_sc__<?php echo $msg_id;?>" class = "fb_qr_fire" style = "cursor:hand; cursor:pointer">

<?php
//we should only show the Quick Reply section to registered users. otherwise we are missing too much information!!
/* onClick="expandcontent(this, 'sc<?php echo $msg_id;?>')" */
if ($my->id > 0 && !$msg_closed)
{
?>

<?php echo
$fbIcons
? '<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons . '" border="0" alt="' . _KUNENA_QUICKMSG . '" />' . '' : ' <img src="' . KUNENA_URLEMOTIONSPATH . 'quickmsg.gif" border="0" alt="' . _KUNENA_QUICKMSG . '" />'; ?>
<?php
}
?>
</span>

<?php
if ($fbIcons)
{
if ($msg_closed == "")
{
echo " " . $msg_reply;
echo " " . $msg_quote;

if ($is_Moderator) echo ' </div><div class="fb_message_buttons_cover">';

if ($msg_merge) {
echo " " . $msg_merge;
}

if ($msg_split) {
echo " " . $msg_split;
}
if ($msg_delete) {
echo " " . $msg_delete;
}
if ($msg_edit) {
echo " " . $msg_edit;
}

}
else {
echo $msg_closed;
}

}
else
{
if ($msg_closed == "")
{
echo $msg_reply;
?>

|

<?php
echo $msg_quote;

if ($msg_delete) {
echo " | " . $msg_delete;
}

if ($msg_move) {
echo " | " . $msg_move;
}

if ($msg_edit) {
echo " | " . $msg_edit;
}

if ($msg_sticky) {
echo " | " . $msg_sticky;
}

if ($msg_lock) {
echo "| " . $msg_lock;
}
}
else {
echo $msg_closed;
}
}
?>
</div></p>
</td></tr></table>


And in kunena.forum.css delete or make /* */ for text-align:right; in div.fb_message_buttons_cover and put some new code, (changes in red color)

div.fb_message_buttons_cover {
/*text-align:right; */
height: 15px;
line-height: 15px;
margin: 4px 0px 3px;
line-height: 14px;
white-space: nowrap;
}
div.msgsignature div p{
padding-bottom:10px;
margin-bottom: 10px;
border-bottom: 1px solid #BFC3C6;
}


The changes you can see on screenshot ( i have taken the first image for signature, i have found in internet)





File Attachment:

File Name: signatur_button.zip
File Size:9 KB
Attachments:
Last edit: 15 years 2 months ago by Lintzy.

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

More
15 years 2 months ago #4 by rinuccio
Replied by rinuccio on topic Re:New problem with 1.0.8
Thank you, very kind :-)

Sorry my little practice with css,
but how do I set the buttons of moderation on one line?

P.S.
this change because you have not included in the default template?

Now there will be similar to my problems on thousands of sites :S

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

More
15 years 2 months ago - 15 years 2 months ago #5 by Lintzy
Replied by Lintzy on topic Re:New problem with 1.0.8
To set the buttons in one line, there will be changing in message.php needed (i guess). I look for it, after this post, and will tell you the changes.


Those changes above are made only for template default_ex.


The template default shows the buttons under the signature without any changes.
Last edit: 15 years 2 months ago by Lintzy.

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

More
15 years 2 months ago - 15 years 2 months ago #6 by rinuccio
Replied by rinuccio on topic Re:New problem with 1.0.8
Lintzy wrote:

The template default shows the buttons under the signature without any changes.


O_O
No No.
I upgraded two sites this morning. Using the template default_ex without modification.
On both sites I had the same problem...
Last edit: 15 years 2 months ago by rinuccio.

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

More
15 years 2 months ago - 15 years 2 months ago #7 by Lintzy
Replied by Lintzy on topic Re:New problem with 1.0.8
If you want to have the buttons in one line you have to comment out or to delete this

echo ' </div><div class="fb_message_buttons_cover">';

In orginal message.php (from kunena) it is line 347

in my changed message.php it ist line 349

<?php
if ($fbIcons)
{
if ($msg_closed == "")
{
echo " " . $msg_reply;
echo " " . $msg_quote;

if ($is_Moderator) /* echo ' </div><div class="fb_message_buttons_cover">';*/

if ($msg_merge) {
echo " " . $msg_merge;
}


In file attachement, is the message.php + forum.css (css is same as above) for getting the buttons below the signature and in one line, as shown on screenshot.

You find and have to change (before make backup of these files!) in components/com_kunena/template/default_ex






File Attachment:

File Name: default.zip
File Size:9 KB
Attachments:
Last edit: 15 years 2 months ago by Lintzy.

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

More
15 years 2 months ago #8 by Lintzy
Replied by Lintzy on topic Re:New problem with 1.0.8
rinuccio wrote:

Lintzy wrote:

The template default shows the buttons under the signature without any changes.


O_O
No No.
I upgraded two sites this morning. Using the template default_ex without modification.
On both sites I had the same problem...


Look, what i have written: the template default

For template default_ex, i have shown possible changes above.

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

More
15 years 2 months ago #9 by rinuccio
Replied by rinuccio on topic Re:New problem with 1.0.8
Sorry, it's true

Can I suggest to include the changes described above in the next release?

They work very well :-)

In fact, I add.
For those who use the templates close the result is not beautiful to look at...



We would be better 1 "dropdown" :P
These are my recommendations then the experts you :-)
Attachments:

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

More
15 years 2 months ago - 15 years 2 months ago #10 by Lintzy
Replied by Lintzy on topic Re:New problem with 1.0.8
rinuccio wrote:

Sorry, it's true

Can I suggest to include the changes described above in the next release?

They work very well :-)

In fact, I add.
For those who use the templates close the result is not beautiful to look at...



We would be better 1 "dropdown" :P
These are my recommendations then the experts you :-)


I will write a PM to Matias, that he will see the changes. Maybe they are practical. I have tested in firefox, IE 6 and IE 7.

Your screenshot shows the buttons above the message. I guessed, you wanted to bring the buttons below the signature in 1 line. Did you want to get the buttons above the textbox in 1 line? I think, they are to big, to do so.

You can crack your problem, with replacing the buttons with other and smaller buttons. You find them in

/components/com_kunena/template/default_ex/images/english/icons

if you are using another language, you have, i guess italian? you'll find them in

/components/com_kunena/template/default_ex/images/italian/icons
Last edit: 15 years 2 months ago by Lintzy.

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

Time to create page: 0.592 seconds