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.
Question How to add color to a echo command with a variable?
sozzled wrote: Try this instead:
Mind you, I really hate the use of the <font> tag. Much better to create a <div> or <span> and use CSS to change the colour.Code:<?php echo '<font color="#COLORCODE">' . $myvariable . '</font>'; ?>
Hey Sozzled, good morning. Thanks for your try too, but it didn't work too. I don't have knowledge about PHP stuffs I move into programming by trial, error, hit and guessing. Well, actually it is among a span tag, but as I don't know how these stuff works I'm not sure if the variable in question would call another style that is overriding this command we put the variable into. As I said, I was trying to change the register link color to be different from all others where the code is:
Anyway, thanks for your help.
Kunena 2.0.4 | 2013-01-18 [ Pharmacopoeia ], J!1.5.25, rhuk_milkyway, CB 1.8.1, AUP 1.5.13, UddeIM 2.5 and Akeeba Backup 3.3.9
EsferaDoBem.com.br | iLucato.com.br | BemDoado.com.br
Please Log in or Create an account to join the conversation.
At the end of the all styles I added:
and at the PHP code I added in the class the kregisterlink, so it looked like that:
No success too.
Kunena 2.0.4 | 2013-01-18 [ Pharmacopoeia ], J!1.5.25, rhuk_milkyway, CB 1.8.1, AUP 1.5.13, UddeIM 2.5 and Akeeba Backup 3.3.9
EsferaDoBem.com.br | iLucato.com.br | BemDoado.com.br
Please Log in or Create an account to join the conversation.
if I understand right you want to change color ONLY for Register link in profilebox.
If that is right you need to do some step, becouse all links are probably already defined in your joomla template and also in kunena.
You can do it in this way:
1. you need to add new class for only that link.
Open the file login.php in /loginbox/ dir. Find that code
as you can see I have added new class "k-reg" only for that link
2. you need to add color for that link in kunena css file
2.1 - open the file kunena.forum.css and add that rule at the end of file
now, if you just put file kunena.forum.css on server will not work becouse kunena use compressed file kunena.forum-min.css if not in debug mode.
3.1 - Go here refresh-sf.com/yui/ and compress kunena.forum.css file, you will have kunena.forum-min.css
3.2 - Now you can put file kunena.forum-min.css on your server and overwrite existing file
That's all.
P.S. If you want to make some change to kunena template, to avoid to do all this step for every change, in the configuration of Kunena set Enable Debug Mode option to "Yes", then you can make all changes you want to kunena.forum.css and kunena will load that file.
One time you have finished to personnalise your template, compress that file like I have described above and turn Enable Debug Mode option to "No".
Hope this helps
Best Regards
Please Log in or Create an account to join the conversation.
Ops, I'm sorry for my delay on this one.
Very interesting tip. Thanks a lot. I didn't know this debug feature.
Just one question. As I didn't know it, I have made some changes directly in the compressed file (kunena.forum-min.css). So I think my uncompressed is different now.
Is there a way to do the inverse way?
I mean, decompress to make my "kunena.forum-min.css" become a "kunena.forum.css", so when turning on the debug mode I can have the latest changes I have made. Now a days if I turn it on, I'm not getting my latest lay-out. I think it is due I have changed into "-min" instead. :0)
Kunena 2.0.4 | 2013-01-18 [ Pharmacopoeia ], J!1.5.25, rhuk_milkyway, CB 1.8.1, AUP 1.5.13, UddeIM 2.5 and Akeeba Backup 3.3.9
EsferaDoBem.com.br | iLucato.com.br | BemDoado.com.br
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
@quila wrote: Yes,
try this one www.lacocina.nl/vrijesoftware/cscssc/css-compressor.html
Great! Thanks a lot buddy. The last question to don't bother you a lot. :0)
Should I use type I or II over there for decompressing? I have no clue what does it stand for. ;0)
Thanks once again.
Kunena 2.0.4 | 2013-01-18 [ Pharmacopoeia ], J!1.5.25, rhuk_milkyway, CB 1.8.1, AUP 1.5.13, UddeIM 2.5 and Akeeba Backup 3.3.9
EsferaDoBem.com.br | iLucato.com.br | BemDoado.com.br
Please Log in or Create an account to join the conversation.