Kunena 6.2.5 & module Kunena Latest 6.0.7 released

The Kunena team has announce the arrival of Kunena 6.2.5 [K 6.2.5] which is now available for download as a native Joomla extension for J! 4.3.x/4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2

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 Problem with smilies and border [SOLVED]

More
13 years 10 months ago - 13 years 10 months ago #1 by Ke_Garnett
Hi everyone,

I'm desgining a new template for my website and everything looks great. But I've got a lil problem with the smilies on the left side on message-editor. I defined the sectiontableentry2 with borders in the css to seperate the category's, but unfortunately the table for the smilies use the same css-class. I want to eleminate the border's from the smilies on the right side, but I can't without changing the category's view too. So I have to define a new css class for that action, but I've searched and haven't found the class definition for the smilies. So could anyone give me a hint, where I'll find this to eliminate the borders form the smilietable or can anyone help me with this problem ? I would be very pleased. I only want to eliminate the borders from the smilies, nothing more. Thanks for your help.

Cheers

Thorsten
Last edit: 13 years 10 months ago by Ke_Garnett.

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

More
13 years 10 months ago - 13 years 10 months ago #2 by Cerberus
In the kunena template css file add " Border: none !important; " to the sectiontable2

Explaination:

CSS attempts to create a balance of power between Joomla and Kunena style sheets. By default, rules in Joomla's style sheet override those in a Kunena's style sheet.

However, for balance, an "!important" declaration (the delimiter token "!" and keyword "important" follow the declaration) takes precedence over a normal declaration. Both Joomla and Kunena style sheets may contain "!important" declarations, and Kunena "!important" rules override Joomla "!important" rules. This CSS feature improves accessibility of documents by giving users with special requirements (large fonts, color combinations, etc.) control over presentation.
Last edit: 13 years 10 months ago by Cerberus.

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

More
13 years 10 months ago #3 by Ke_Garnett
Hi,

many thank for your reply and your help. But my problem isn't a problem between the joomla css and the kunena css. May be I explained it a bit confused, may fault, sorry bout that. My problem is this, I defined in the kunena.forum.css the following items to seperate the kunena categories in the forum view.
Code:
#Kunena tr.fb_sectiontableentry2 td { background: #FFFFFF; color: #000000; padding:5px; border-bottom:1px solid #8F8F8F; border-left:0px solid #FFFFFF; border-right:1px solid #8F8F8F; font-size:11px; }

As you see the bottom and right border got a border with 1px. So the catgeories will be seperated in the forum view, but when I post a message, the smilies are seperated in the same way (in the messageview), cause they are using the same css-class (#Kunena tr.fb_sectiontableentry2 td). But I don't want to seperate the smilies via border in the messageview, so I tried to give them a unique css class, without success. May be it isn't possible to give the sectiontableentry2 2 different css-classes (one for the forumview and one for the messageview)? Anyways many thanks for your help and your hints.

Cheers

Thorsten

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

More
13 years 10 months ago #4 by Cerberus
hmm sounds to me like you have over complicated things i would have to see a screenshot or live view of your template to help more.

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

More
13 years 10 months ago #5 by Ke_Garnett
Hi,

of course. I took a few screenshots:

Img1

This one shows my category's with borders, these should stay.



Img2

And this one shows the messageview with borders around the smilies, which I'm trying to eliminate but without removing the borders of the category view.

If this won't work I could give you a member access on my website. But many many thanks for your kind help, I've tried a lot but haven't a success to solve this problem.


Cheers

Thorsten

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

More
13 years 10 months ago #6 by Cerberus
hmm ok, yes i would need access to find best way to fix this as it not an obvious fix as sadly on my site emoticons are located in teh boardcode box rather than on left hand side of screen.But here an idea for you why dont you make the border complete by adding the top and left borders as in my opinion your emoticon box look very good with the lines there.

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

More
13 years 10 months ago #7 by Ke_Garnett
Thanks for your help, I've created an account for you:

Username: Cerberus (I send your pass via PM)

My Site

You can login at the top @button "Anmelden" Do know if you are fit in German ;-)

After login go to Devils Lounge, where my board is located.

Your idea is already good, it would be a real alternative, but @mom I'm looking for a borderless smilie solution, but thanks for the hint. You mentioned that you moved your smilies to the boardcodebox, how did you made this? This would be an alternative too. Many many thanks, mate.

Cheers

Thorsten

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

More
13 years 10 months ago - 13 years 10 months ago #8 by Cerberus
ok this is how i have managed to do it using Firebug.

the only way i managed to get the smiles with no border and leave borders for the rest was to define border: none; on each line for the smiles in the HTML of the page. maybe not best way but only way i could find.

find the file that contain the smiles code it will look like this
Code:
<td style="cursor: pointer;" onclick="bbfontstyle(' :-) ','')"><img border="0" title=":-) " alt=":-) " src="http://www.manchester-utd.de/components/com_kunena/template/default_ex/images/german/emoticons/laecheln.gif" class="btnImage"></td>

and add the border define below to each smiles code
Code:
<td style="cursor: pointer; border: none;"


you mite want to do this on line 903 of your kunena css too

add text in RED

Kunena div.fb_message_editMarkUp_cover {
border-bottom:0 dotted #CCCCCC;
margin-left:5px;
padding-top:10px;
padding-top:5px;
text-align:right;
}

that will sort you message buttons appearing over you report to moderator link :)
Last edit: 13 years 10 months ago by Cerberus.

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

More
13 years 10 months ago #9 by Ke_Garnett
Good morning mate,

thanks for your reply and help. Unfortunately it dosen't fit, cause the this code is generated dynamic, so it would hard to find for me, my first try was the search in the message.php, which should define the classes of the messageview (in my opinion). But haven't found anything yet, but I'm still looking to solve the problem ;-)

I used phpBB3 for a long time and there are indeed html-files at the templatefolder to define new classes etc, so it would no problem to change classes etc., but I took it down, phpBB3 got a lot of problems when you want to integrate it in Joomla. A bridge for the MySQL will work, but a visual Integration is not really simple, I would say a 1o1 visual integration is not possible @mom. And of course if you are working with SEF's, like me, it would be a huge problem too. So I decided to use Kunena, and I love it ;-) But I'm not so fit @Kunena at the moment ;-) But I'm still learning.

Anyways, I will look for a solution, but if I don't find a way through, I think I will follow your good advice and take the borders in messageview too. You mentioned, that your smilies are in the boardcodebox, are they still there on first view or have you to click on more smilies to make them expandable, like the original behaviour is? Many many thanks for your help and if I could help you too, let me know. :)

Cheers

Thorsten

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

More
13 years 10 months ago - 13 years 10 months ago #10 by Cerberus
its more likely to be post.php file or smile.class.php file that are located in teh DEFAULT template directory.


what version of kunena do you have installed ???
Last edit: 13 years 10 months ago by Cerberus.

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

Time to create page: 0.396 seconds