Notice the new subject? We've answered the first of your questions (how to eliminate the text "Admin", "Moderator", "User") so now let's deal with your second question.
As you have discovered, the answer isn't that easy. There are two possible solutions:
- Modify the file ../components/com_kunena/template/default_ex/message.php and switch to different CSS classes depending on whether the user was an admin, moderator or user; or
- Modify the file ../components/com_kunena/lib/kunena.link.class.php in a similar way so that all username links within Kunena use a similar colour-coded effect.
In addition to either approach that you decide upon, you would also have to modify the file
../components/com_kunena/template/default_ex/kunena.forum.css to define different a:
pseudo-classes that rendered the links in different colours.
OK, that's the general idea. For the specifics, you would have to write some code like this:
if ($uIsAdm) {
use the "Admin" colour
}
elseif ($uIsMod) {
use the "Moderator" colour
}
else {
set things as they are now
}
The lines in
blue aren't
real PHP programming code, of course, this is just to give you the flavour of the program logic that you would need to construct. I hope this helps to get you started.
Just remember, everything changes with K 1.6.
EDIT: The good news is that this feature is already implement in the test version that I've been familiarising myself with!