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 New problem with 1.0.8

More
17 years 2 months ago #3985 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
17 years 2 months ago #4032 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
17 years 2 months ago - 17 years 2 months ago #4068 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.31 KB
Last edit: 17 years 2 months ago by Lintzy.

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

More
17 years 2 months ago #4071 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
17 years 2 months ago - 17 years 2 months ago #4072 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: 17 years 2 months ago by Lintzy.

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

More
17 years 2 months ago - 17 years 2 months ago #4077 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: 17 years 2 months ago by rinuccio.

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

Time to create page: 0.292 seconds