Previous Thread
Next Thread
Print Thread
Rate Thread
#275966 07/03/2004 9:38 PM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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 />

Sponsored Links
Daine #275967 07/03/2004 10:30 PM
Joined: Dec 2003
Posts: 44
Country Girl Geek
Offline
Country Girl Geek
Joined: Dec 2003
Posts: 44
I think I would like to be a special color, maybe pink or purple, what'da yah think?

Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Well, because you're special.

Daine #275969 07/03/2004 10:41 PM
Joined: Dec 2003
Posts: 44
Country Girl Geek
Offline
Country Girl Geek
Joined: Dec 2003
Posts: 44
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.

Joined: Jun 2002
Posts: 670
D
Code Monkey
Offline
Code Monkey
D
Joined: Jun 2002
Posts: 670
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?

Sponsored Links
luan #275971 07/04/2004 1:50 AM
Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Joined: Jun 2002
Posts: 670
D
Code Monkey
Offline
Code Monkey
D
Joined: Jun 2002
Posts: 670
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.

luan #275973 10/18/2004 4:28 AM
Joined: Aug 2004
Posts: 173
D
Member
Offline
Member
D
Joined: Aug 2004
Posts: 173
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

Joined: Nov 2001
Posts: 10,369
JoshPet Offline OP
I type Like navaho
OP Offline
I type Like navaho
Joined: Nov 2001
Posts: 10,369
What do you mean can't change? What are you using to edit it?

Joined: Aug 2004
Posts: 173
D
Member
Offline
Member
D
Joined: Aug 2004
Posts: 173
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

Sponsored Links
Joined: Aug 2004
Posts: 173
D
Member
Offline
Member
D
Joined: Aug 2004
Posts: 173
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.

Joined: Aug 2004
Posts: 4
T
Lurker
Offline
Lurker
T
Joined: Aug 2004
Posts: 4
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

Joined: Mar 2000
Posts: 528
M
Junior Member
Offline
Junior Member
M
Joined: Mar 2000
Posts: 528
Can you post your ADMIN and MOD style parameters here?

Joined: Aug 2004
Posts: 4
T
Lurker
Offline
Lurker
T
Joined: Aug 2004
Posts: 4
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

Joined: Aug 2000
Posts: 3,590
T
Moderator
Offline
Moderator
T
Joined: Aug 2000
Posts: 3,590
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 />}

Joined: Aug 2000
Posts: 3,590
T
Moderator
Offline
Moderator
T
Joined: Aug 2000
Posts: 3,590
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

Joined: Aug 2004
Posts: 4
T
Lurker
Offline
Lurker
T
Joined: Aug 2004
Posts: 4
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!

Joined: Aug 2004
Posts: 4
T
Lurker
Offline
Lurker
T
Joined: Aug 2004
Posts: 4
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

Joined: Mar 2003
Posts: 6
S
Lurker
Offline
Lurker
S
Joined: Mar 2003
Posts: 6
HolĂ  Mr TSN, why didn't/don't you just ask me ?


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,569
Posts293,914
Members13,847
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,829
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20220917)