UBB.Dev
Posted By: JoshPet CSS Changes for 6.5 - 07/04/2004 4:38 AM
Just a reminder.... if you want your Admins and Moderators to have special name colors, then the following classes need to be added into any stylesheets you're using.

Code
<br />.modname {<br />	    color: #00AA00;<br />}<br />.adminname {<br />	    color: #FF0000;<br />}<br />
Posted By: CallieAnn Re: CSS Changes for 6.5 - 07/04/2004 5:30 AM
I think I would like to be a special color, maybe pink or purple, what'da yah think?
Posted By: JoshPet Re: CSS Changes for 6.5 - 07/04/2004 5:36 AM
Well, because you're special.
Posted By: CallieAnn Re: CSS Changes for 6.5 - 07/04/2004 5:41 AM
Oh, ok, here, I guess I meant where I was an Administrator, you know that cute little mouse siteVVVV as indicated below. But, I'll take purple anywhere I can get it.

I changed to Garfield, so he is a cool cat like you Josh.

By the way, great updates on here and L'ville. I don't see any reason to complain, they are terrific.

Thanks again for the color. I got a little sunburn today, so purple fits in nicely with how I feel, LOL.
Posted By: donJulio Re: CSS Changes for 6.5 - 07/04/2004 8:44 AM
I haven't downloaded the beta for 6.5 yet, but I would like to ask, are those the only two new stylesheet classes for 6.5?
Posted By: JoshPet Re: CSS Changes for 6.5 - 07/04/2004 8:50 AM
Yes, I believe so.

And if your'e missing them, it's no big deal - admin and mod names just appear the same color as users.
Posted By: donJulio Re: CSS Changes for 6.5 - 07/04/2004 9:03 AM
Good. I always wanted them to be all one color and I could never figure out how to do it myself Now I don't have to.
Posted By: dparvin Re: CSS Changes for 6.5 - 10/18/2004 11:28 AM
Sorry for dragging up an old thread....

I have just created my first Moderator, but I can't change the colour of her name.
I can change the colour of .adminname, but not .modname

Any Ideas
Posted By: JoshPet Re: CSS Changes for 6.5 - 10/19/2004 2:16 AM
What do you mean can't change? What are you using to edit it?
Posted By: dparvin Re: CSS Changes for 6.5 - 10/19/2004 9:41 AM
I am trying to change the colour code using the stylesheet edit section within control panel.

It works changing the Admin colours but not my Moderator, she is the same colour as all other members, but does have the small 'm'

Thanks Josh
Posted By: dparvin Re: CSS Changes for 6.5 - 10/20/2004 9:54 AM
Sorted! You can tell I am new to Threads. I changed the colour code within the datebase.
Now it does not matter if the stylesheet is changed as it should apply on all.
Posted By: Tyresmoke_Stig Re: CSS Changes for 6.5 - 11/19/2004 7:15 PM
Is there any reason why mod and admin names change colour but the actual underline inherits/maintains colour from regular' user names?

Is it a bug (seems that mod underlines are different colours here too) or have i made an oops in the stylesheet?

Thanks in advance
Posted By: Medar Re: CSS Changes for 6.5 - 11/19/2004 10:53 PM
Can you post your ADMIN and MOD style parameters here?
Posted By: Tyresmoke_Stig Re: CSS Changes for 6.5 - 11/22/2004 2:37 PM
Thanks

[:"blue"] .modname {
color: #00AA00;
}
.adminname {
color: #FF0000;
}

[/]

does that help?

You'll normally be able to see an example of it here:

Tyresmoke.net who's online

as there's normally at least one mod on.

You'll see that mod names are green but with an orangey/brown underline.



Thanks again
Posted By: The Team Re: CSS Changes for 6.5 - 11/22/2004 10:20 PM
try this

Code
 .modname {<br />color: #00AA00;<br />}<br />.adminname {<br />color: #FF0000;<br />}<br />a:hover font.modname {<br />color: #00AA00;<br />text-decoration: underline;<br />}<br />a:hover font.adminname {<br />color: #FF0000;<br />text-decoration: underline;<br />}
Posted By: The Team Re: CSS Changes for 6.5 - 11/22/2004 10:22 PM
btw: anyone wondering why this occurs, it's because the classname is assigned to the <font> tag, while the underline is attached to the <a> tag, so the underline was the color of normal links
Posted By: Tyresmoke_Stig Re: CSS Changes for 6.5 - 11/23/2004 3:31 AM
Thank you very much Ian.

It was actually a:link font.x

that did the trick but your suggestion made it more than clear how it needed to be fixed.

Now that's done, I was just wondering why our recent posts seems to ignore these classes and displays mods and admin just like any other user??

here's the entries for mod/admin names now:

.modname {
color: #00AA00;
}
.adminname {
color: #FF0000;
}

a:link font.modname {
color: #00AA00;
text-decoration: underline;
}

a:hover font.modname {
color: #00AA00;
text-decoration: underline;
}

a:link font.adminname {
color: #FF0000;
text-decoration: underline;
}

a:hover font.adminname {
color: #FF0000;
text-decoration: underline;
}

Thanks once again for your help, its very much appreciated!
Posted By: Tyresmoke_Stig Re: CSS Changes for 6.5 - 11/23/2004 3:56 AM
A small clarification. This is all very new to me and I'm teaching it to myself just as quick as I can.

I've picked up the technique of viewing source on things I want to change and have come across:

<!-- Userlink is defined in dosearch.php -->

So I've had a look at dosearch.tmpl and its all gotten a bit complicated for me there.

Thanks again
Posted By: s4dreamer Re: CSS Changes for 6.5 - 11/25/2004 2:31 PM
HolĂ  Mr TSN, why didn't/don't you just ask me ?
© UBB.Developers